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