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