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