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