| Package | Description |
|---|---|
| eu.lunisolar.magma.func.function.from | |
| eu.lunisolar.magma.func.operator.binary | |
| eu.lunisolar.magma.func.predicate | |
| eu.lunisolar.magma.func.tuple |
| Modifier and Type | Method and Description |
|---|---|
default LBiSrtPredicate |
LBiSrtFunction.thenToBool(LPredicate<? super R> after)
Combines two functions together in a order.
|
| Modifier and Type | Method and Description |
|---|---|
default LBiSrtPredicate |
LSrtBinaryOperator.thenToBool(LSrtPredicate after)
Combines two functions together in a order.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LBiSrtPredicate.LSrt1Srt0Pred
Permutation of LBiSrtPredicate for method references.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LBiSrtPredicate.LBiSrtPredicateSingle |
| Modifier and Type | Method and Description |
|---|---|
default LBiSrtPredicate |
LBiSrtPredicate.and(LBiSrtPredicate other)
Returns a predicate that represents the logical AND of evaluation of this predicate and the argument one.
|
static LBiSrtPredicate |
LBiSrtPredicate.biSrtPred(LBiSrtPredicate lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static LBiSrtPredicate |
LBiSrtPredicate.biSrtPredThrowing(ExF<Throwable> exF) |
static LBiSrtPredicate |
LBiSrtPredicate.biSrtPredThrowing(String message,
ExMF<Throwable> exF) |
default LBiSrtPredicate |
LBiSrtPredicate.boolToBiSrtPred(LLogicalOperator after)
Combines two functions together in a order.
|
default LBiSrtPredicate |
LBiSrtPredicate.compose(LSrtUnaryOperator before1,
LSrtUnaryOperator before2)
Allows to manipulate the domain of the function.
|
static LBiSrtPredicate |
LBiSrtPredicate.composed(LSrtUnaryOperator before1,
LSrtUnaryOperator before2,
LBiSrtPredicate after) |
static LBiSrtPredicate |
LBiSrtPredicate.constant(boolean r)
Creates function that always returns the same value.
|
static LBiSrtPredicate |
LBiSrtPredicate.failSafe(LBiSrtPredicate func,
LBiSrtPredicate failSafe) |
default LBiSrtPredicate |
LBiSrtPredicate.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
static LBiSrtPredicate |
LBiSrtPredicate.isEqual(short v1,
short v2)
Creates predicate that evaluates if an object is equal with the argument one.
|
default LBiSrtPredicate |
LBiSrtPredicate.negate()
Returns a predicate that represents the logical negation of this predicate.
|
default LBiSrtPredicate |
LBiSrtPredicate.or(LBiSrtPredicate other)
Returns a predicate that represents the logical OR of evaluation of this predicate and the argument one.
|
static LBiSrtPredicate |
LBiSrtPredicate.recursive(LFunction<LBiSrtPredicate,LBiSrtPredicate> selfLambda) |
static LBiSrtPredicate |
LBiSrtPredicate.safe()
Safe instance.
|
static LBiSrtPredicate |
LBiSrtPredicate.safe(LBiSrtPredicate other)
Safe wrapping.
|
static LBiSrtPredicate |
LBiSrtPredicate.test1st(LSrtPredicate func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static LBiSrtPredicate |
LBiSrtPredicate.test2nd(LSrtPredicate func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
default LBiSrtPredicate |
LBiSrtPredicate.trying(ExWF<RuntimeException> exF) |
default LBiSrtPredicate |
LBiSrtPredicate.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LBiSrtPredicate |
LBiSrtPredicate.tryingThen(LPredicate<Throwable> handler) |
static LBiSrtPredicate |
LBiSrtPredicate.uncurry(LSrtFunction<LSrtPredicate> func) |
LBiSrtPredicate |
LBiSrtPredicate.LBiSrtPredicateSingle.value() |
default LBiSrtPredicate |
LBiSrtPredicate.xor(LBiSrtPredicate 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<LBiSrtPredicate> |
LBiSrtPredicate.safeSupplier()
Safe instance supplier.
|
static LSupplier<LBiSrtPredicate> |
LBiSrtPredicate.safeSupplier(LSupplier<LBiSrtPredicate> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LBiSrtPredicate |
LBiSrtPredicate.and(LBiSrtPredicate other)
Returns a predicate that represents the logical AND of evaluation of this predicate and the argument one.
|
static LBiSrtPredicate |
LBiSrtPredicate.biSrtPred(LBiSrtPredicate lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static boolean |
LBiSrtPredicate.call(short a1,
short a2,
LBiSrtPredicate lambda) |
static LBiSrtPredicate |
LBiSrtPredicate.composed(LSrtUnaryOperator before1,
LSrtUnaryOperator before2,
LBiSrtPredicate after) |
static <V1,V2> LBiPredicate<V1,V2> |
LBiSrtPredicate.composed(LToSrtFunction<? super V1> before1,
LToSrtFunction<? super V2> before2,
LBiSrtPredicate after) |
static boolean |
LBiSrtPredicate.doIf(short a1,
short a2,
LBiSrtPredicate predicate,
LAction action) |
static boolean |
LBiSrtPredicate.doIf(short a1,
short a2,
LBiSrtPredicate predicate,
LBiSrtConsumer consumer) |
static LBiSrtPredicate |
LBiSrtPredicate.failSafe(LBiSrtPredicate func,
LBiSrtPredicate failSafe) |
default boolean |
LBiSrtPredicate.failSafeTest(short a1,
short a2,
LBiSrtPredicate failSafe) |
static boolean |
LBiSrtPredicate.failSafeTest(short a1,
short a2,
LBiSrtPredicate func,
LBiSrtPredicate failSafe) |
static void |
LBiSrtPredicate.fromTill(int min_i,
int max_i,
short a1,
short a2,
LBiSrtPredicate func)
From-To.
|
static void |
LBiSrtPredicate.fromTo(int min_i,
int max_i,
short a1,
short a2,
LBiSrtPredicate func)
From-To.
|
static boolean |
LBiSrtPredicate.handlingTest(short a1,
short a2,
LBiSrtPredicate func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static LSrtPredicate |
LBiSrtPredicate.lShrinked(LSrtUnaryOperator left,
LBiSrtPredicate func) |
static LSrtPredicate |
LBiSrtPredicate.lShrinkedc(short a1,
LBiSrtPredicate func) |
default LBiSrtPredicate |
LBiSrtPredicate.or(LBiSrtPredicate other)
Returns a predicate that represents the logical OR of evaluation of this predicate and the argument one.
|
static LSrtPredicate |
LBiSrtPredicate.rShrinked(LSrtUnaryOperator right,
LBiSrtPredicate func) |
static LSrtPredicate |
LBiSrtPredicate.rShrinkedc(short a2,
LBiSrtPredicate func) |
static LBiSrtPredicate |
LBiSrtPredicate.safe(LBiSrtPredicate other)
Safe wrapping.
|
static void |
LBiSrtPredicate.throwIf(short a1,
short a2,
LBiSrtPredicate pred,
ExMF<RuntimeException> factory,
String newMessage,
Object... messageParams) |
static void |
LBiSrtPredicate.throwIfNot(short a1,
short a2,
LBiSrtPredicate pred,
ExMF<RuntimeException> factory,
String newMessage,
Object... messageParams) |
static void |
LBiSrtPredicate.times(int max_i,
short a1,
short a2,
LBiSrtPredicate func)
From-To.
|
static boolean |
LBiSrtPredicate.tryTest(short a1,
short a2,
LBiSrtPredicate func) |
static boolean |
LBiSrtPredicate.tryTest(short a1,
short a2,
LBiSrtPredicate func,
ExWF<RuntimeException> exF) |
static boolean |
LBiSrtPredicate.tryTest(short a1,
short a2,
LBiSrtPredicate func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static boolean |
LBiSrtPredicate.tryTestThen(short a1,
short a2,
LBiSrtPredicate func,
LPredicate<Throwable> handler) |
default LBiSrtPredicate |
LBiSrtPredicate.xor(LBiSrtPredicate 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 LBiSrtPredicate |
LBiSrtPredicate.recursive(LFunction<LBiSrtPredicate,LBiSrtPredicate> selfLambda) |
static LBiSrtPredicate |
LBiSrtPredicate.recursive(LFunction<LBiSrtPredicate,LBiSrtPredicate> selfLambda) |
static LSupplier<LBiSrtPredicate> |
LBiSrtPredicate.safeSupplier(LSupplier<LBiSrtPredicate> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
LSrtPair.MutSrtPair |
LSrtPair.MutSrtPair.setFirstIf(LBiSrtPredicate predicate,
short first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LSrtPair.MutCompSrtPair |
LSrtPair.MutCompSrtPair.setFirstIf(LBiSrtPredicate predicate,
short first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LSrtIntPair.MutSrtIntPair |
LSrtIntPair.MutSrtIntPair.setFirstIf(LBiSrtPredicate predicate,
short first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LSrtIntPair.MutCompSrtIntPair |
LSrtIntPair.MutCompSrtIntPair.setFirstIf(LBiSrtPredicate predicate,
short first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LSrtPair.MutSrtPair |
LSrtPair.MutSrtPair.setFirstIf(short first,
LBiSrtPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LSrtPair.MutCompSrtPair |
LSrtPair.MutCompSrtPair.setFirstIf(short first,
LBiSrtPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LSrtIntPair.MutSrtIntPair |
LSrtIntPair.MutSrtIntPair.setFirstIf(short first,
LBiSrtPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LSrtIntPair.MutCompSrtIntPair |
LSrtIntPair.MutCompSrtIntPair.setFirstIf(short first,
LBiSrtPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LSrtPair.MutSrtPair |
LSrtPair.MutSrtPair.setSecondIf(LBiSrtPredicate predicate,
short second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LSrtPair.MutCompSrtPair |
LSrtPair.MutCompSrtPair.setSecondIf(LBiSrtPredicate predicate,
short second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjSrtPair.MutObjSrtPair<T> |
LObjSrtPair.MutObjSrtPair.setSecondIf(LBiSrtPredicate predicate,
short second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjSrtPair.MutCompObjSrtPair<T> |
LObjSrtPair.MutCompObjSrtPair.setSecondIf(LBiSrtPredicate predicate,
short second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LSrtPair.MutSrtPair |
LSrtPair.MutSrtPair.setSecondIf(short second,
LBiSrtPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LSrtPair.MutCompSrtPair |
LSrtPair.MutCompSrtPair.setSecondIf(short second,
LBiSrtPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjSrtPair.MutObjSrtPair<T> |
LObjSrtPair.MutObjSrtPair.setSecondIf(short second,
LBiSrtPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjSrtPair.MutCompObjSrtPair<T> |
LObjSrtPair.MutCompObjSrtPair.setSecondIf(short second,
LBiSrtPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjIntSrtTriple.MutObjIntSrtTriple<T> |
LObjIntSrtTriple.MutObjIntSrtTriple.setThirdIf(LBiSrtPredicate predicate,
short third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjIntSrtTriple.MutCompObjIntSrtTriple<T> |
LObjIntSrtTriple.MutCompObjIntSrtTriple.setThirdIf(LBiSrtPredicate predicate,
short third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LBiObjSrtTriple.MutBiObjSrtTriple<T1,T2> |
LBiObjSrtTriple.MutBiObjSrtTriple.setThirdIf(LBiSrtPredicate predicate,
short third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LBiObjSrtTriple.MutCompBiObjSrtTriple<T1,T2> |
LBiObjSrtTriple.MutCompBiObjSrtTriple.setThirdIf(LBiSrtPredicate predicate,
short third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjIntSrtTriple.MutObjIntSrtTriple<T> |
LObjIntSrtTriple.MutObjIntSrtTriple.setThirdIf(short third,
LBiSrtPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjIntSrtTriple.MutCompObjIntSrtTriple<T> |
LObjIntSrtTriple.MutCompObjIntSrtTriple.setThirdIf(short third,
LBiSrtPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LBiObjSrtTriple.MutBiObjSrtTriple<T1,T2> |
LBiObjSrtTriple.MutBiObjSrtTriple.setThirdIf(short third,
LBiSrtPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LBiObjSrtTriple.MutCompBiObjSrtTriple<T1,T2> |
LBiObjSrtTriple.MutCompBiObjSrtTriple.setThirdIf(short third,
LBiSrtPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LSrtSingle.MutSrtSingle |
LSrtSingle.MutSrtSingle.setValueIf(LBiSrtPredicate predicate,
short value)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LSrtSingle.MutCompSrtSingle |
LSrtSingle.MutCompSrtSingle.setValueIf(LBiSrtPredicate predicate,
short value)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LSrtSingle.MutSrtSingle |
LSrtSingle.MutSrtSingle.setValueIf(short value,
LBiSrtPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LSrtSingle.MutCompSrtSingle |
LSrtSingle.MutCompSrtSingle.setValueIf(short value,
LBiSrtPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
Copyright © 2019. All rights reserved.