| 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 LBiLongPredicate |
LBiLongFunction.thenToBool(LPredicate<? super R> after)
Combines two functions together in a order.
|
| Modifier and Type | Method and Description |
|---|---|
default LBiLongPredicate |
LLongBinaryOperator.thenToBool(LLongPredicate after)
Combines two functions together in a order.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LBiLongPredicate.LLong1Long0Pred
Permutation of LBiLongPredicate for method references.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LBiLongPredicate.LBiLongPredicateSingle |
| Modifier and Type | Method and Description |
|---|---|
default LBiLongPredicate |
LBiLongPredicate.and(LBiLongPredicate other)
Returns a predicate that represents the logical AND of evaluation of this predicate and the argument one.
|
static LBiLongPredicate |
LBiLongPredicate.biLongPred(LBiLongPredicate lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static LBiLongPredicate |
LBiLongPredicate.biLongPredThrowing(ExF<Throwable> exF) |
static LBiLongPredicate |
LBiLongPredicate.biLongPredThrowing(String message,
ExMF<Throwable> exF) |
default LBiLongPredicate |
LBiLongPredicate.boolToBiLongPred(LLogicalOperator after)
Combines two functions together in a order.
|
default LBiLongPredicate |
LBiLongPredicate.compose(LLongUnaryOperator before1,
LLongUnaryOperator before2)
Allows to manipulate the domain of the function.
|
static LBiLongPredicate |
LBiLongPredicate.composed(LLongUnaryOperator before1,
LLongUnaryOperator before2,
LBiLongPredicate after) |
static LBiLongPredicate |
LBiLongPredicate.constant(boolean r)
Creates function that always returns the same value.
|
static LBiLongPredicate |
LBiLongPredicate.failSafe(LBiLongPredicate func,
LBiLongPredicate failSafe) |
default LBiLongPredicate |
LBiLongPredicate.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
static LBiLongPredicate |
LBiLongPredicate.isEqual(long v1,
long v2)
Creates predicate that evaluates if an object is equal with the argument one.
|
default LBiLongPredicate |
LBiLongPredicate.negate()
Returns a predicate that represents the logical negation of this predicate.
|
default LBiLongPredicate |
LBiLongPredicate.or(LBiLongPredicate other)
Returns a predicate that represents the logical OR of evaluation of this predicate and the argument one.
|
static LBiLongPredicate |
LBiLongPredicate.recursive(LFunction<LBiLongPredicate,LBiLongPredicate> selfLambda) |
static LBiLongPredicate |
LBiLongPredicate.safe()
Safe instance.
|
static LBiLongPredicate |
LBiLongPredicate.safe(LBiLongPredicate other)
Safe wrapping.
|
static LBiLongPredicate |
LBiLongPredicate.test1st(LLongPredicate func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static LBiLongPredicate |
LBiLongPredicate.test2nd(LLongPredicate func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
default LBiLongPredicate |
LBiLongPredicate.trying(ExWF<RuntimeException> exF) |
default LBiLongPredicate |
LBiLongPredicate.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LBiLongPredicate |
LBiLongPredicate.tryingThen(LPredicate<Throwable> handler) |
static LBiLongPredicate |
LBiLongPredicate.uncurry(LLongFunction<LLongPredicate> func) |
LBiLongPredicate |
LBiLongPredicate.LBiLongPredicateSingle.value() |
default LBiLongPredicate |
LBiLongPredicate.xor(LBiLongPredicate 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<LBiLongPredicate> |
LBiLongPredicate.safeSupplier()
Safe instance supplier.
|
static LSupplier<LBiLongPredicate> |
LBiLongPredicate.safeSupplier(LSupplier<LBiLongPredicate> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LBiLongPredicate |
LBiLongPredicate.and(LBiLongPredicate other)
Returns a predicate that represents the logical AND of evaluation of this predicate and the argument one.
|
static LBiLongPredicate |
LBiLongPredicate.biLongPred(LBiLongPredicate lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static boolean |
LBiLongPredicate.call(long a1,
long a2,
LBiLongPredicate lambda) |
static LBiLongPredicate |
LBiLongPredicate.composed(LLongUnaryOperator before1,
LLongUnaryOperator before2,
LBiLongPredicate after) |
static <V1,V2> LBiPredicate<V1,V2> |
LBiLongPredicate.composed(LToLongFunction<? super V1> before1,
LToLongFunction<? super V2> before2,
LBiLongPredicate after) |
static boolean |
LBiLongPredicate.doIf(long a1,
long a2,
LBiLongPredicate predicate,
LAction action) |
static boolean |
LBiLongPredicate.doIf(long a1,
long a2,
LBiLongPredicate predicate,
LBiLongConsumer consumer) |
static LBiLongPredicate |
LBiLongPredicate.failSafe(LBiLongPredicate func,
LBiLongPredicate failSafe) |
default boolean |
LBiLongPredicate.failSafeTest(long a1,
long a2,
LBiLongPredicate failSafe) |
static boolean |
LBiLongPredicate.failSafeTest(long a1,
long a2,
LBiLongPredicate func,
LBiLongPredicate failSafe) |
static void |
LBiLongPredicate.fromTill(int min_i,
int max_i,
long a1,
long a2,
LBiLongPredicate func)
From-To.
|
static void |
LBiLongPredicate.fromTo(int min_i,
int max_i,
long a1,
long a2,
LBiLongPredicate func)
From-To.
|
static boolean |
LBiLongPredicate.handlingTest(long a1,
long a2,
LBiLongPredicate func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static LLongPredicate |
LBiLongPredicate.lShrinked(LLongUnaryOperator left,
LBiLongPredicate func) |
static LLongPredicate |
LBiLongPredicate.lShrinkedc(long a1,
LBiLongPredicate func) |
default LBiLongPredicate |
LBiLongPredicate.or(LBiLongPredicate other)
Returns a predicate that represents the logical OR of evaluation of this predicate and the argument one.
|
static LLongPredicate |
LBiLongPredicate.rShrinked(LLongUnaryOperator right,
LBiLongPredicate func) |
static LLongPredicate |
LBiLongPredicate.rShrinkedc(long a2,
LBiLongPredicate func) |
static LBiLongPredicate |
LBiLongPredicate.safe(LBiLongPredicate other)
Safe wrapping.
|
static void |
LBiLongPredicate.throwIf(long a1,
long a2,
LBiLongPredicate pred,
ExMF<RuntimeException> factory,
String newMessage,
Object... messageParams) |
static void |
LBiLongPredicate.throwIfNot(long a1,
long a2,
LBiLongPredicate pred,
ExMF<RuntimeException> factory,
String newMessage,
Object... messageParams) |
static void |
LBiLongPredicate.times(int max_i,
long a1,
long a2,
LBiLongPredicate func)
From-To.
|
static boolean |
LBiLongPredicate.tryTest(long a1,
long a2,
LBiLongPredicate func) |
static boolean |
LBiLongPredicate.tryTest(long a1,
long a2,
LBiLongPredicate func,
ExWF<RuntimeException> exF) |
static boolean |
LBiLongPredicate.tryTest(long a1,
long a2,
LBiLongPredicate func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static boolean |
LBiLongPredicate.tryTestThen(long a1,
long a2,
LBiLongPredicate func,
LPredicate<Throwable> handler) |
default LBiLongPredicate |
LBiLongPredicate.xor(LBiLongPredicate 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 LBiLongPredicate |
LBiLongPredicate.recursive(LFunction<LBiLongPredicate,LBiLongPredicate> selfLambda) |
static LBiLongPredicate |
LBiLongPredicate.recursive(LFunction<LBiLongPredicate,LBiLongPredicate> selfLambda) |
static LSupplier<LBiLongPredicate> |
LBiLongPredicate.safeSupplier(LSupplier<LBiLongPredicate> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
LLongPair.MutLongPair |
LLongPair.MutLongPair.setFirstIf(LBiLongPredicate predicate,
long first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LLongPair.MutCompLongPair |
LLongPair.MutCompLongPair.setFirstIf(LBiLongPredicate predicate,
long first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LLongIntPair.MutLongIntPair |
LLongIntPair.MutLongIntPair.setFirstIf(LBiLongPredicate predicate,
long first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LLongIntPair.MutCompLongIntPair |
LLongIntPair.MutCompLongIntPair.setFirstIf(LBiLongPredicate predicate,
long first)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LLongPair.MutLongPair |
LLongPair.MutLongPair.setFirstIf(long first,
LBiLongPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LLongPair.MutCompLongPair |
LLongPair.MutCompLongPair.setFirstIf(long first,
LBiLongPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LLongIntPair.MutLongIntPair |
LLongIntPair.MutLongIntPair.setFirstIf(long first,
LBiLongPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LLongIntPair.MutCompLongIntPair |
LLongIntPair.MutCompLongIntPair.setFirstIf(long first,
LBiLongPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjLongPair.MutObjLongPair<T> |
LObjLongPair.MutObjLongPair.setSecondIf(LBiLongPredicate predicate,
long second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjLongPair.MutCompObjLongPair<T> |
LObjLongPair.MutCompObjLongPair.setSecondIf(LBiLongPredicate predicate,
long second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LLongPair.MutLongPair |
LLongPair.MutLongPair.setSecondIf(LBiLongPredicate predicate,
long second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LLongPair.MutCompLongPair |
LLongPair.MutCompLongPair.setSecondIf(LBiLongPredicate predicate,
long second)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjLongPair.MutObjLongPair<T> |
LObjLongPair.MutObjLongPair.setSecondIf(long second,
LBiLongPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjLongPair.MutCompObjLongPair<T> |
LObjLongPair.MutCompObjLongPair.setSecondIf(long second,
LBiLongPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LLongPair.MutLongPair |
LLongPair.MutLongPair.setSecondIf(long second,
LBiLongPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LLongPair.MutCompLongPair |
LLongPair.MutCompLongPair.setSecondIf(long second,
LBiLongPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjIntLongTriple.MutObjIntLongTriple<T> |
LObjIntLongTriple.MutObjIntLongTriple.setThirdIf(LBiLongPredicate predicate,
long third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjIntLongTriple.MutCompObjIntLongTriple<T> |
LObjIntLongTriple.MutCompObjIntLongTriple.setThirdIf(LBiLongPredicate predicate,
long third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LBiObjLongTriple.MutBiObjLongTriple<T1,T2> |
LBiObjLongTriple.MutBiObjLongTriple.setThirdIf(LBiLongPredicate predicate,
long third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
LBiObjLongTriple.MutCompBiObjLongTriple.setThirdIf(LBiLongPredicate predicate,
long third)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LObjIntLongTriple.MutObjIntLongTriple<T> |
LObjIntLongTriple.MutObjIntLongTriple.setThirdIf(long third,
LBiLongPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LObjIntLongTriple.MutCompObjIntLongTriple<T> |
LObjIntLongTriple.MutCompObjIntLongTriple.setThirdIf(long third,
LBiLongPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LBiObjLongTriple.MutBiObjLongTriple<T1,T2> |
LBiObjLongTriple.MutBiObjLongTriple.setThirdIf(long third,
LBiLongPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LBiObjLongTriple.MutCompBiObjLongTriple<T1,T2> |
LBiObjLongTriple.MutCompBiObjLongTriple.setThirdIf(long third,
LBiLongPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LLongSingle.MutLongSingle |
LLongSingle.MutLongSingle.setValueIf(LBiLongPredicate predicate,
long value)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LLongSingle.MutCompLongSingle |
LLongSingle.MutCompLongSingle.setValueIf(LBiLongPredicate predicate,
long value)
Sets new value if predicate predicate(current, newValue) OR current::something(newValue) is true.
|
LLongSingle.MutLongSingle |
LLongSingle.MutLongSingle.setValueIf(long value,
LBiLongPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
LLongSingle.MutCompLongSingle |
LLongSingle.MutCompLongSingle.setValueIf(long value,
LBiLongPredicate predicate)
Sets new value if predicate predicate(newValue, current) OR newValue::something(current) is true.
|
Copyright © 2019. All rights reserved.