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