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