| Package | Description |
|---|---|
| eu.lunisolar.magma.func.consumer.primitives.obj | |
| eu.lunisolar.magma.func.function.from | |
| eu.lunisolar.magma.func.function.to | |
| eu.lunisolar.magma.func.predicate |
| Modifier and Type | Method and Description |
|---|---|
static <T,SRC> int |
LTieDblConsumer.tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LOiToDblFunction<SRC> srcAcc3,
LTieDblConsumer<? super T> consumer)
ITERATION: TIE_CONSUMER: FOR, [SourcePurpose{arg=int sStart, type=CONST}, SourcePurpose{arg=int sEnd, type=CONST}, SourcePurpose{arg=int tStart, type=CONST}, SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=double a3, type=TIE_SOURCE}, SourcePurpose{arg=double a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieDblConsumer<? super T> consumer, type=CONST}]
|
| Modifier and Type | Method and Description |
|---|---|
default LOiToDblFunction<T> |
LOiFunction.thenToDbl(LToDblFunction<? super R> after)
Combines two functions together in a order.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LOiToDblFunction.LIntObjToDblFunc<T>
Permutation of LOiToDblFunction for method references.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LOiToDblFunction.LOiToDblFunctionSingle<T> |
| Modifier and Type | Method and Description |
|---|---|
static <T> LOiToDblFunction<T> |
LOiToDblFunction.apply1stAsDbl(LToDblFunction<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T> LOiToDblFunction<T> |
LOiToDblFunction.apply2ndAsDbl(LIntToDblFunction func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
default <V2> LOiToDblFunction<V2> |
LOiToDblFunction.cast()
Cast that replace generics.
|
static <V2,T> LOiToDblFunction<V2> |
LOiToDblFunction.cast(LOiToDblFunction<T> function)
Cast that replace generics.
|
default <V1> LOiToDblFunction<V1> |
LOiToDblFunction.compose(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2)
Allows to manipulate the domain of the function.
|
static <V1,T> LOiToDblFunction<V1> |
LOiToDblFunction.composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LOiToDblFunction<T> after) |
static <T> LOiToDblFunction<T> |
LOiToDblFunction.constant(double r)
Creates function that always returns the same value.
|
static <T> LOiToDblFunction<T> |
LOiToDblFunction.failSafe(LOiToDblFunction<T> func,
LOiToDblFunction<T> failSafe) |
default LOiToDblFunction<T> |
LOiToDblFunction.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
static <T> LOiToDblFunction<T> |
LOiToDblFunction.oiToDblFunc(LOiToDblFunction<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LOiToDblFunction<T> |
LOiToDblFunction.oiToDblFuncThrowing(ExF<Throwable> exF) |
static <T> LOiToDblFunction<T> |
LOiToDblFunction.oiToDblFuncThrowing(String message,
ExMF<Throwable> exF) |
static <T> LOiToDblFunction<T> |
LOiToDblFunction.recursive(LFunction<LOiToDblFunction<T>,LOiToDblFunction<T>> selfLambda) |
static <T> LOiToDblFunction<T> |
LOiToDblFunction.safe()
Safe instance.
|
static <T> LOiToDblFunction<T> |
LOiToDblFunction.safe(LOiToDblFunction<T> other)
Safe wrapping.
|
default LOiToDblFunction<T> |
LOiToByteFunction.thenToDbl(LByteToDblFunction after)
Combines two functions together in a order.
|
default LOiToDblFunction<T> |
LOiToCharFunction.thenToDbl(LCharToDblFunction after)
Combines two functions together in a order.
|
default LOiToDblFunction<T> |
LOiToDblFunction.thenToDbl(LDblUnaryOperator after)
Combines two functions together in a order.
|
default LOiToDblFunction<T> |
LOiToFltFunction.thenToDbl(LFltToDblFunction after)
Combines two functions together in a order.
|
default LOiToDblFunction<T> |
LOiToIntFunction.thenToDbl(LIntToDblFunction after)
Combines two functions together in a order.
|
default LOiToDblFunction<T> |
LOiToLongFunction.thenToDbl(LLongToDblFunction after)
Combines two functions together in a order.
|
default LOiToDblFunction<T> |
LOiToSrtFunction.thenToDbl(LSrtToDblFunction after)
Combines two functions together in a order.
|
default LOiToDblFunction<T> |
LOiToDblFunction.trying(ExWF<RuntimeException> exF) |
default LOiToDblFunction<T> |
LOiToDblFunction.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LOiToDblFunction<T> |
LOiToDblFunction.tryingThen(LToDblFunction<Throwable> handler) |
static <T> LOiToDblFunction<T> |
LOiToDblFunction.uncurry(LFunction<T,LIntToDblFunction> func) |
default LOiToDblFunction |
LOiToDblFunction.untyped()
Cast that removes generics.
|
LOiToDblFunction<T> |
LOiToDblFunction.LOiToDblFunctionSingle.value() |
| Modifier and Type | Method and Description |
|---|---|
static <T> LSupplier<LOiToDblFunction<T>> |
LOiToDblFunction.safeSupplier()
Safe instance supplier.
|
static <T> LSupplier<LOiToDblFunction<T>> |
LOiToDblFunction.safeSupplier(LSupplier<LOiToDblFunction<T>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> double |
LOiToDblFunction.call(T a1,
int a2,
LOiToDblFunction<T> lambda) |
static <V2,T> LOiToDblFunction<V2> |
LOiToDblFunction.cast(LOiToDblFunction<T> function)
Cast that replace generics.
|
static <V1,T> LOiToDblFunction<V1> |
LOiToDblFunction.composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LOiToDblFunction<T> after) |
static <V1,V2,T> LToDblBiFunction<V1,V2> |
LOiToDblFunction.composed(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LOiToDblFunction<T> after) |
static <T> LOiToDblFunction<T> |
LOiToDblFunction.failSafe(LOiToDblFunction<T> func,
LOiToDblFunction<T> failSafe) |
static <T> LOiToDblFunction<T> |
LOiToDblFunction.failSafe(LOiToDblFunction<T> func,
LOiToDblFunction<T> failSafe) |
default double |
LOiToDblFunction.failSafeApplyAsDbl(T a1,
int a2,
LOiToDblFunction<T> failSafe) |
static <T> double |
LOiToDblFunction.failSafeApplyAsDbl(T a1,
int a2,
LOiToDblFunction<T> func,
LOiToDblFunction<T> failSafe) |
static <T> double |
LOiToDblFunction.failSafeApplyAsDbl(T a1,
int a2,
LOiToDblFunction<T> func,
LOiToDblFunction<T> failSafe) |
static <T> void |
LOiToDblFunction.fromTill(int min_a2,
int max_a2,
T a1,
LOiToDblFunction<T> func)
From-To.
|
static <T> void |
LOiToDblFunction.fromTo(int min_a2,
int max_a2,
T a1,
LOiToDblFunction<T> func)
From-To.
|
static <T> double |
LOiToDblFunction.handlingApplyAsDbl(T a1,
int a2,
LOiToDblFunction<T> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <T> LIntToDblFunction |
LOiToDblFunction.lShrinked(LIntFunction<T> left,
LOiToDblFunction<T> func) |
static <T> LIntToDblFunction |
LOiToDblFunction.lShrinkedc(T a1,
LOiToDblFunction<T> func) |
static <T> LOiToDblFunction<T> |
LOiToDblFunction.oiToDblFunc(LOiToDblFunction<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LToDblFunction<T> |
LOiToDblFunction.rShrinked(LToIntFunction<T> right,
LOiToDblFunction<T> func) |
static <T> LToDblFunction<T> |
LOiToDblFunction.rShrinkedc(int a2,
LOiToDblFunction<T> func) |
static <T> LOiToDblFunction<T> |
LOiToDblFunction.safe(LOiToDblFunction<T> other)
Safe wrapping.
|
static <T,SRC> int |
LTieDblFunction.tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LOiToDblFunction<SRC> srcAcc3,
LTieDblFunction<? super T> consumer)
ITERATION: TIE_CONSUMER: FOR, [SourcePurpose{arg=int sStart, type=CONST}, SourcePurpose{arg=int sEnd, type=CONST}, SourcePurpose{arg=int tStart, type=CONST}, SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=double a3, type=TIE_SOURCE}, SourcePurpose{arg=double a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieDblFunction<? super T> consumer, type=CONST}]
|
static <T> void |
LOiToDblFunction.times(int max_a2,
T a1,
LOiToDblFunction<T> func)
From-To.
|
static <T> double |
LOiToDblFunction.tryApplyAsDbl(T a1,
int a2,
LOiToDblFunction<T> func) |
static <T> double |
LOiToDblFunction.tryApplyAsDbl(T a1,
int a2,
LOiToDblFunction<T> func,
ExWF<RuntimeException> exF) |
static <T> double |
LOiToDblFunction.tryApplyAsDbl(T a1,
int a2,
LOiToDblFunction<T> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T> double |
LOiToDblFunction.tryApplyAsDblThen(T a1,
int a2,
LOiToDblFunction<T> func,
LToDblFunction<Throwable> handler) |
| Modifier and Type | Method and Description |
|---|---|
static <T> LOiToDblFunction<T> |
LOiToDblFunction.recursive(LFunction<LOiToDblFunction<T>,LOiToDblFunction<T>> selfLambda) |
static <T> LOiToDblFunction<T> |
LOiToDblFunction.recursive(LFunction<LOiToDblFunction<T>,LOiToDblFunction<T>> selfLambda) |
static <T> LSupplier<LOiToDblFunction<T>> |
LOiToDblFunction.safeSupplier(LSupplier<LOiToDblFunction<T>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LOiToDblFunction<T> |
LObjIntPredicate.boolToOiToDblFunc(LBoolToDblFunction after)
Combines two functions together in a order.
|
Copyright © 2019. All rights reserved.