| 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 LObjDblConsumer<T2> |
LBiObjDblConsumer.lShrink(LObjDblFunction<T2,T1> left) |
static <T2,T1> LObjDblConsumer<T2> |
LBiObjDblConsumer.lShrinked(LObjDblFunction<T2,T1> left,
LBiObjDblConsumer<T1,T2> func) |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LObjDblFunction.LDblObjFunc<T,R>
Permutation of LObjDblFunction for method references.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LObjDblFunction.LObjDblFunctionSingle<T,R> |
| Modifier and Type | Method and Description |
|---|---|
default LObjDblFunction<T,R> |
LObjDblFunction.after(LConsumer<? super R> after) |
static <T,R> LObjDblFunction<T,R> |
LObjDblFunction.apply1st(LFunction<T,R> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T,R> LObjDblFunction<T,R> |
LObjDblFunction.apply2nd(LDblFunction<R> func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
default LObjDblFunction<T,R> |
LObjDblFunction.before(LObjDblConsumer<? super T> before) |
default <V2,V3> LObjDblFunction<V2,V3> |
LObjDblFunction.cast()
Cast that replace generics.
|
static <V2,V3,T,R> |
LObjDblFunction.cast(LObjDblFunction<T,R> function)
Cast that replace generics.
|
default <V1> LObjDblFunction<V1,R> |
LObjDblFunction.compose(LFunction<? super V1,? extends T> before1,
LDblUnaryOperator before2)
Allows to manipulate the domain of the function.
|
static <V1,T,R> LObjDblFunction<V1,R> |
LObjDblFunction.composed(LFunction<? super V1,? extends T> before1,
LDblUnaryOperator before2,
LObjDblFunction<T,R> after) |
static <T,R> LObjDblFunction<T,R> |
LObjDblFunction.constant(R r)
Creates function that always returns the same value.
|
static <T,R> LObjDblFunction<T,R> |
LObjDblFunction.failSafe(LObjDblFunction<T,R> func,
LObjDblFunction<T,R> failSafe) |
default LObjDblFunction<T,R> |
LObjDblFunction.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
default LObjDblFunction<T2,R> |
LBiObjDblFunction.lShrink(LObjDblFunction<T2,T1> left) |
default LObjDblFunction<T2,R> |
LBiObjDblFunction.lShrinkc(T1 a1) |
static <T2,R,T1> LObjDblFunction<T2,R> |
LBiObjDblFunction.lShrinked(LObjDblFunction<T2,T1> left,
LBiObjDblFunction<T1,T2,R> func) |
static <T2,R,T1> LObjDblFunction<T2,R> |
LBiObjDblFunction.lShrinkedc(T1 a1,
LBiObjDblFunction<T1,T2,R> func) |
default LObjDblFunction<T,R> |
LObjDblFunction.nonNullable()
Converts to function that makes sure that the result is not null.
|
static <T,R> LObjDblFunction<T,R> |
LObjDblFunction.objDblFunc(LObjDblFunction<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> LObjDblFunction<T,R> |
LObjDblFunction.objDblFuncThrowing(ExF<Throwable> exF) |
static <T,R> LObjDblFunction<T,R> |
LObjDblFunction.objDblFuncThrowing(String message,
ExMF<Throwable> exF) |
static <T,R> LObjDblFunction<T,R> |
LObjDblFunction.recursive(LFunction<LObjDblFunction<T,R>,LObjDblFunction<T,R>> selfLambda) |
static <T,R> LObjDblFunction<T,R> |
LObjDblFunction.safe()
Safe instance.
|
static <T,R> LObjDblFunction<T,R> |
LObjDblFunction.safe(LObjDblFunction<T,R> other)
Safe wrapping.
|
default <V> LObjDblFunction<T,V> |
LObjDblFunction.then(LFunction<? super R,? extends V> after)
Combines two functions together in a order.
|
default LObjDblFunction<T,R> |
LObjDblFunction.trying(ExWF<RuntimeException> exF) |
default LObjDblFunction<T,R> |
LObjDblFunction.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LObjDblFunction<T,R> |
LObjDblFunction.tryingThen(LFunction<Throwable,R> handler) |
static <T,R> LObjDblFunction<T,R> |
LObjDblFunction.uncurry(LFunction<T,LDblFunction<R>> func) |
default LObjDblFunction |
LObjDblFunction.untyped()
Cast that removes generics.
|
LObjDblFunction<T,R> |
LObjDblFunction.LObjDblFunctionSingle.value() |
| Modifier and Type | Method and Description |
|---|---|
static <T,R> LSupplier<LObjDblFunction<T,R>> |
LObjDblFunction.safeSupplier()
Safe instance supplier.
|
static <T,R> LSupplier<LObjDblFunction<T,R>> |
LObjDblFunction.safeSupplier(LSupplier<LObjDblFunction<T,R>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
static <T,R> R |
LObjDblFunction.call(T a1,
double a2,
LObjDblFunction<T,R> lambda) |
static <V2,V3,T,R> |
LObjDblFunction.cast(LObjDblFunction<T,R> function)
Cast that replace generics.
|
static <V1,T,R> LObjDblFunction<V1,R> |
LObjDblFunction.composed(LFunction<? super V1,? extends T> before1,
LDblUnaryOperator before2,
LObjDblFunction<T,R> after) |
static <V1,V2,T,R> |
LObjDblFunction.composed(LFunction<? super V1,? extends T> before1,
LToDblFunction<? super V2> before2,
LObjDblFunction<T,R> after) |
static <T,R> LObjDblFunction<T,R> |
LObjDblFunction.failSafe(LObjDblFunction<T,R> func,
LObjDblFunction<T,R> failSafe) |
static <T,R> LObjDblFunction<T,R> |
LObjDblFunction.failSafe(LObjDblFunction<T,R> func,
LObjDblFunction<T,R> failSafe) |
default R |
LObjDblFunction.failSafeApply(T a1,
double a2,
LObjDblFunction<T,R> failSafe) |
static <T,R> R |
LObjDblFunction.failSafeApply(T a1,
double a2,
LObjDblFunction<T,R> func,
LObjDblFunction<T,R> failSafe) |
static <T,R> R |
LObjDblFunction.failSafeApply(T a1,
double a2,
LObjDblFunction<T,R> func,
LObjDblFunction<T,R> failSafe) |
static <T,R> void |
LObjDblFunction.fromTill(int min_i,
int max_i,
T a1,
double a2,
LObjDblFunction<T,R> func)
From-To.
|
static <T,R> void |
LObjDblFunction.fromTo(int min_i,
int max_i,
T a1,
double a2,
LObjDblFunction<T,R> func)
From-To.
|
static <T,R> R |
LObjDblFunction.handlingApply(T a1,
double a2,
LObjDblFunction<T,R> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
default LObjDblFunction<T2,R> |
LBiObjDblFunction.lShrink(LObjDblFunction<T2,T1> left) |
static <R,T> LDblFunction<R> |
LObjDblFunction.lShrinked(LDblFunction<T> left,
LObjDblFunction<T,R> func) |
static <T2,R,T1> LObjDblFunction<T2,R> |
LBiObjDblFunction.lShrinked(LObjDblFunction<T2,T1> left,
LBiObjDblFunction<T1,T2,R> func) |
static <R,T> LDblFunction<R> |
LObjDblFunction.lShrinkedc(T a1,
LObjDblFunction<T,R> func) |
static <T,R> LObjDblFunction<T,R> |
LObjDblFunction.objDblFunc(LObjDblFunction<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> |
LObjDblFunction.rShrinked(LToDblFunction<T> right,
LObjDblFunction<T,R> func) |
static <T,R> LFunction<T,R> |
LObjDblFunction.rShrinkedc(double a2,
LObjDblFunction<T,R> func) |
static <T,R> LObjDblFunction<T,R> |
LObjDblFunction.safe(LObjDblFunction<T,R> other)
Safe wrapping.
|
static <T,R> void |
LObjDblFunction.times(int max_i,
T a1,
double a2,
LObjDblFunction<T,R> func)
From-To.
|
static <T,R> R |
LObjDblFunction.tryApply(T a1,
double a2,
LObjDblFunction<T,R> func) |
static <T,R> R |
LObjDblFunction.tryApply(T a1,
double a2,
LObjDblFunction<T,R> func,
ExWF<RuntimeException> exF) |
static <T,R> R |
LObjDblFunction.tryApply(T a1,
double a2,
LObjDblFunction<T,R> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T,R> R |
LObjDblFunction.tryApplyThen(T a1,
double a2,
LObjDblFunction<T,R> func,
LFunction<Throwable,R> handler) |
| Modifier and Type | Method and Description |
|---|---|
static <T,R> LObjDblFunction<T,R> |
LObjDblFunction.recursive(LFunction<LObjDblFunction<T,R>,LObjDblFunction<T,R>> selfLambda) |
static <T,R> LObjDblFunction<T,R> |
LObjDblFunction.recursive(LFunction<LObjDblFunction<T,R>,LObjDblFunction<T,R>> selfLambda) |
static <T,R> LSupplier<LObjDblFunction<T,R>> |
LObjDblFunction.safeSupplier(LSupplier<LObjDblFunction<T,R>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default <V> LObjDblFunction<T,V> |
LObjDblPredicate.boolToObjDblFunc(LBoolFunction<? extends V> after)
Combines two functions together in a order.
|
| Modifier and Type | Method and Description |
|---|---|
default LObjDblPredicate<T2> |
LBiObjDblPredicate.lShrink(LObjDblFunction<T2,T1> left) |
static <T2,T1> LObjDblPredicate<T2> |
LBiObjDblPredicate.lShrinked(LObjDblFunction<T2,T1> left,
LBiObjDblPredicate<T1,T2> func) |
Copyright © 2019. All rights reserved.