| Package | Description |
|---|---|
| eu.lunisolar.magma.func.function.from | |
| eu.lunisolar.magma.func.operator.ternary |
| Modifier and Type | Class and Description |
|---|---|
static class |
LTriBoolFunction.LTriBoolFunctionSingle<R> |
| Modifier and Type | Method and Description |
|---|---|
default LTriBoolFunction<R> |
LTriBoolFunction.after(LConsumer<? super R> after) |
static <R> LTriBoolFunction<R> |
LTriBoolFunction.apply1st(LBoolFunction<R> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <R> LTriBoolFunction<R> |
LTriBoolFunction.apply2nd(LBoolFunction<R> func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static <R> LTriBoolFunction<R> |
LTriBoolFunction.apply3rd(LBoolFunction<R> func)
Captures single parameter function into this interface where only 3rd parameter will be used.
|
default LTriBoolFunction<R> |
LTriBoolFunction.before(LTriBoolConsumer before) |
default <V2> LTriBoolFunction<V2> |
LTriBoolFunction.cast()
Cast that replace generics.
|
static <V2,R> LTriBoolFunction<V2> |
LTriBoolFunction.cast(LTriBoolFunction<R> function)
Cast that replace generics.
|
default LTriBoolFunction<R> |
LTriBoolFunction.compose(LLogicalOperator before1,
LLogicalOperator before2,
LLogicalOperator before3)
Allows to manipulate the domain of the function.
|
static <R> LTriBoolFunction<R> |
LTriBoolFunction.composed(LLogicalOperator before1,
LLogicalOperator before2,
LLogicalOperator before3,
LTriBoolFunction<R> after) |
static <R> LTriBoolFunction<R> |
LTriBoolFunction.constant(R r)
Creates function that always returns the same value.
|
static <R> LTriBoolFunction<R> |
LTriBoolFunction.failSafe(LTriBoolFunction<R> func,
LTriBoolFunction<R> failSafe) |
default LTriBoolFunction<R> |
LTriBoolFunction.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
default LTriBoolFunction<R> |
LTriBoolFunction.nonNullable()
Converts to function that makes sure that the result is not null.
|
static <R> LTriBoolFunction<R> |
LTriBoolFunction.recursive(LFunction<LTriBoolFunction<R>,LTriBoolFunction<R>> selfLambda) |
static <R> LTriBoolFunction<R> |
LTriBoolFunction.safe()
Safe instance.
|
static <R> LTriBoolFunction<R> |
LTriBoolFunction.safe(LTriBoolFunction<R> other)
Safe wrapping.
|
default <V> LTriBoolFunction<V> |
LTriBoolFunction.then(LFunction<? super R,? extends V> after)
Combines two functions together in a order.
|
static <R> LTriBoolFunction<R> |
LTriBoolFunction.triBoolFunc(LTriBoolFunction<R> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <R> LTriBoolFunction<R> |
LTriBoolFunction.triBoolFuncThrowing(ExF<Throwable> exF) |
static <R> LTriBoolFunction<R> |
LTriBoolFunction.triBoolFuncThrowing(String message,
ExMF<Throwable> exF) |
default LTriBoolFunction<R> |
LTriBoolFunction.trying(ExWF<RuntimeException> exF) |
default LTriBoolFunction<R> |
LTriBoolFunction.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LTriBoolFunction<R> |
LTriBoolFunction.tryingThen(LFunction<Throwable,R> handler) |
static <R> LTriBoolFunction<R> |
LTriBoolFunction.uncurry(LBoolFunction<LBoolFunction<LBoolFunction<R>>> func) |
default LTriBoolFunction |
LTriBoolFunction.untyped()
Cast that removes generics.
|
LTriBoolFunction<R> |
LTriBoolFunction.LTriBoolFunctionSingle.value() |
| Modifier and Type | Method and Description |
|---|---|
static <R> LSupplier<LTriBoolFunction<R>> |
LTriBoolFunction.safeSupplier()
Safe instance supplier.
|
static <R> LSupplier<LTriBoolFunction<R>> |
LTriBoolFunction.safeSupplier(LSupplier<LTriBoolFunction<R>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
static <R> R |
LTriBoolFunction.call(boolean a1,
boolean a2,
boolean a3,
LTriBoolFunction<R> lambda) |
static <V2,R> LTriBoolFunction<V2> |
LTriBoolFunction.cast(LTriBoolFunction<R> function)
Cast that replace generics.
|
static <R> LTriBoolFunction<R> |
LTriBoolFunction.composed(LLogicalOperator before1,
LLogicalOperator before2,
LLogicalOperator before3,
LTriBoolFunction<R> after) |
static <V1,V2,V3,R> |
LTriBoolFunction.composed(LPredicate<? super V1> before1,
LPredicate<? super V2> before2,
LPredicate<? super V3> before3,
LTriBoolFunction<R> after) |
static <R> LTriBoolFunction<R> |
LTriBoolFunction.failSafe(LTriBoolFunction<R> func,
LTriBoolFunction<R> failSafe) |
static <R> LTriBoolFunction<R> |
LTriBoolFunction.failSafe(LTriBoolFunction<R> func,
LTriBoolFunction<R> failSafe) |
default R |
LTriBoolFunction.failSafeApply(boolean a1,
boolean a2,
boolean a3,
LTriBoolFunction<R> failSafe) |
static <R> R |
LTriBoolFunction.failSafeApply(boolean a1,
boolean a2,
boolean a3,
LTriBoolFunction<R> func,
LTriBoolFunction<R> failSafe) |
static <R> R |
LTriBoolFunction.failSafeApply(boolean a1,
boolean a2,
boolean a3,
LTriBoolFunction<R> func,
LTriBoolFunction<R> failSafe) |
static <R> void |
LTriBoolFunction.fromTill(int min_i,
int max_i,
boolean a1,
boolean a2,
boolean a3,
LTriBoolFunction<R> func)
From-To.
|
static <R> void |
LTriBoolFunction.fromTo(int min_i,
int max_i,
boolean a1,
boolean a2,
boolean a3,
LTriBoolFunction<R> func)
From-To.
|
static <R> R |
LTriBoolFunction.handlingApply(boolean a1,
boolean a2,
boolean a3,
LTriBoolFunction<R> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <R> LBiBoolFunction<R> |
LTriBoolFunction.lShrinked(LLogicalBinaryOperator left,
LTriBoolFunction<R> func) |
static <R> LBiBoolFunction<R> |
LTriBoolFunction.lShrinkedc(boolean a1,
LTriBoolFunction<R> func) |
static <R> LBiBoolFunction<R> |
LTriBoolFunction.rShrinked(LLogicalBinaryOperator right,
LTriBoolFunction<R> func) |
static <R> LBiBoolFunction<R> |
LTriBoolFunction.rShrinkedc(boolean a3,
LTriBoolFunction<R> func) |
static <R> LTriBoolFunction<R> |
LTriBoolFunction.safe(LTriBoolFunction<R> other)
Safe wrapping.
|
static <R> void |
LTriBoolFunction.times(int max_i,
boolean a1,
boolean a2,
boolean a3,
LTriBoolFunction<R> func)
From-To.
|
static <R> LTriBoolFunction<R> |
LTriBoolFunction.triBoolFunc(LTriBoolFunction<R> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <R> R |
LTriBoolFunction.tryApply(boolean a1,
boolean a2,
boolean a3,
LTriBoolFunction<R> func) |
static <R> R |
LTriBoolFunction.tryApply(boolean a1,
boolean a2,
boolean a3,
LTriBoolFunction<R> func,
ExWF<RuntimeException> exF) |
static <R> R |
LTriBoolFunction.tryApply(boolean a1,
boolean a2,
boolean a3,
LTriBoolFunction<R> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <R> R |
LTriBoolFunction.tryApplyThen(boolean a1,
boolean a2,
boolean a3,
LTriBoolFunction<R> func,
LFunction<Throwable,R> handler) |
| Modifier and Type | Method and Description |
|---|---|
static <R> LTriBoolFunction<R> |
LTriBoolFunction.recursive(LFunction<LTriBoolFunction<R>,LTriBoolFunction<R>> selfLambda) |
static <R> LTriBoolFunction<R> |
LTriBoolFunction.recursive(LFunction<LTriBoolFunction<R>,LTriBoolFunction<R>> selfLambda) |
static <R> LSupplier<LTriBoolFunction<R>> |
LTriBoolFunction.safeSupplier(LSupplier<LTriBoolFunction<R>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default <V> LTriBoolFunction<V> |
LLogicalTernaryOperator.then(LBoolFunction<? extends V> after)
Combines two functions together in a order.
|
Copyright © 2019. All rights reserved.