| Package | Description |
|---|---|
| eu.lunisolar.magma.func.consumer.primitives.obj | |
| eu.lunisolar.magma.func.function.from | |
| eu.lunisolar.magma.func.predicate |
| Modifier and Type | Method and Description |
|---|---|
default LObjFltConsumer<T2> |
LBiObjFltConsumer.lShrink(LObjFltFunction<T2,T1> left) |
static <T2,T1> LObjFltConsumer<T2> |
LBiObjFltConsumer.lShrinked(LObjFltFunction<T2,T1> left,
LBiObjFltConsumer<T1,T2> func) |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LObjFltFunction.LFltObjFunc<T,R>
Permutation of LObjFltFunction for method references.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LObjFltFunction.LObjFltFunctionSingle<T,R> |
| Modifier and Type | Method and Description |
|---|---|
default LObjFltFunction<T,R> |
LObjFltFunction.after(LConsumer<? super R> after) |
static <T,R> LObjFltFunction<T,R> |
LObjFltFunction.apply1st(LFunction<T,R> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T,R> LObjFltFunction<T,R> |
LObjFltFunction.apply2nd(LFltFunction<R> func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
default LObjFltFunction<T,R> |
LObjFltFunction.before(LObjFltConsumer<? super T> before) |
default <V2,V3> LObjFltFunction<V2,V3> |
LObjFltFunction.cast()
Cast that replace generics.
|
static <V2,V3,T,R> |
LObjFltFunction.cast(LObjFltFunction<T,R> function)
Cast that replace generics.
|
default <V1> LObjFltFunction<V1,R> |
LObjFltFunction.compose(LFunction<? super V1,? extends T> before1,
LFltUnaryOperator before2)
Allows to manipulate the domain of the function.
|
static <V1,T,R> LObjFltFunction<V1,R> |
LObjFltFunction.composed(LFunction<? super V1,? extends T> before1,
LFltUnaryOperator before2,
LObjFltFunction<T,R> after) |
static <T,R> LObjFltFunction<T,R> |
LObjFltFunction.constant(R r)
Creates function that always returns the same value.
|
static <T,R> LObjFltFunction<T,R> |
LObjFltFunction.failSafe(LObjFltFunction<T,R> func,
LObjFltFunction<T,R> failSafe) |
default LObjFltFunction<T,R> |
LObjFltFunction.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
default LObjFltFunction<T2,R> |
LBiObjFltFunction.lShrink(LObjFltFunction<T2,T1> left) |
default LObjFltFunction<T2,R> |
LBiObjFltFunction.lShrinkc(T1 a1) |
static <T2,R,T1> LObjFltFunction<T2,R> |
LBiObjFltFunction.lShrinked(LObjFltFunction<T2,T1> left,
LBiObjFltFunction<T1,T2,R> func) |
static <T2,R,T1> LObjFltFunction<T2,R> |
LBiObjFltFunction.lShrinkedc(T1 a1,
LBiObjFltFunction<T1,T2,R> func) |
default LObjFltFunction<T,R> |
LObjFltFunction.nonNullable()
Converts to function that makes sure that the result is not null.
|
static <T,R> LObjFltFunction<T,R> |
LObjFltFunction.objFltFunc(LObjFltFunction<T,R> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T,R> LObjFltFunction<T,R> |
LObjFltFunction.objFltFuncThrowing(ExF<Throwable> exF) |
static <T,R> LObjFltFunction<T,R> |
LObjFltFunction.objFltFuncThrowing(String message,
ExMF<Throwable> exF) |
static <T,R> LObjFltFunction<T,R> |
LObjFltFunction.recursive(LFunction<LObjFltFunction<T,R>,LObjFltFunction<T,R>> selfLambda) |
static <T,R> LObjFltFunction<T,R> |
LObjFltFunction.safe()
Safe instance.
|
static <T,R> LObjFltFunction<T,R> |
LObjFltFunction.safe(LObjFltFunction<T,R> other)
Safe wrapping.
|
default <V> LObjFltFunction<T,V> |
LObjFltFunction.then(LFunction<? super R,? extends V> after)
Combines two functions together in a order.
|
default LObjFltFunction<T,R> |
LObjFltFunction.trying(ExWF<RuntimeException> exF) |
default LObjFltFunction<T,R> |
LObjFltFunction.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LObjFltFunction<T,R> |
LObjFltFunction.tryingThen(LFunction<Throwable,R> handler) |
static <T,R> LObjFltFunction<T,R> |
LObjFltFunction.uncurry(LFunction<T,LFltFunction<R>> func) |
default LObjFltFunction |
LObjFltFunction.untyped()
Cast that removes generics.
|
LObjFltFunction<T,R> |
LObjFltFunction.LObjFltFunctionSingle.value() |
| Modifier and Type | Method and Description |
|---|---|
static <T,R> LSupplier<LObjFltFunction<T,R>> |
LObjFltFunction.safeSupplier()
Safe instance supplier.
|
static <T,R> LSupplier<LObjFltFunction<T,R>> |
LObjFltFunction.safeSupplier(LSupplier<LObjFltFunction<T,R>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
static <T,R> R |
LObjFltFunction.call(T a1,
float a2,
LObjFltFunction<T,R> lambda) |
static <V2,V3,T,R> |
LObjFltFunction.cast(LObjFltFunction<T,R> function)
Cast that replace generics.
|
static <V1,T,R> LObjFltFunction<V1,R> |
LObjFltFunction.composed(LFunction<? super V1,? extends T> before1,
LFltUnaryOperator before2,
LObjFltFunction<T,R> after) |
static <V1,V2,T,R> |
LObjFltFunction.composed(LFunction<? super V1,? extends T> before1,
LToFltFunction<? super V2> before2,
LObjFltFunction<T,R> after) |
static <T,R> LObjFltFunction<T,R> |
LObjFltFunction.failSafe(LObjFltFunction<T,R> func,
LObjFltFunction<T,R> failSafe) |
static <T,R> LObjFltFunction<T,R> |
LObjFltFunction.failSafe(LObjFltFunction<T,R> func,
LObjFltFunction<T,R> failSafe) |
default R |
LObjFltFunction.failSafeApply(T a1,
float a2,
LObjFltFunction<T,R> failSafe) |
static <T,R> R |
LObjFltFunction.failSafeApply(T a1,
float a2,
LObjFltFunction<T,R> func,
LObjFltFunction<T,R> failSafe) |
static <T,R> R |
LObjFltFunction.failSafeApply(T a1,
float a2,
LObjFltFunction<T,R> func,
LObjFltFunction<T,R> failSafe) |
static <T,R> void |
LObjFltFunction.fromTill(int min_i,
int max_i,
T a1,
float a2,
LObjFltFunction<T,R> func)
From-To.
|
static <T,R> void |
LObjFltFunction.fromTo(int min_i,
int max_i,
T a1,
float a2,
LObjFltFunction<T,R> func)
From-To.
|
static <T,R> R |
LObjFltFunction.handlingApply(T a1,
float a2,
LObjFltFunction<T,R> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
default LObjFltFunction<T2,R> |
LBiObjFltFunction.lShrink(LObjFltFunction<T2,T1> left) |
static <R,T> LFltFunction<R> |
LObjFltFunction.lShrinked(LFltFunction<T> left,
LObjFltFunction<T,R> func) |
static <T2,R,T1> LObjFltFunction<T2,R> |
LBiObjFltFunction.lShrinked(LObjFltFunction<T2,T1> left,
LBiObjFltFunction<T1,T2,R> func) |
static <R,T> LFltFunction<R> |
LObjFltFunction.lShrinkedc(T a1,
LObjFltFunction<T,R> func) |
static <T,R> LObjFltFunction<T,R> |
LObjFltFunction.objFltFunc(LObjFltFunction<T,R> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T,R> LFunction<T,R> |
LObjFltFunction.rShrinked(LToFltFunction<T> right,
LObjFltFunction<T,R> func) |
static <T,R> LFunction<T,R> |
LObjFltFunction.rShrinkedc(float a2,
LObjFltFunction<T,R> func) |
static <T,R> LObjFltFunction<T,R> |
LObjFltFunction.safe(LObjFltFunction<T,R> other)
Safe wrapping.
|
static <T,R> void |
LObjFltFunction.times(int max_i,
T a1,
float a2,
LObjFltFunction<T,R> func)
From-To.
|
static <T,R> R |
LObjFltFunction.tryApply(T a1,
float a2,
LObjFltFunction<T,R> func) |
static <T,R> R |
LObjFltFunction.tryApply(T a1,
float a2,
LObjFltFunction<T,R> func,
ExWF<RuntimeException> exF) |
static <T,R> R |
LObjFltFunction.tryApply(T a1,
float a2,
LObjFltFunction<T,R> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T,R> R |
LObjFltFunction.tryApplyThen(T a1,
float a2,
LObjFltFunction<T,R> func,
LFunction<Throwable,R> handler) |
| Modifier and Type | Method and Description |
|---|---|
static <T,R> LObjFltFunction<T,R> |
LObjFltFunction.recursive(LFunction<LObjFltFunction<T,R>,LObjFltFunction<T,R>> selfLambda) |
static <T,R> LObjFltFunction<T,R> |
LObjFltFunction.recursive(LFunction<LObjFltFunction<T,R>,LObjFltFunction<T,R>> selfLambda) |
static <T,R> LSupplier<LObjFltFunction<T,R>> |
LObjFltFunction.safeSupplier(LSupplier<LObjFltFunction<T,R>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default <V> LObjFltFunction<T,V> |
LObjFltPredicate.boolToObjFltFunc(LBoolFunction<? extends V> after)
Combines two functions together in a order.
|
| Modifier and Type | Method and Description |
|---|---|
default LObjFltPredicate<T2> |
LBiObjFltPredicate.lShrink(LObjFltFunction<T2,T1> left) |
static <T2,T1> LObjFltPredicate<T2> |
LBiObjFltPredicate.lShrinked(LObjFltFunction<T2,T1> left,
LBiObjFltPredicate<T1,T2> func) |
Copyright © 2019. All rights reserved.