| 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 |
LTieSrtConsumer.tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LOiToSrtFunction<SRC> srcAcc3,
LTieSrtConsumer<? 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=short a3, type=TIE_SOURCE}, SourcePurpose{arg=short a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieSrtConsumer<? super T> consumer, type=CONST}]
|
| Modifier and Type | Method and Description |
|---|---|
default LOiToSrtFunction<T> |
LOiFunction.thenToSrt(LToSrtFunction<? super R> after)
Combines two functions together in a order.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LOiToSrtFunction.LIntObjToSrtFunc<T>
Permutation of LOiToSrtFunction for method references.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LOiToSrtFunction.LOiToSrtFunctionSingle<T> |
| Modifier and Type | Method and Description |
|---|---|
static <T> LOiToSrtFunction<T> |
LOiToSrtFunction.apply1stAsSrt(LToSrtFunction<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T> LOiToSrtFunction<T> |
LOiToSrtFunction.apply2ndAsSrt(LIntToSrtFunction func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
default <V2> LOiToSrtFunction<V2> |
LOiToSrtFunction.cast()
Cast that replace generics.
|
static <V2,T> LOiToSrtFunction<V2> |
LOiToSrtFunction.cast(LOiToSrtFunction<T> function)
Cast that replace generics.
|
default <V1> LOiToSrtFunction<V1> |
LOiToSrtFunction.compose(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2)
Allows to manipulate the domain of the function.
|
static <V1,T> LOiToSrtFunction<V1> |
LOiToSrtFunction.composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LOiToSrtFunction<T> after) |
static <T> LOiToSrtFunction<T> |
LOiToSrtFunction.constant(short r)
Creates function that always returns the same value.
|
static <T> LOiToSrtFunction<T> |
LOiToSrtFunction.failSafe(LOiToSrtFunction<T> func,
LOiToSrtFunction<T> failSafe) |
default LOiToSrtFunction<T> |
LOiToSrtFunction.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
static <T> LOiToSrtFunction<T> |
LOiToSrtFunction.oiToSrtFunc(LOiToSrtFunction<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LOiToSrtFunction<T> |
LOiToSrtFunction.oiToSrtFuncThrowing(ExF<Throwable> exF) |
static <T> LOiToSrtFunction<T> |
LOiToSrtFunction.oiToSrtFuncThrowing(String message,
ExMF<Throwable> exF) |
static <T> LOiToSrtFunction<T> |
LOiToSrtFunction.recursive(LFunction<LOiToSrtFunction<T>,LOiToSrtFunction<T>> selfLambda) |
static <T> LOiToSrtFunction<T> |
LOiToSrtFunction.safe()
Safe instance.
|
static <T> LOiToSrtFunction<T> |
LOiToSrtFunction.safe(LOiToSrtFunction<T> other)
Safe wrapping.
|
default LOiToSrtFunction<T> |
LOiToByteFunction.thenToSrt(LByteToSrtFunction after)
Combines two functions together in a order.
|
default LOiToSrtFunction<T> |
LOiToCharFunction.thenToSrt(LCharToSrtFunction after)
Combines two functions together in a order.
|
default LOiToSrtFunction<T> |
LOiToDblFunction.thenToSrt(LDblToSrtFunction after)
Combines two functions together in a order.
|
default LOiToSrtFunction<T> |
LOiToFltFunction.thenToSrt(LFltToSrtFunction after)
Combines two functions together in a order.
|
default LOiToSrtFunction<T> |
LOiToIntFunction.thenToSrt(LIntToSrtFunction after)
Combines two functions together in a order.
|
default LOiToSrtFunction<T> |
LOiToLongFunction.thenToSrt(LLongToSrtFunction after)
Combines two functions together in a order.
|
default LOiToSrtFunction<T> |
LOiToSrtFunction.thenToSrt(LSrtUnaryOperator after)
Combines two functions together in a order.
|
default LOiToSrtFunction<T> |
LOiToSrtFunction.trying(ExWF<RuntimeException> exF) |
default LOiToSrtFunction<T> |
LOiToSrtFunction.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LOiToSrtFunction<T> |
LOiToSrtFunction.tryingThen(LToSrtFunction<Throwable> handler) |
static <T> LOiToSrtFunction<T> |
LOiToSrtFunction.uncurry(LFunction<T,LIntToSrtFunction> func) |
default LOiToSrtFunction |
LOiToSrtFunction.untyped()
Cast that removes generics.
|
LOiToSrtFunction<T> |
LOiToSrtFunction.LOiToSrtFunctionSingle.value() |
| Modifier and Type | Method and Description |
|---|---|
static <T> LSupplier<LOiToSrtFunction<T>> |
LOiToSrtFunction.safeSupplier()
Safe instance supplier.
|
static <T> LSupplier<LOiToSrtFunction<T>> |
LOiToSrtFunction.safeSupplier(LSupplier<LOiToSrtFunction<T>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> short |
LOiToSrtFunction.call(T a1,
int a2,
LOiToSrtFunction<T> lambda) |
static <V2,T> LOiToSrtFunction<V2> |
LOiToSrtFunction.cast(LOiToSrtFunction<T> function)
Cast that replace generics.
|
static <V1,T> LOiToSrtFunction<V1> |
LOiToSrtFunction.composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LOiToSrtFunction<T> after) |
static <V1,V2,T> LToSrtBiFunction<V1,V2> |
LOiToSrtFunction.composed(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LOiToSrtFunction<T> after) |
static <T> LOiToSrtFunction<T> |
LOiToSrtFunction.failSafe(LOiToSrtFunction<T> func,
LOiToSrtFunction<T> failSafe) |
static <T> LOiToSrtFunction<T> |
LOiToSrtFunction.failSafe(LOiToSrtFunction<T> func,
LOiToSrtFunction<T> failSafe) |
default short |
LOiToSrtFunction.failSafeApplyAsSrt(T a1,
int a2,
LOiToSrtFunction<T> failSafe) |
static <T> short |
LOiToSrtFunction.failSafeApplyAsSrt(T a1,
int a2,
LOiToSrtFunction<T> func,
LOiToSrtFunction<T> failSafe) |
static <T> short |
LOiToSrtFunction.failSafeApplyAsSrt(T a1,
int a2,
LOiToSrtFunction<T> func,
LOiToSrtFunction<T> failSafe) |
static <T> void |
LOiToSrtFunction.fromTill(int min_a2,
int max_a2,
T a1,
LOiToSrtFunction<T> func)
From-To.
|
static <T> void |
LOiToSrtFunction.fromTo(int min_a2,
int max_a2,
T a1,
LOiToSrtFunction<T> func)
From-To.
|
static <T> short |
LOiToSrtFunction.handlingApplyAsSrt(T a1,
int a2,
LOiToSrtFunction<T> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <T> LIntToSrtFunction |
LOiToSrtFunction.lShrinked(LIntFunction<T> left,
LOiToSrtFunction<T> func) |
static <T> LIntToSrtFunction |
LOiToSrtFunction.lShrinkedc(T a1,
LOiToSrtFunction<T> func) |
static <T> LOiToSrtFunction<T> |
LOiToSrtFunction.oiToSrtFunc(LOiToSrtFunction<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LToSrtFunction<T> |
LOiToSrtFunction.rShrinked(LToIntFunction<T> right,
LOiToSrtFunction<T> func) |
static <T> LToSrtFunction<T> |
LOiToSrtFunction.rShrinkedc(int a2,
LOiToSrtFunction<T> func) |
static <T> LOiToSrtFunction<T> |
LOiToSrtFunction.safe(LOiToSrtFunction<T> other)
Safe wrapping.
|
static <T,SRC> int |
LTieSrtFunction.tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LOiToSrtFunction<SRC> srcAcc3,
LTieSrtFunction<? 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=short a3, type=TIE_SOURCE}, SourcePurpose{arg=short a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieSrtFunction<? super T> consumer, type=CONST}]
|
static <T> void |
LOiToSrtFunction.times(int max_a2,
T a1,
LOiToSrtFunction<T> func)
From-To.
|
static <T> short |
LOiToSrtFunction.tryApplyAsSrt(T a1,
int a2,
LOiToSrtFunction<T> func) |
static <T> short |
LOiToSrtFunction.tryApplyAsSrt(T a1,
int a2,
LOiToSrtFunction<T> func,
ExWF<RuntimeException> exF) |
static <T> short |
LOiToSrtFunction.tryApplyAsSrt(T a1,
int a2,
LOiToSrtFunction<T> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T> short |
LOiToSrtFunction.tryApplyAsSrtThen(T a1,
int a2,
LOiToSrtFunction<T> func,
LToSrtFunction<Throwable> handler) |
| Modifier and Type | Method and Description |
|---|---|
static <T> LOiToSrtFunction<T> |
LOiToSrtFunction.recursive(LFunction<LOiToSrtFunction<T>,LOiToSrtFunction<T>> selfLambda) |
static <T> LOiToSrtFunction<T> |
LOiToSrtFunction.recursive(LFunction<LOiToSrtFunction<T>,LOiToSrtFunction<T>> selfLambda) |
static <T> LSupplier<LOiToSrtFunction<T>> |
LOiToSrtFunction.safeSupplier(LSupplier<LOiToSrtFunction<T>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LOiToSrtFunction<T> |
LObjIntPredicate.boolToOiToSrtFunc(LBoolToSrtFunction after)
Combines two functions together in a order.
|
Copyright © 2019. All rights reserved.