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