| Package | Description |
|---|---|
| eu.lunisolar.magma.func.function.from | |
| eu.lunisolar.magma.func.predicate |
| Modifier and Type | Method and Description |
|---|---|
default LBiObjSrtPredicate<T1,T2> |
LBiObjSrtFunction.thenToBool(LPredicate<? super R> after)
Combines two functions together in a order.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LBiObjSrtPredicate.LObj0Srt2Obj1Pred<T1,T2>
Permutation of LBiObjSrtPredicate for method references.
|
static interface |
LBiObjSrtPredicate.LObj1Obj0Srt2Pred<T2,T1>
Permutation of LBiObjSrtPredicate for method references.
|
static interface |
LBiObjSrtPredicate.LObj1Srt2Obj0Pred<T2,T1>
Permutation of LBiObjSrtPredicate for method references.
|
static interface |
LBiObjSrtPredicate.LSrt2Obj0Obj1Pred<T1,T2>
Permutation of LBiObjSrtPredicate for method references.
|
static interface |
LBiObjSrtPredicate.LSrt2Obj1Obj0Pred<T2,T1>
Permutation of LBiObjSrtPredicate for method references.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LBiObjSrtPredicate.LBiObjSrtPredicateSingle<T1,T2> |
| Modifier and Type | Method and Description |
|---|---|
default LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.and(LBiObjSrtPredicate<? 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> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.biObjSrtPred(LBiObjSrtPredicate<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> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.biObjSrtPredThrowing(ExF<Throwable> exF) |
static <T1,T2> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.biObjSrtPredThrowing(String message,
ExMF<Throwable> exF) |
default LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.boolToBiObjSrtPred(LLogicalOperator after)
Combines two functions together in a order.
|
default <V2,V3> LBiObjSrtPredicate<V2,V3> |
LBiObjSrtPredicate.cast()
Cast that replace generics.
|
static <V2,V3,T1,T2> |
LBiObjSrtPredicate.cast(LBiObjSrtPredicate<T1,T2> function)
Cast that replace generics.
|
default <V1,V2> LBiObjSrtPredicate<V1,V2> |
LBiObjSrtPredicate.compose(LFunction<? super V1,? extends T1> before1,
LFunction<? super V2,? extends T2> before2,
LSrtUnaryOperator before3)
Allows to manipulate the domain of the function.
|
static <V1,V2,T1,T2> |
LBiObjSrtPredicate.composed(LFunction<? super V1,? extends T1> before1,
LFunction<? super V2,? extends T2> before2,
LSrtUnaryOperator before3,
LBiObjSrtPredicate<T1,T2> after) |
static <T1,T2> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.constant(boolean r)
Creates function that always returns the same value.
|
static <T1,T2> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.failSafe(LBiObjSrtPredicate<T1,T2> func,
LBiObjSrtPredicate<T1,T2> failSafe) |
default LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
static <T1,T2> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.isEqual(T1 v1,
T2 v2,
short v3)
Creates predicate that evaluates if an object is equal with the argument one.
|
default LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.negate()
Returns a predicate that represents the logical negation of this predicate.
|
default LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.or(LBiObjSrtPredicate<? 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> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.recursive(LFunction<LBiObjSrtPredicate<T1,T2>,LBiObjSrtPredicate<T1,T2>> selfLambda) |
static <T1,T2> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.safe()
Safe instance.
|
static <T1,T2> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.safe(LBiObjSrtPredicate<T1,T2> other)
Safe wrapping.
|
static <T1,T2> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.test1st(LPredicate<T1> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T1,T2> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.test2nd(LPredicate<T2> func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static <T1,T2> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.test3rd(LSrtPredicate func)
Captures single parameter function into this interface where only 3rd parameter will be used.
|
default LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.trying(ExWF<RuntimeException> exF) |
default LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.tryingThen(LPredicate<Throwable> handler) |
static <T1,T2> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.uncurry(LFunction<T1,LFunction<T2,LSrtPredicate>> func) |
default LBiObjSrtPredicate |
LBiObjSrtPredicate.untyped()
Cast that removes generics.
|
LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.LBiObjSrtPredicateSingle.value() |
default LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.xor(LBiObjSrtPredicate<? 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<LBiObjSrtPredicate<T1,T2>> |
LBiObjSrtPredicate.safeSupplier()
Safe instance supplier.
|
static <T1,T2> LSupplier<LBiObjSrtPredicate<T1,T2>> |
LBiObjSrtPredicate.safeSupplier(LSupplier<LBiObjSrtPredicate<T1,T2>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.and(LBiObjSrtPredicate<? 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> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.biObjSrtPred(LBiObjSrtPredicate<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 |
LBiObjSrtPredicate.call(T1 a1,
T2 a2,
short a3,
LBiObjSrtPredicate<T1,T2> lambda) |
static <V2,V3,T1,T2> |
LBiObjSrtPredicate.cast(LBiObjSrtPredicate<T1,T2> function)
Cast that replace generics.
|
static <V1,V2,T1,T2> |
LBiObjSrtPredicate.composed(LFunction<? super V1,? extends T1> before1,
LFunction<? super V2,? extends T2> before2,
LSrtUnaryOperator before3,
LBiObjSrtPredicate<T1,T2> after) |
static <V1,V2,V3,T1,T2> |
LBiObjSrtPredicate.composed(LFunction<? super V1,? extends T1> before1,
LFunction<? super V2,? extends T2> before2,
LToSrtFunction<? super V3> before3,
LBiObjSrtPredicate<T1,T2> after) |
static <T1,T2> boolean |
LBiObjSrtPredicate.doIf(T1 a1,
T2 a2,
short a3,
LBiObjSrtPredicate<T1,T2> predicate,
LAction action) |
static <T1,T2> boolean |
LBiObjSrtPredicate.doIf(T1 a1,
T2 a2,
short a3,
LBiObjSrtPredicate<T1,T2> predicate,
LBiObjSrtConsumer<? super T1,? super T2> consumer) |
static <T1,T2> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.failSafe(LBiObjSrtPredicate<T1,T2> func,
LBiObjSrtPredicate<T1,T2> failSafe) |
static <T1,T2> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.failSafe(LBiObjSrtPredicate<T1,T2> func,
LBiObjSrtPredicate<T1,T2> failSafe) |
default boolean |
LBiObjSrtPredicate.failSafeTest(T1 a1,
T2 a2,
short a3,
LBiObjSrtPredicate<T1,T2> failSafe) |
static <T1,T2> boolean |
LBiObjSrtPredicate.failSafeTest(T1 a1,
T2 a2,
short a3,
LBiObjSrtPredicate<T1,T2> func,
LBiObjSrtPredicate<T1,T2> failSafe) |
static <T1,T2> boolean |
LBiObjSrtPredicate.failSafeTest(T1 a1,
T2 a2,
short a3,
LBiObjSrtPredicate<T1,T2> func,
LBiObjSrtPredicate<T1,T2> failSafe) |
static <T1,T2> void |
LBiObjSrtPredicate.fromTill(int min_i,
int max_i,
T1 a1,
T2 a2,
short a3,
LBiObjSrtPredicate<T1,T2> func)
From-To.
|
static <T1,T2> void |
LBiObjSrtPredicate.fromTo(int min_i,
int max_i,
T1 a1,
T2 a2,
short a3,
LBiObjSrtPredicate<T1,T2> func)
From-To.
|
static <T1,T2> boolean |
LBiObjSrtPredicate.handlingTest(T1 a1,
T2 a2,
short a3,
LBiObjSrtPredicate<T1,T2> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <T2,T1> LObjSrtPredicate<T2> |
LBiObjSrtPredicate.lShrinked(LObjSrtFunction<T2,T1> left,
LBiObjSrtPredicate<T1,T2> func) |
static <T2,T1> LObjSrtPredicate<T2> |
LBiObjSrtPredicate.lShrinkedc(T1 a1,
LBiObjSrtPredicate<T1,T2> func) |
default LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.or(LBiObjSrtPredicate<? 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> |
LBiObjSrtPredicate.rShrinked(LToSrtBiFunction<T1,T2> right,
LBiObjSrtPredicate<T1,T2> func) |
static <T1,T2> LBiPredicate<T1,T2> |
LBiObjSrtPredicate.rShrinkedc(short a3,
LBiObjSrtPredicate<T1,T2> func) |
static <T1,T2> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.safe(LBiObjSrtPredicate<T1,T2> other)
Safe wrapping.
|
static <T1,T2> void |
LBiObjSrtPredicate.throwIf(T1 a1,
T2 a2,
short a3,
LBiObjSrtPredicate<T1,T2> pred,
ExMF<RuntimeException> factory,
String newMessage,
Object... messageParams) |
static <T1,T2> void |
LBiObjSrtPredicate.throwIfNot(T1 a1,
T2 a2,
short a3,
LBiObjSrtPredicate<T1,T2> pred,
ExMF<RuntimeException> factory,
String newMessage,
Object... messageParams) |
static <T1,T2> void |
LBiObjSrtPredicate.times(int max_i,
T1 a1,
T2 a2,
short a3,
LBiObjSrtPredicate<T1,T2> func)
From-To.
|
static <T1,T2> boolean |
LBiObjSrtPredicate.tryTest(T1 a1,
T2 a2,
short a3,
LBiObjSrtPredicate<T1,T2> func) |
static <T1,T2> boolean |
LBiObjSrtPredicate.tryTest(T1 a1,
T2 a2,
short a3,
LBiObjSrtPredicate<T1,T2> func,
ExWF<RuntimeException> exF) |
static <T1,T2> boolean |
LBiObjSrtPredicate.tryTest(T1 a1,
T2 a2,
short a3,
LBiObjSrtPredicate<T1,T2> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T1,T2> boolean |
LBiObjSrtPredicate.tryTestThen(T1 a1,
T2 a2,
short a3,
LBiObjSrtPredicate<T1,T2> func,
LPredicate<Throwable> handler) |
default LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.xor(LBiObjSrtPredicate<? 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> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.recursive(LFunction<LBiObjSrtPredicate<T1,T2>,LBiObjSrtPredicate<T1,T2>> selfLambda) |
static <T1,T2> LBiObjSrtPredicate<T1,T2> |
LBiObjSrtPredicate.recursive(LFunction<LBiObjSrtPredicate<T1,T2>,LBiObjSrtPredicate<T1,T2>> selfLambda) |
static <T1,T2> LSupplier<LBiObjSrtPredicate<T1,T2>> |
LBiObjSrtPredicate.safeSupplier(LSupplier<LBiObjSrtPredicate<T1,T2>> supplier)
Safe supplier.
|
Copyright © 2019. All rights reserved.