| Package | Description |
|---|---|
| eu.lunisolar.magma.func.function.from | |
| eu.lunisolar.magma.func.operator.ternary |
| Modifier and Type | Method and Description |
|---|---|
default LLogicalTernaryOperator |
LTriBoolFunction.thenToBool(LPredicate<? super R> after)
Combines two functions together in a order.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LLogicalTernaryOperator.LLogicalTernaryOperatorSingle |
| Modifier and Type | Method and Description |
|---|---|
static LLogicalTernaryOperator |
LLogicalTernaryOperator.and()
Returns function that applies logical AND operator.
|
default LLogicalTernaryOperator |
LLogicalTernaryOperator.and(LLogicalTernaryOperator other)
Returns a predicate that represents the logical AND of evaluation of this predicate and the argument one.
|
static LLogicalTernaryOperator |
LLogicalTernaryOperator.apply1st(LLogicalOperator func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static LLogicalTernaryOperator |
LLogicalTernaryOperator.apply2nd(LLogicalOperator func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static LLogicalTernaryOperator |
LLogicalTernaryOperator.apply3rd(LLogicalOperator func)
Captures single parameter function into this interface where only 3rd parameter will be used.
|
default LLogicalTernaryOperator |
LLogicalTernaryOperator.compose(LLogicalOperator before1,
LLogicalOperator before2,
LLogicalOperator before3)
Allows to manipulate the domain of the function.
|
static LLogicalTernaryOperator |
LLogicalTernaryOperator.composed(LLogicalOperator before1,
LLogicalOperator before2,
LLogicalOperator before3,
LLogicalTernaryOperator after) |
static LLogicalTernaryOperator |
LLogicalTernaryOperator.constant(boolean r)
Creates function that always returns the same value.
|
static LLogicalTernaryOperator |
LLogicalTernaryOperator.failSafe(LLogicalTernaryOperator func,
LLogicalTernaryOperator failSafe) |
default LLogicalTernaryOperator |
LLogicalTernaryOperator.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
static LLogicalTernaryOperator |
LLogicalTernaryOperator.isEqual(boolean v1,
boolean v2,
boolean v3)
Creates predicate that evaluates if an object is equal with the argument one.
|
static LLogicalTernaryOperator |
LLogicalTernaryOperator.logicalTernaryOp(LLogicalTernaryOperator lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static LLogicalTernaryOperator |
LLogicalTernaryOperator.logicalTernaryOpThrowing(ExF<Throwable> exF) |
static LLogicalTernaryOperator |
LLogicalTernaryOperator.logicalTernaryOpThrowing(String message,
ExMF<Throwable> exF) |
default LLogicalTernaryOperator |
LLogicalTernaryOperator.negate()
Returns a predicate that represents the logical negation of this predicate.
|
static LLogicalTernaryOperator |
LLogicalTernaryOperator.or()
Returns function that applies logical OR operator.
|
default LLogicalTernaryOperator |
LLogicalTernaryOperator.or(LLogicalTernaryOperator other)
Returns a predicate that represents the logical OR of evaluation of this predicate and the argument one.
|
static LLogicalTernaryOperator |
LLogicalTernaryOperator.recursive(LFunction<LLogicalTernaryOperator,LLogicalTernaryOperator> selfLambda) |
static LLogicalTernaryOperator |
LLogicalTernaryOperator.safe()
Safe instance.
|
static LLogicalTernaryOperator |
LLogicalTernaryOperator.safe(LLogicalTernaryOperator other)
Safe wrapping.
|
default LLogicalTernaryOperator |
LLogicalTernaryOperator.thenToBool(LLogicalOperator after)
Combines two functions together in a order.
|
default LLogicalTernaryOperator |
LLogicalTernaryOperator.trying(ExWF<RuntimeException> exF) |
default LLogicalTernaryOperator |
LLogicalTernaryOperator.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LLogicalTernaryOperator |
LLogicalTernaryOperator.tryingThen(LPredicate<Throwable> handler) |
static LLogicalTernaryOperator |
LLogicalTernaryOperator.uncurry(LBoolFunction<LBoolFunction<LLogicalOperator>> func) |
LLogicalTernaryOperator |
LLogicalTernaryOperator.LLogicalTernaryOperatorSingle.value() |
static LLogicalTernaryOperator |
LLogicalTernaryOperator.xor()
Returns function that applies logical XOR operator.
|
default LLogicalTernaryOperator |
LLogicalTernaryOperator.xor(LLogicalTernaryOperator 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<LLogicalTernaryOperator> |
LLogicalTernaryOperator.safeSupplier()
Safe instance supplier.
|
static LSupplier<LLogicalTernaryOperator> |
LLogicalTernaryOperator.safeSupplier(LSupplier<LLogicalTernaryOperator> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LLogicalTernaryOperator |
LLogicalTernaryOperator.and(LLogicalTernaryOperator other)
Returns a predicate that represents the logical AND of evaluation of this predicate and the argument one.
|
static boolean |
LLogicalTernaryOperator.call(boolean a1,
boolean a2,
boolean a3,
LLogicalTernaryOperator lambda) |
static LLogicalTernaryOperator |
LLogicalTernaryOperator.composed(LLogicalOperator before1,
LLogicalOperator before2,
LLogicalOperator before3,
LLogicalTernaryOperator after) |
static <V1,V2,V3> LTriPredicate<V1,V2,V3> |
LLogicalTernaryOperator.composed(LPredicate<? super V1> before1,
LPredicate<? super V2> before2,
LPredicate<? super V3> before3,
LLogicalTernaryOperator after) |
static boolean |
LLogicalTernaryOperator.doIf(boolean a1,
boolean a2,
boolean a3,
LLogicalTernaryOperator predicate,
LAction action) |
static boolean |
LLogicalTernaryOperator.doIf(boolean a1,
boolean a2,
boolean a3,
LLogicalTernaryOperator predicate,
LTriBoolConsumer consumer) |
static LLogicalTernaryOperator |
LLogicalTernaryOperator.failSafe(LLogicalTernaryOperator func,
LLogicalTernaryOperator failSafe) |
default boolean |
LLogicalTernaryOperator.failSafeApply(boolean a1,
boolean a2,
boolean a3,
LLogicalTernaryOperator failSafe) |
static boolean |
LLogicalTernaryOperator.failSafeApply(boolean a1,
boolean a2,
boolean a3,
LLogicalTernaryOperator func,
LLogicalTernaryOperator failSafe) |
static void |
LLogicalTernaryOperator.fromTill(int min_i,
int max_i,
boolean a1,
boolean a2,
boolean a3,
LLogicalTernaryOperator func)
From-To.
|
static void |
LLogicalTernaryOperator.fromTo(int min_i,
int max_i,
boolean a1,
boolean a2,
boolean a3,
LLogicalTernaryOperator func)
From-To.
|
static boolean |
LLogicalTernaryOperator.handlingApply(boolean a1,
boolean a2,
boolean a3,
LLogicalTernaryOperator func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static LLogicalTernaryOperator |
LLogicalTernaryOperator.logicalTernaryOp(LLogicalTernaryOperator lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static LLogicalBinaryOperator |
LLogicalTernaryOperator.lShrinked(LLogicalBinaryOperator left,
LLogicalTernaryOperator func) |
static LLogicalBinaryOperator |
LLogicalTernaryOperator.lShrinkedc(boolean a1,
LLogicalTernaryOperator func) |
default LLogicalTernaryOperator |
LLogicalTernaryOperator.or(LLogicalTernaryOperator other)
Returns a predicate that represents the logical OR of evaluation of this predicate and the argument one.
|
static LLogicalBinaryOperator |
LLogicalTernaryOperator.rShrinked(LLogicalBinaryOperator right,
LLogicalTernaryOperator func) |
static LLogicalBinaryOperator |
LLogicalTernaryOperator.rShrinkedc(boolean a3,
LLogicalTernaryOperator func) |
static LLogicalTernaryOperator |
LLogicalTernaryOperator.safe(LLogicalTernaryOperator other)
Safe wrapping.
|
static void |
LLogicalTernaryOperator.throwIf(boolean a1,
boolean a2,
boolean a3,
LLogicalTernaryOperator pred,
ExMF<RuntimeException> factory,
String newMessage,
Object... messageParams) |
static void |
LLogicalTernaryOperator.throwIfNot(boolean a1,
boolean a2,
boolean a3,
LLogicalTernaryOperator pred,
ExMF<RuntimeException> factory,
String newMessage,
Object... messageParams) |
static void |
LLogicalTernaryOperator.times(int max_i,
boolean a1,
boolean a2,
boolean a3,
LLogicalTernaryOperator func)
From-To.
|
static boolean |
LLogicalTernaryOperator.tryApply(boolean a1,
boolean a2,
boolean a3,
LLogicalTernaryOperator func) |
static boolean |
LLogicalTernaryOperator.tryApply(boolean a1,
boolean a2,
boolean a3,
LLogicalTernaryOperator func,
ExWF<RuntimeException> exF) |
static boolean |
LLogicalTernaryOperator.tryApply(boolean a1,
boolean a2,
boolean a3,
LLogicalTernaryOperator func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static boolean |
LLogicalTernaryOperator.tryApplyThen(boolean a1,
boolean a2,
boolean a3,
LLogicalTernaryOperator func,
LPredicate<Throwable> handler) |
default LLogicalTernaryOperator |
LLogicalTernaryOperator.xor(LLogicalTernaryOperator 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 LLogicalTernaryOperator |
LLogicalTernaryOperator.recursive(LFunction<LLogicalTernaryOperator,LLogicalTernaryOperator> selfLambda) |
static LLogicalTernaryOperator |
LLogicalTernaryOperator.recursive(LFunction<LLogicalTernaryOperator,LLogicalTernaryOperator> selfLambda) |
static LSupplier<LLogicalTernaryOperator> |
LLogicalTernaryOperator.safeSupplier(LSupplier<LLogicalTernaryOperator> supplier)
Safe supplier.
|
Copyright © 2019. All rights reserved.