| Package | Description |
|---|---|
| eu.lunisolar.magma.func.function.from | |
| eu.lunisolar.magma.func.predicate |
| Modifier and Type | Method and Description |
|---|---|
default LObjLongPredicate<T> |
LObjLongFunction.thenToBool(LPredicate<? super R> after)
Combines two functions together in a order.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LObjLongPredicate.LLongObjPred<T>
Permutation of LObjLongPredicate for method references.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LObjLongPredicate.LObjLongPredicateSingle<T> |
| Modifier and Type | Method and Description |
|---|---|
default LObjLongPredicate<T> |
LObjLongPredicate.and(LObjLongPredicate<? super T> other)
Returns a predicate that represents the logical AND of evaluation of this predicate and the argument one.
|
default LObjLongPredicate<T> |
LObjLongPredicate.boolToObjLongPred(LLogicalOperator after)
Combines two functions together in a order.
|
default <V2> LObjLongPredicate<V2> |
LObjLongPredicate.cast()
Cast that replace generics.
|
static <V2,T> LObjLongPredicate<V2> |
LObjLongPredicate.cast(LObjLongPredicate<T> function)
Cast that replace generics.
|
default <V1> LObjLongPredicate<V1> |
LObjLongPredicate.compose(LFunction<? super V1,? extends T> before1,
LLongUnaryOperator before2)
Allows to manipulate the domain of the function.
|
static <V1,T> LObjLongPredicate<V1> |
LObjLongPredicate.composed(LFunction<? super V1,? extends T> before1,
LLongUnaryOperator before2,
LObjLongPredicate<T> after) |
static <T> LObjLongPredicate<T> |
LObjLongPredicate.constant(boolean r)
Creates function that always returns the same value.
|
static <T> LObjLongPredicate<T> |
LObjLongPredicate.failSafe(LObjLongPredicate<T> func,
LObjLongPredicate<T> failSafe) |
default LObjLongPredicate<T> |
LObjLongPredicate.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
static <T> LObjLongPredicate<T> |
LObjLongPredicate.isEqual(T v1,
long v2)
Creates predicate that evaluates if an object is equal with the argument one.
|
default LObjLongPredicate<T2> |
LBiObjLongPredicate.lShrink(LObjLongFunction<T2,T1> left) |
default LObjLongPredicate<T2> |
LBiObjLongPredicate.lShrinkc(T1 a1) |
static <T2,T1> LObjLongPredicate<T2> |
LBiObjLongPredicate.lShrinked(LObjLongFunction<T2,T1> left,
LBiObjLongPredicate<T1,T2> func) |
static <T2,T1> LObjLongPredicate<T2> |
LBiObjLongPredicate.lShrinkedc(T1 a1,
LBiObjLongPredicate<T1,T2> func) |
default LObjLongPredicate<T> |
LObjLongPredicate.negate()
Returns a predicate that represents the logical negation of this predicate.
|
static <T> LObjLongPredicate<T> |
LObjLongPredicate.objLongPred(LObjLongPredicate<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LObjLongPredicate<T> |
LObjLongPredicate.objLongPredThrowing(ExF<Throwable> exF) |
static <T> LObjLongPredicate<T> |
LObjLongPredicate.objLongPredThrowing(String message,
ExMF<Throwable> exF) |
default LObjLongPredicate<T> |
LObjLongPredicate.or(LObjLongPredicate<? super T> other)
Returns a predicate that represents the logical OR of evaluation of this predicate and the argument one.
|
static <T> LObjLongPredicate<T> |
LObjLongPredicate.recursive(LFunction<LObjLongPredicate<T>,LObjLongPredicate<T>> selfLambda) |
static <T> LObjLongPredicate<T> |
LObjLongPredicate.safe()
Safe instance.
|
static <T> LObjLongPredicate<T> |
LObjLongPredicate.safe(LObjLongPredicate<T> other)
Safe wrapping.
|
static <T> LObjLongPredicate<T> |
LObjLongPredicate.test1st(LPredicate<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T> LObjLongPredicate<T> |
LObjLongPredicate.test2nd(LLongPredicate func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
default LObjLongPredicate<T> |
LObjLongPredicate.trying(ExWF<RuntimeException> exF) |
default LObjLongPredicate<T> |
LObjLongPredicate.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LObjLongPredicate<T> |
LObjLongPredicate.tryingThen(LPredicate<Throwable> handler) |
static <T> LObjLongPredicate<T> |
LObjLongPredicate.uncurry(LFunction<T,LLongPredicate> func) |
default LObjLongPredicate |
LObjLongPredicate.untyped()
Cast that removes generics.
|
LObjLongPredicate<T> |
LObjLongPredicate.LObjLongPredicateSingle.value() |
default LObjLongPredicate<T> |
LObjLongPredicate.xor(LObjLongPredicate<? super T> other)
Returns a predicate that represents the logical XOR of evaluation of this predicate and the argument one.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> LSupplier<LObjLongPredicate<T>> |
LObjLongPredicate.safeSupplier()
Safe instance supplier.
|
static <T> LSupplier<LObjLongPredicate<T>> |
LObjLongPredicate.safeSupplier(LSupplier<LObjLongPredicate<T>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LObjLongPredicate<T> |
LObjLongPredicate.and(LObjLongPredicate<? super T> other)
Returns a predicate that represents the logical AND of evaluation of this predicate and the argument one.
|
static <T> boolean |
LObjLongPredicate.call(T a1,
long a2,
LObjLongPredicate<T> lambda) |
static <V2,T> LObjLongPredicate<V2> |
LObjLongPredicate.cast(LObjLongPredicate<T> function)
Cast that replace generics.
|
static <V1,T> LObjLongPredicate<V1> |
LObjLongPredicate.composed(LFunction<? super V1,? extends T> before1,
LLongUnaryOperator before2,
LObjLongPredicate<T> after) |
static <V1,V2,T> LBiPredicate<V1,V2> |
LObjLongPredicate.composed(LFunction<? super V1,? extends T> before1,
LToLongFunction<? super V2> before2,
LObjLongPredicate<T> after) |
static <T> boolean |
LObjLongPredicate.doIf(T a1,
long a2,
LObjLongPredicate<T> predicate,
LAction action) |
static <T> boolean |
LObjLongPredicate.doIf(T a1,
long a2,
LObjLongPredicate<T> predicate,
LObjLongConsumer<? super T> consumer) |
static <T> LObjLongPredicate<T> |
LObjLongPredicate.failSafe(LObjLongPredicate<T> func,
LObjLongPredicate<T> failSafe) |
static <T> LObjLongPredicate<T> |
LObjLongPredicate.failSafe(LObjLongPredicate<T> func,
LObjLongPredicate<T> failSafe) |
default boolean |
LObjLongPredicate.failSafeTest(T a1,
long a2,
LObjLongPredicate<T> failSafe) |
static <T> boolean |
LObjLongPredicate.failSafeTest(T a1,
long a2,
LObjLongPredicate<T> func,
LObjLongPredicate<T> failSafe) |
static <T> boolean |
LObjLongPredicate.failSafeTest(T a1,
long a2,
LObjLongPredicate<T> func,
LObjLongPredicate<T> failSafe) |
static <T> void |
LObjLongPredicate.fromTill(long min_a2,
long max_a2,
T a1,
LObjLongPredicate<T> func)
From-To.
|
static <T> void |
LObjLongPredicate.fromTo(long min_a2,
long max_a2,
T a1,
LObjLongPredicate<T> func)
From-To.
|
static <T> boolean |
LObjLongPredicate.handlingTest(T a1,
long a2,
LObjLongPredicate<T> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <T> LLongPredicate |
LObjLongPredicate.lShrinked(LLongFunction<T> left,
LObjLongPredicate<T> func) |
static <T> LLongPredicate |
LObjLongPredicate.lShrinkedc(T a1,
LObjLongPredicate<T> func) |
static <T> LObjLongPredicate<T> |
LObjLongPredicate.objLongPred(LObjLongPredicate<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
default LObjLongPredicate<T> |
LObjLongPredicate.or(LObjLongPredicate<? super T> other)
Returns a predicate that represents the logical OR of evaluation of this predicate and the argument one.
|
static <T> LPredicate<T> |
LObjLongPredicate.rShrinked(LToLongFunction<T> right,
LObjLongPredicate<T> func) |
static <T> LPredicate<T> |
LObjLongPredicate.rShrinkedc(long a2,
LObjLongPredicate<T> func) |
static <T> LObjLongPredicate<T> |
LObjLongPredicate.safe(LObjLongPredicate<T> other)
Safe wrapping.
|
static <T> void |
LObjLongPredicate.throwIf(T a1,
long a2,
LObjLongPredicate<T> pred,
ExMF<RuntimeException> factory,
String newMessage,
Object... messageParams) |
static <T> void |
LObjLongPredicate.throwIfNot(T a1,
long a2,
LObjLongPredicate<T> pred,
ExMF<RuntimeException> factory,
String newMessage,
Object... messageParams) |
static <T> void |
LObjLongPredicate.times(long max_a2,
T a1,
LObjLongPredicate<T> func)
From-To.
|
static <T> boolean |
LObjLongPredicate.tryTest(T a1,
long a2,
LObjLongPredicate<T> func) |
static <T> boolean |
LObjLongPredicate.tryTest(T a1,
long a2,
LObjLongPredicate<T> func,
ExWF<RuntimeException> exF) |
static <T> boolean |
LObjLongPredicate.tryTest(T a1,
long a2,
LObjLongPredicate<T> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T> boolean |
LObjLongPredicate.tryTestThen(T a1,
long a2,
LObjLongPredicate<T> func,
LPredicate<Throwable> handler) |
default LObjLongPredicate<T> |
LObjLongPredicate.xor(LObjLongPredicate<? super T> other)
Returns a predicate that represents the logical XOR of evaluation of this predicate and the argument one.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> LObjLongPredicate<T> |
LObjLongPredicate.recursive(LFunction<LObjLongPredicate<T>,LObjLongPredicate<T>> selfLambda) |
static <T> LObjLongPredicate<T> |
LObjLongPredicate.recursive(LFunction<LObjLongPredicate<T>,LObjLongPredicate<T>> selfLambda) |
static <T> LSupplier<LObjLongPredicate<T>> |
LObjLongPredicate.safeSupplier(LSupplier<LObjLongPredicate<T>> supplier)
Safe supplier.
|
Copyright © 2019. All rights reserved.