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