| 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 |
|---|---|
default LObjIntConsumer<T> |
LTieIntConsumer.rShrink(LOiToIntFunction<T> right) |
static <T> LObjIntConsumer<T> |
LTieIntConsumer.rShrinked(LOiToIntFunction<T> right,
LTieIntConsumer<T> func) |
static <T,SRC> int |
LTieIntConsumer.tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LOiToIntFunction<SRC> srcAcc3,
LTieIntConsumer<? 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=int a3, type=TIE_SOURCE}, SourcePurpose{arg=int a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieIntConsumer<? super T> consumer, type=CONST}]
|
| Modifier and Type | Method and Description |
|---|---|
default LOiToIntFunction<T> |
LOiFunction.thenToInt(LToIntFunction<? super R> after)
Combines two functions together in a order.
|
| Modifier and Type | Method and Description |
|---|---|
default LOiFunction<T,R> |
LObjBiIntFunction.rShrink(LOiToIntFunction<T> right) |
static <T,R> LOiFunction<T,R> |
LObjBiIntFunction.rShrinked(LOiToIntFunction<T> right,
LObjBiIntFunction<T,R> func) |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LOiToIntFunction.LIntObjToIntFunc<T>
Permutation of LOiToIntFunction for method references.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LOiToIntFunction.LOiToIntFunctionSingle<T> |
| Modifier and Type | Method and Description |
|---|---|
static <T> LOiToIntFunction<T> |
LOiToIntFunction.apply1stAsInt(LToIntFunction<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T> LOiToIntFunction<T> |
LOiToIntFunction.apply2ndAsInt(LIntUnaryOperator func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
default <V2> LOiToIntFunction<V2> |
LOiToIntFunction.cast()
Cast that replace generics.
|
static <V2,T> LOiToIntFunction<V2> |
LOiToIntFunction.cast(LOiToIntFunction<T> function)
Cast that replace generics.
|
default <V1> LOiToIntFunction<V1> |
LOiToIntFunction.compose(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2)
Allows to manipulate the domain of the function.
|
static <V1,T> LOiToIntFunction<V1> |
LOiToIntFunction.composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LOiToIntFunction<T> after) |
static <T> LOiToIntFunction<T> |
LOiToIntFunction.constant(int r)
Creates function that always returns the same value.
|
static <T> LOiToIntFunction<T> |
LOiToIntFunction.failSafe(LOiToIntFunction<T> func,
LOiToIntFunction<T> failSafe) |
default LOiToIntFunction<T> |
LOiToIntFunction.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
static <T> LOiToIntFunction<T> |
LOiToIntFunction.oiToIntFunc(LOiToIntFunction<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LOiToIntFunction<T> |
LOiToIntFunction.oiToIntFuncThrowing(ExF<Throwable> exF) |
static <T> LOiToIntFunction<T> |
LOiToIntFunction.oiToIntFuncThrowing(String message,
ExMF<Throwable> exF) |
static <T> LOiToIntFunction<T> |
LOiToIntFunction.recursive(LFunction<LOiToIntFunction<T>,LOiToIntFunction<T>> selfLambda) |
default LOiToIntFunction<T> |
LTieIntFunction.rShrink(LOiToIntFunction<T> right) |
default LOiToIntFunction<T> |
LTieIntFunction.rShrinkc(int a3) |
static <T> LOiToIntFunction<T> |
LTieIntFunction.rShrinked(LOiToIntFunction<T> right,
LTieIntFunction<T> func) |
static <T> LOiToIntFunction<T> |
LTieIntFunction.rShrinkedc(int a3,
LTieIntFunction<T> func) |
static <T> LOiToIntFunction<T> |
LOiToIntFunction.safe()
Safe instance.
|
static <T> LOiToIntFunction<T> |
LOiToIntFunction.safe(LOiToIntFunction<T> other)
Safe wrapping.
|
default LOiToIntFunction<T> |
LOiToByteFunction.thenToInt(LByteToIntFunction after)
Combines two functions together in a order.
|
default LOiToIntFunction<T> |
LOiToCharFunction.thenToInt(LCharToIntFunction after)
Combines two functions together in a order.
|
default LOiToIntFunction<T> |
LOiToDblFunction.thenToInt(LDblToIntFunction after)
Combines two functions together in a order.
|
default LOiToIntFunction<T> |
LOiToFltFunction.thenToInt(LFltToIntFunction after)
Combines two functions together in a order.
|
default LOiToIntFunction<T> |
LOiToIntFunction.thenToInt(LIntUnaryOperator after)
Combines two functions together in a order.
|
default LOiToIntFunction<T> |
LOiToLongFunction.thenToInt(LLongToIntFunction after)
Combines two functions together in a order.
|
default LOiToIntFunction<T> |
LOiToSrtFunction.thenToInt(LSrtToIntFunction after)
Combines two functions together in a order.
|
default LOiToIntFunction<T> |
LOiToIntFunction.trying(ExWF<RuntimeException> exF) |
default LOiToIntFunction<T> |
LOiToIntFunction.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LOiToIntFunction<T> |
LOiToIntFunction.tryingThen(LToIntFunction<Throwable> handler) |
static <T> LOiToIntFunction<T> |
LOiToIntFunction.uncurry(LFunction<T,LIntUnaryOperator> func) |
default LOiToIntFunction |
LOiToIntFunction.untyped()
Cast that removes generics.
|
LOiToIntFunction<T> |
LOiToIntFunction.LOiToIntFunctionSingle.value() |
| Modifier and Type | Method and Description |
|---|---|
static <T> LSupplier<LOiToIntFunction<T>> |
LOiToIntFunction.safeSupplier()
Safe instance supplier.
|
static <T> LSupplier<LOiToIntFunction<T>> |
LOiToIntFunction.safeSupplier(LSupplier<LOiToIntFunction<T>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> int |
LOiToIntFunction.call(T a1,
int a2,
LOiToIntFunction<T> lambda) |
static <V2,T> LOiToIntFunction<V2> |
LOiToIntFunction.cast(LOiToIntFunction<T> function)
Cast that replace generics.
|
static <V1,T> LOiToIntFunction<V1> |
LOiToIntFunction.composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LOiToIntFunction<T> after) |
static <V1,V2,T> LToIntBiFunction<V1,V2> |
LOiToIntFunction.composed(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LOiToIntFunction<T> after) |
static <T> LOiToIntFunction<T> |
LOiToIntFunction.failSafe(LOiToIntFunction<T> func,
LOiToIntFunction<T> failSafe) |
static <T> LOiToIntFunction<T> |
LOiToIntFunction.failSafe(LOiToIntFunction<T> func,
LOiToIntFunction<T> failSafe) |
default int |
LOiToIntFunction.failSafeApplyAsInt(T a1,
int a2,
LOiToIntFunction<T> failSafe) |
static <T> int |
LOiToIntFunction.failSafeApplyAsInt(T a1,
int a2,
LOiToIntFunction<T> func,
LOiToIntFunction<T> failSafe) |
static <T> int |
LOiToIntFunction.failSafeApplyAsInt(T a1,
int a2,
LOiToIntFunction<T> func,
LOiToIntFunction<T> failSafe) |
static <T> void |
LOiToIntFunction.fromTill(int min_a2,
int max_a2,
T a1,
LOiToIntFunction<T> func)
From-To.
|
static <T> void |
LOiToIntFunction.fromTo(int min_a2,
int max_a2,
T a1,
LOiToIntFunction<T> func)
From-To.
|
static <T> int |
LOiToIntFunction.handlingApplyAsInt(T a1,
int a2,
LOiToIntFunction<T> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <T> LIntUnaryOperator |
LOiToIntFunction.lShrinked(LIntFunction<T> left,
LOiToIntFunction<T> func) |
static <T> LIntUnaryOperator |
LOiToIntFunction.lShrinkedc(T a1,
LOiToIntFunction<T> func) |
static <T> LOiToIntFunction<T> |
LOiToIntFunction.oiToIntFunc(LOiToIntFunction<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
default LOiToIntFunction<T> |
LTieIntFunction.rShrink(LOiToIntFunction<T> right) |
static <T> LOiToIntFunction<T> |
LTieIntFunction.rShrinked(LOiToIntFunction<T> right,
LTieIntFunction<T> func) |
static <T> LToIntFunction<T> |
LOiToIntFunction.rShrinked(LToIntFunction<T> right,
LOiToIntFunction<T> func) |
static <T> LToIntFunction<T> |
LOiToIntFunction.rShrinkedc(int a2,
LOiToIntFunction<T> func) |
static <T> LOiToIntFunction<T> |
LOiToIntFunction.safe(LOiToIntFunction<T> other)
Safe wrapping.
|
static <T,SRC> int |
LTieIntFunction.tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LOiToIntFunction<SRC> srcAcc3,
LTieIntFunction<? 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=int a3, type=TIE_SOURCE}, SourcePurpose{arg=int a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieIntFunction<? super T> consumer, type=CONST}]
|
static <T> void |
LOiToIntFunction.times(int max_a2,
T a1,
LOiToIntFunction<T> func)
From-To.
|
static <T> int |
LOiToIntFunction.tryApplyAsInt(T a1,
int a2,
LOiToIntFunction<T> func) |
static <T> int |
LOiToIntFunction.tryApplyAsInt(T a1,
int a2,
LOiToIntFunction<T> func,
ExWF<RuntimeException> exF) |
static <T> int |
LOiToIntFunction.tryApplyAsInt(T a1,
int a2,
LOiToIntFunction<T> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T> int |
LOiToIntFunction.tryApplyAsIntThen(T a1,
int a2,
LOiToIntFunction<T> func,
LToIntFunction<Throwable> handler) |
| Modifier and Type | Method and Description |
|---|---|
static <T> LOiToIntFunction<T> |
LOiToIntFunction.recursive(LFunction<LOiToIntFunction<T>,LOiToIntFunction<T>> selfLambda) |
static <T> LOiToIntFunction<T> |
LOiToIntFunction.recursive(LFunction<LOiToIntFunction<T>,LOiToIntFunction<T>> selfLambda) |
static <T> LSupplier<LOiToIntFunction<T>> |
LOiToIntFunction.safeSupplier(LSupplier<LOiToIntFunction<T>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LOiToIntFunction<T> |
LObjIntPredicate.boolToOiToIntFunc(LBoolToIntFunction after)
Combines two functions together in a order.
|
| Modifier and Type | Method and Description |
|---|---|
default <V> int |
LIntPredicate.doIf(V a1,
int a2,
LOiToIntFunction<V> consumer)
2
|
default LObjIntPredicate<T> |
LObjBiIntPredicate.rShrink(LOiToIntFunction<T> right) |
static <T> LObjIntPredicate<T> |
LObjBiIntPredicate.rShrinked(LOiToIntFunction<T> right,
LObjBiIntPredicate<T> func) |
Copyright © 2019. All rights reserved.