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