| Package | Description |
|---|---|
| eu.lunisolar.magma.func.function.from | |
| eu.lunisolar.magma.func.predicate |
| Modifier and Type | Method and Description |
|---|---|
default LBiObjBoolPredicate<T1,T2> |
LBiObjBoolFunction.thenToBool(LPredicate<? super R> after)
Combines two functions together in a order.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LBiObjBoolPredicate.LBool2Obj0Obj1Pred<T1,T2>
Permutation of LBiObjBoolPredicate for method references.
|
static interface |
LBiObjBoolPredicate.LBool2Obj1Obj0Pred<T2,T1>
Permutation of LBiObjBoolPredicate for method references.
|
static interface |
LBiObjBoolPredicate.LObj0Bool2Obj1Pred<T1,T2>
Permutation of LBiObjBoolPredicate for method references.
|
static interface |
LBiObjBoolPredicate.LObj1Bool2Obj0Pred<T2,T1>
Permutation of LBiObjBoolPredicate for method references.
|
static interface |
LBiObjBoolPredicate.LObj1Obj0Bool2Pred<T2,T1>
Permutation of LBiObjBoolPredicate for method references.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LBiObjBoolPredicate.LBiObjBoolPredicateSingle<T1,T2> |
| Modifier and Type | Method and Description |
|---|---|
default LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.and(LBiObjBoolPredicate<? super T1,? super T2> other)
Returns a predicate that represents the logical AND of evaluation of this predicate and the argument one.
|
static <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.biObjBoolPred(LBiObjBoolPredicate<T1,T2> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.biObjBoolPredThrowing(ExF<Throwable> exF) |
static <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.biObjBoolPredThrowing(String message,
ExMF<Throwable> exF) |
default LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.boolToBiObjBoolPred(LLogicalOperator after)
Combines two functions together in a order.
|
default <V2,V3> LBiObjBoolPredicate<V2,V3> |
LBiObjBoolPredicate.cast()
Cast that replace generics.
|
static <V2,V3,T1,T2> |
LBiObjBoolPredicate.cast(LBiObjBoolPredicate<T1,T2> function)
Cast that replace generics.
|
default <V1,V2> LBiObjBoolPredicate<V1,V2> |
LBiObjBoolPredicate.compose(LFunction<? super V1,? extends T1> before1,
LFunction<? super V2,? extends T2> before2,
LLogicalOperator before3)
Allows to manipulate the domain of the function.
|
static <V1,V2,T1,T2> |
LBiObjBoolPredicate.composed(LFunction<? super V1,? extends T1> before1,
LFunction<? super V2,? extends T2> before2,
LLogicalOperator before3,
LBiObjBoolPredicate<T1,T2> after) |
static <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.constant(boolean r)
Creates function that always returns the same value.
|
static <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.failSafe(LBiObjBoolPredicate<T1,T2> func,
LBiObjBoolPredicate<T1,T2> failSafe) |
default LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
static <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.isEqual(T1 v1,
T2 v2,
boolean v3)
Creates predicate that evaluates if an object is equal with the argument one.
|
default LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.negate()
Returns a predicate that represents the logical negation of this predicate.
|
default LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.or(LBiObjBoolPredicate<? super T1,? super T2> other)
Returns a predicate that represents the logical OR of evaluation of this predicate and the argument one.
|
static <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.recursive(LFunction<LBiObjBoolPredicate<T1,T2>,LBiObjBoolPredicate<T1,T2>> selfLambda) |
static <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.safe()
Safe instance.
|
static <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.safe(LBiObjBoolPredicate<T1,T2> other)
Safe wrapping.
|
static <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.test1st(LPredicate<T1> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.test2nd(LPredicate<T2> func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.test3rd(LLogicalOperator func)
Captures single parameter function into this interface where only 3rd parameter will be used.
|
default LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.trying(ExWF<RuntimeException> exF) |
default LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.tryingThen(LPredicate<Throwable> handler) |
static <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.uncurry(LFunction<T1,LFunction<T2,LLogicalOperator>> func) |
default LBiObjBoolPredicate |
LBiObjBoolPredicate.untyped()
Cast that removes generics.
|
LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.LBiObjBoolPredicateSingle.value() |
default LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.xor(LBiObjBoolPredicate<? super T1,? super T2> 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 <T1,T2> LSupplier<LBiObjBoolPredicate<T1,T2>> |
LBiObjBoolPredicate.safeSupplier()
Safe instance supplier.
|
static <T1,T2> LSupplier<LBiObjBoolPredicate<T1,T2>> |
LBiObjBoolPredicate.safeSupplier(LSupplier<LBiObjBoolPredicate<T1,T2>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.and(LBiObjBoolPredicate<? super T1,? super T2> other)
Returns a predicate that represents the logical AND of evaluation of this predicate and the argument one.
|
static <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.biObjBoolPred(LBiObjBoolPredicate<T1,T2> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T1,T2> boolean |
LBiObjBoolPredicate.call(T1 a1,
T2 a2,
boolean a3,
LBiObjBoolPredicate<T1,T2> lambda) |
static <V2,V3,T1,T2> |
LBiObjBoolPredicate.cast(LBiObjBoolPredicate<T1,T2> function)
Cast that replace generics.
|
static <V1,V2,T1,T2> |
LBiObjBoolPredicate.composed(LFunction<? super V1,? extends T1> before1,
LFunction<? super V2,? extends T2> before2,
LLogicalOperator before3,
LBiObjBoolPredicate<T1,T2> after) |
static <V1,V2,V3,T1,T2> |
LBiObjBoolPredicate.composed(LFunction<? super V1,? extends T1> before1,
LFunction<? super V2,? extends T2> before2,
LPredicate<? super V3> before3,
LBiObjBoolPredicate<T1,T2> after) |
static <T1,T2> boolean |
LBiObjBoolPredicate.doIf(T1 a1,
T2 a2,
boolean a3,
LBiObjBoolPredicate<T1,T2> predicate,
LAction action) |
static <T1,T2> boolean |
LBiObjBoolPredicate.doIf(T1 a1,
T2 a2,
boolean a3,
LBiObjBoolPredicate<T1,T2> predicate,
LBiObjBoolConsumer<? super T1,? super T2> consumer) |
static <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.failSafe(LBiObjBoolPredicate<T1,T2> func,
LBiObjBoolPredicate<T1,T2> failSafe) |
static <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.failSafe(LBiObjBoolPredicate<T1,T2> func,
LBiObjBoolPredicate<T1,T2> failSafe) |
default boolean |
LBiObjBoolPredicate.failSafeTest(T1 a1,
T2 a2,
boolean a3,
LBiObjBoolPredicate<T1,T2> failSafe) |
static <T1,T2> boolean |
LBiObjBoolPredicate.failSafeTest(T1 a1,
T2 a2,
boolean a3,
LBiObjBoolPredicate<T1,T2> func,
LBiObjBoolPredicate<T1,T2> failSafe) |
static <T1,T2> boolean |
LBiObjBoolPredicate.failSafeTest(T1 a1,
T2 a2,
boolean a3,
LBiObjBoolPredicate<T1,T2> func,
LBiObjBoolPredicate<T1,T2> failSafe) |
static <T1,T2> void |
LBiObjBoolPredicate.fromTill(int min_i,
int max_i,
T1 a1,
T2 a2,
boolean a3,
LBiObjBoolPredicate<T1,T2> func)
From-To.
|
static <T1,T2> void |
LBiObjBoolPredicate.fromTo(int min_i,
int max_i,
T1 a1,
T2 a2,
boolean a3,
LBiObjBoolPredicate<T1,T2> func)
From-To.
|
static <T1,T2> boolean |
LBiObjBoolPredicate.handlingTest(T1 a1,
T2 a2,
boolean a3,
LBiObjBoolPredicate<T1,T2> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <T2,T1> LObjBoolPredicate<T2> |
LBiObjBoolPredicate.lShrinked(LObjBoolFunction<T2,T1> left,
LBiObjBoolPredicate<T1,T2> func) |
static <T2,T1> LObjBoolPredicate<T2> |
LBiObjBoolPredicate.lShrinkedc(T1 a1,
LBiObjBoolPredicate<T1,T2> func) |
default LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.or(LBiObjBoolPredicate<? super T1,? super T2> other)
Returns a predicate that represents the logical OR of evaluation of this predicate and the argument one.
|
static <T1,T2> LBiPredicate<T1,T2> |
LBiObjBoolPredicate.rShrinked(LBiPredicate<T1,T2> right,
LBiObjBoolPredicate<T1,T2> func) |
static <T1,T2> LBiPredicate<T1,T2> |
LBiObjBoolPredicate.rShrinkedc(boolean a3,
LBiObjBoolPredicate<T1,T2> func) |
static <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.safe(LBiObjBoolPredicate<T1,T2> other)
Safe wrapping.
|
static <T1,T2> void |
LBiObjBoolPredicate.throwIf(T1 a1,
T2 a2,
boolean a3,
LBiObjBoolPredicate<T1,T2> pred,
ExMF<RuntimeException> factory,
String newMessage,
Object... messageParams) |
static <T1,T2> void |
LBiObjBoolPredicate.throwIfNot(T1 a1,
T2 a2,
boolean a3,
LBiObjBoolPredicate<T1,T2> pred,
ExMF<RuntimeException> factory,
String newMessage,
Object... messageParams) |
static <T1,T2> void |
LBiObjBoolPredicate.times(int max_i,
T1 a1,
T2 a2,
boolean a3,
LBiObjBoolPredicate<T1,T2> func)
From-To.
|
static <T1,T2> boolean |
LBiObjBoolPredicate.tryTest(T1 a1,
T2 a2,
boolean a3,
LBiObjBoolPredicate<T1,T2> func) |
static <T1,T2> boolean |
LBiObjBoolPredicate.tryTest(T1 a1,
T2 a2,
boolean a3,
LBiObjBoolPredicate<T1,T2> func,
ExWF<RuntimeException> exF) |
static <T1,T2> boolean |
LBiObjBoolPredicate.tryTest(T1 a1,
T2 a2,
boolean a3,
LBiObjBoolPredicate<T1,T2> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T1,T2> boolean |
LBiObjBoolPredicate.tryTestThen(T1 a1,
T2 a2,
boolean a3,
LBiObjBoolPredicate<T1,T2> func,
LPredicate<Throwable> handler) |
default LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.xor(LBiObjBoolPredicate<? super T1,? super T2> 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 <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.recursive(LFunction<LBiObjBoolPredicate<T1,T2>,LBiObjBoolPredicate<T1,T2>> selfLambda) |
static <T1,T2> LBiObjBoolPredicate<T1,T2> |
LBiObjBoolPredicate.recursive(LFunction<LBiObjBoolPredicate<T1,T2>,LBiObjBoolPredicate<T1,T2>> selfLambda) |
static <T1,T2> LSupplier<LBiObjBoolPredicate<T1,T2>> |
LBiObjBoolPredicate.safeSupplier(LSupplier<LBiObjBoolPredicate<T1,T2>> supplier)
Safe supplier.
|
Copyright © 2019. All rights reserved.