| 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 LBiDblPredicate |
LBiDblFunction.thenToBool(LPredicate<? super R> after)
Combines two functions together in a order.
|
| Modifier and Type | Method and Description |
|---|---|
default LBiDblPredicate |
LDblBinaryOperator.thenToBool(LDblPredicate after)
Combines two functions together in a order.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LBiDblPredicate.LDbl1Dbl0Pred
Permutation of LBiDblPredicate for method references.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LBiDblPredicate.LBiDblPredicateSingle |
| Modifier and Type | Method and Description |
|---|---|
default LBiDblPredicate |
LBiDblPredicate.and(LBiDblPredicate other)
Returns a predicate that represents the logical AND of evaluation of this predicate and the argument one.
|
static LBiDblPredicate |
LBiDblPredicate.biDblPred(LBiDblPredicate lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static LBiDblPredicate |
LBiDblPredicate.biDblPredThrowing(ExF<Throwable> exF) |
static LBiDblPredicate |
LBiDblPredicate.biDblPredThrowing(String message,
ExMF<Throwable> exF) |
default LBiDblPredicate |
LBiDblPredicate.boolToBiDblPred(LLogicalOperator after)
Combines two functions together in a order.
|
default LBiDblPredicate |
LBiDblPredicate.compose(LDblUnaryOperator before1,
LDblUnaryOperator before2)
Allows to manipulate the domain of the function.
|
static LBiDblPredicate |
LBiDblPredicate.composed(LDblUnaryOperator before1,
LDblUnaryOperator before2,
LBiDblPredicate after) |
static LBiDblPredicate |
LBiDblPredicate.constant(boolean r)
Creates function that always returns the same value.
|
static LBiDblPredicate |
LBiDblPredicate.failSafe(LBiDblPredicate func,
LBiDblPredicate failSafe) |
default LBiDblPredicate |
LBiDblPredicate.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
static LBiDblPredicate |
LBiDblPredicate.isEqual(double v1,
double v2)
Creates predicate that evaluates if an object is equal with the argument one.
|
default LBiDblPredicate |
LBiDblPredicate.negate()
Returns a predicate that represents the logical negation of this predicate.
|
default LBiDblPredicate |
LBiDblPredicate.or(LBiDblPredicate other)
Returns a predicate that represents the logical OR of evaluation of this predicate and the argument one.
|
static LBiDblPredicate |
LBiDblPredicate.recursive(LFunction<LBiDblPredicate,LBiDblPredicate> selfLambda) |
static LBiDblPredicate |
LBiDblPredicate.safe()
Safe instance.
|
static LBiDblPredicate |
LBiDblPredicate.safe(LBiDblPredicate other)
Safe wrapping.
|
static LBiDblPredicate |
LBiDblPredicate.test1st(LDblPredicate func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static LBiDblPredicate |
LBiDblPredicate.test2nd(LDblPredicate func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
default LBiDblPredicate |
LBiDblPredicate.trying(ExWF<RuntimeException> exF) |
default LBiDblPredicate |
LBiDblPredicate.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LBiDblPredicate |
LBiDblPredicate.tryingThen(LPredicate<Throwable> handler) |
static LBiDblPredicate |
LBiDblPredicate.uncurry(LDblFunction<LDblPredicate> func) |
LBiDblPredicate |
LBiDblPredicate.LBiDblPredicateSingle.value() |
default LBiDblPredicate |
LBiDblPredicate.xor(LBiDblPredicate 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<LBiDblPredicate> |
LBiDblPredicate.safeSupplier()
Safe instance supplier.
|
static LSupplier<LBiDblPredicate> |
LBiDblPredicate.safeSupplier(LSupplier<LBiDblPredicate> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LBiDblPredicate |
LBiDblPredicate.and(LBiDblPredicate other)
Returns a predicate that represents the logical AND of evaluation of this predicate and the argument one.
|
static LBiDblPredicate |
LBiDblPredicate.biDblPred(LBiDblPredicate lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static boolean |
LBiDblPredicate.call(double a1,
double a2,
LBiDblPredicate lambda) |
static LBiDblPredicate |
LBiDblPredicate.composed(LDblUnaryOperator before1,
LDblUnaryOperator before2,
LBiDblPredicate after) |
static <V1,V2> LBiPredicate<V1,V2> |
LBiDblPredicate.composed(LToDblFunction<? super V1> before1,
LToDblFunction<? super V2> before2,
LBiDblPredicate after) |
static boolean |
LBiDblPredicate.doIf(double a1,
double a2,
LBiDblPredicate predicate,
LAction action) |
static boolean |
LBiDblPredicate.doIf(double a1,
double a2,
LBiDblPredicate predicate,
LBiDblConsumer consumer) |
static LBiDblPredicate |
LBiDblPredicate.failSafe(LBiDblPredicate func,
LBiDblPredicate failSafe) |
default boolean |
LBiDblPredicate.failSafeTest(double a1,
double a2,
LBiDblPredicate failSafe) |
static boolean |
LBiDblPredicate.failSafeTest(double a1,
double a2,
LBiDblPredicate func,
LBiDblPredicate failSafe) |
static void |
LBiDblPredicate.fromTill(int min_i,
int max_i,
double a1,
double a2,
LBiDblPredicate func)
From-To.
|
static void |
LBiDblPredicate.fromTo(int min_i,
int max_i,
double a1,
double a2,
LBiDblPredicate func)
From-To.
|
static boolean |
LBiDblPredicate.handlingTest(double a1,
double a2,
LBiDblPredicate func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static LDblPredicate |
LBiDblPredicate.lShrinked(LDblUnaryOperator left,
LBiDblPredicate func) |
static LDblPredicate |
LBiDblPredicate.lShrinkedc(double a1,
LBiDblPredicate func) |
default LBiDblPredicate |
LBiDblPredicate.or(LBiDblPredicate other)
Returns a predicate that represents the logical OR of evaluation of this predicate and the argument one.
|
static LDblPredicate |
LBiDblPredicate.rShrinked(LDblUnaryOperator right,
LBiDblPredicate func) |
static LDblPredicate |
LBiDblPredicate.rShrinkedc(double a2,
LBiDblPredicate func) |
static LBiDblPredicate |
LBiDblPredicate.safe(LBiDblPredicate other)
Safe wrapping.
|
static void |
LBiDblPredicate.throwIf(double a1,
double a2,
LBiDblPredicate pred,
ExMF<RuntimeException> factory,
String newMessage,
Object... messageParams) |
static void |
LBiDblPredicate.throwIfNot(double a1,
double a2,
LBiDblPredicate pred,
ExMF<RuntimeException> factory,
String newMessage,
Object... messageParams) |
static void |
LBiDblPredicate.times(int max_i,
double a1,
double a2,
LBiDblPredicate func)
From-To.
|
static boolean |
LBiDblPredicate.tryTest(double a1,
double a2,
LBiDblPredicate func) |
static boolean |
LBiDblPredicate.tryTest(double a1,
double a2,
LBiDblPredicate func,
ExWF<RuntimeException> exF) |
static boolean |
LBiDblPredicate.tryTest(double a1,
double a2,
LBiDblPredicate func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static boolean |
LBiDblPredicate.tryTestThen(double a1,
double a2,
LBiDblPredicate func,
LPredicate<Throwable> handler) |
default LBiDblPredicate |
LBiDblPredicate.xor(LBiDblPredicate 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 LBiDblPredicate |
LBiDblPredicate.recursive(LFunction<LBiDblPredicate,LBiDblPredicate> selfLambda) |
static LBiDblPredicate |
LBiDblPredicate.recursive(LFunction<LBiDblPredicate,LBiDblPredicate> selfLambda) |
static LSupplier<LBiDblPredicate> |
LBiDblPredicate.safeSupplier(LSupplier<LBiDblPredicate> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
LDblPair.MutDblPair |
LDblPair.MutDblPair.setFirstIf(double first,
LBiDblPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LDblPair.MutCompDblPair |
LDblPair.MutCompDblPair.setFirstIf(double first,
LBiDblPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LDblIntPair.MutDblIntPair |
LDblIntPair.MutDblIntPair.setFirstIf(double first,
LBiDblPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LDblIntPair.MutCompDblIntPair |
LDblIntPair.MutCompDblIntPair.setFirstIf(double first,
LBiDblPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LDblPair.MutDblPair |
LDblPair.MutDblPair.setFirstIf(LBiDblPredicate predicate,
double first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LDblPair.MutCompDblPair |
LDblPair.MutCompDblPair.setFirstIf(LBiDblPredicate predicate,
double first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LDblIntPair.MutDblIntPair |
LDblIntPair.MutDblIntPair.setFirstIf(LBiDblPredicate predicate,
double first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LDblIntPair.MutCompDblIntPair |
LDblIntPair.MutCompDblIntPair.setFirstIf(LBiDblPredicate predicate,
double first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjDblPair.MutObjDblPair<T> |
LObjDblPair.MutObjDblPair.setSecondIf(double second,
LBiDblPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjDblPair.MutCompObjDblPair<T> |
LObjDblPair.MutCompObjDblPair.setSecondIf(double second,
LBiDblPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LDblPair.MutDblPair |
LDblPair.MutDblPair.setSecondIf(double second,
LBiDblPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LDblPair.MutCompDblPair |
LDblPair.MutCompDblPair.setSecondIf(double second,
LBiDblPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjDblPair.MutObjDblPair<T> |
LObjDblPair.MutObjDblPair.setSecondIf(LBiDblPredicate predicate,
double second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjDblPair.MutCompObjDblPair<T> |
LObjDblPair.MutCompObjDblPair.setSecondIf(LBiDblPredicate predicate,
double second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LDblPair.MutDblPair |
LDblPair.MutDblPair.setSecondIf(LBiDblPredicate predicate,
double second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LDblPair.MutCompDblPair |
LDblPair.MutCompDblPair.setSecondIf(LBiDblPredicate predicate,
double second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjIntDblTriple.MutObjIntDblTriple<T> |
LObjIntDblTriple.MutObjIntDblTriple.setThirdIf(double third,
LBiDblPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjIntDblTriple.MutCompObjIntDblTriple<T> |
LObjIntDblTriple.MutCompObjIntDblTriple.setThirdIf(double third,
LBiDblPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LBiObjDblTriple.MutBiObjDblTriple<T1,T2> |
LBiObjDblTriple.MutBiObjDblTriple.setThirdIf(double third,
LBiDblPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LBiObjDblTriple.MutCompBiObjDblTriple<T1,T2> |
LBiObjDblTriple.MutCompBiObjDblTriple.setThirdIf(double third,
LBiDblPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjIntDblTriple.MutObjIntDblTriple<T> |
LObjIntDblTriple.MutObjIntDblTriple.setThirdIf(LBiDblPredicate predicate,
double third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjIntDblTriple.MutCompObjIntDblTriple<T> |
LObjIntDblTriple.MutCompObjIntDblTriple.setThirdIf(LBiDblPredicate predicate,
double third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LBiObjDblTriple.MutBiObjDblTriple<T1,T2> |
LBiObjDblTriple.MutBiObjDblTriple.setThirdIf(LBiDblPredicate predicate,
double third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LBiObjDblTriple.MutCompBiObjDblTriple<T1,T2> |
LBiObjDblTriple.MutCompBiObjDblTriple.setThirdIf(LBiDblPredicate predicate,
double third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LDblSingle.MutDblSingle |
LDblSingle.MutDblSingle.setValueIf(double value,
LBiDblPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LDblSingle.MutCompDblSingle |
LDblSingle.MutCompDblSingle.setValueIf(double value,
LBiDblPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LDblSingle.MutDblSingle |
LDblSingle.MutDblSingle.setValueIf(LBiDblPredicate predicate,
double value)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LDblSingle.MutCompDblSingle |
LDblSingle.MutCompDblSingle.setValueIf(LBiDblPredicate predicate,
double value)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
Copyright © 2019. All rights reserved.