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