| 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 LTieIntFunction<T> |
LTieIntConsumer.toTieFunction() |
| Modifier and Type | Method and Description |
|---|---|
default LTieIntFunction<T> |
LObjBiIntFunction.thenToInt(LToIntFunction<? super R> after)
Combines two functions together in a order.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LTieIntFunction.LBiInt1Obj0ToIntFunc<T>
Permutation of LTieIntFunction for method references.
|
static interface |
LTieIntFunction.LInt1Int2Obj0ToIntFunc<T>
Permutation of LTieIntFunction for method references.
|
static interface |
LTieIntFunction.LInt1Obj0Int2ToIntFunc<T>
Permutation of LTieIntFunction for method references.
|
static interface |
LTieIntFunction.LInt2Obj0Int1ToIntFunc<T>
Permutation of LTieIntFunction for method references.
|
static interface |
LTieIntFunction.LObj0Int2Int1ToIntFunc<T>
Permutation of LTieIntFunction for method references.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LTieIntFunction.LTieIntFunctionSingle<T> |
| Modifier and Type | Method and Description |
|---|---|
static <T> LTieIntFunction<T> |
LTieIntFunction.apply1stAsInt(LToIntFunction<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T> LTieIntFunction<T> |
LTieIntFunction.apply2ndAsInt(LIntUnaryOperator func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static <T> LTieIntFunction<T> |
LTieIntFunction.apply3rdAsInt(LIntUnaryOperator func)
Captures single parameter function into this interface where only 3rd parameter will be used.
|
default <V2> LTieIntFunction<V2> |
LTieIntFunction.cast()
Cast that replace generics.
|
static <V2,T> LTieIntFunction<V2> |
LTieIntFunction.cast(LTieIntFunction<T> function)
Cast that replace generics.
|
default <V1> LTieIntFunction<V1> |
LTieIntFunction.compose(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LIntUnaryOperator before3)
Allows to manipulate the domain of the function.
|
static <V1,T> LTieIntFunction<V1> |
LTieIntFunction.composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LIntUnaryOperator before3,
LTieIntFunction<T> after) |
static <T> LTieIntFunction<T> |
LTieIntFunction.constant(int r)
Creates function that always returns the same value.
|
static <T> LTieIntFunction<T> |
LTieIntFunction.failSafe(LTieIntFunction<T> func,
LTieIntFunction<T> failSafe) |
default LTieIntFunction<T> |
LTieIntFunction.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
static <T> LTieIntFunction<T> |
LTieIntFunction.recursive(LFunction<LTieIntFunction<T>,LTieIntFunction<T>> selfLambda) |
static <T> LTieIntFunction<T> |
LTieIntFunction.safe()
Safe instance.
|
static <T> LTieIntFunction<T> |
LTieIntFunction.safe(LTieIntFunction<T> other)
Safe wrapping.
|
default LTieIntFunction<T> |
LTieIntFunction.thenToInt(LIntUnaryOperator after)
Combines two functions together in a order.
|
static <T> LTieIntFunction<T> |
LTieIntFunction.tieIntFunc(LTieIntFunction<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieIntFunction<T> |
LTieIntFunction.tieIntFuncThrowing(ExF<Throwable> exF) |
static <T> LTieIntFunction<T> |
LTieIntFunction.tieIntFuncThrowing(String message,
ExMF<Throwable> exF) |
default LTieIntFunction<T> |
LTieIntFunction.trying(ExWF<RuntimeException> exF) |
default LTieIntFunction<T> |
LTieIntFunction.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LTieIntFunction<T> |
LTieIntFunction.tryingThen(LToIntFunction<Throwable> handler) |
static <T> LTieIntFunction<T> |
LTieIntFunction.uncurry(LFunction<T,LIntFunction<LIntUnaryOperator>> func) |
default LTieIntFunction |
LTieIntFunction.untyped()
Cast that removes generics.
|
LTieIntFunction<T> |
LTieIntFunction.LTieIntFunctionSingle.value() |
| Modifier and Type | Method and Description |
|---|---|
static <T> LSupplier<LTieIntFunction<T>> |
LTieIntFunction.safeSupplier()
Safe instance supplier.
|
static <T> LSupplier<LTieIntFunction<T>> |
LTieIntFunction.safeSupplier(LSupplier<LTieIntFunction<T>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> int |
LTieIntFunction.call(T a1,
int a2,
int a3,
LTieIntFunction<T> lambda) |
static <V2,T> LTieIntFunction<V2> |
LTieIntFunction.cast(LTieIntFunction<T> function)
Cast that replace generics.
|
static <V1,T> LTieIntFunction<V1> |
LTieIntFunction.composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LIntUnaryOperator before3,
LTieIntFunction<T> after) |
static <V1,V2,V3,T> |
LTieIntFunction.composed(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LToIntFunction<? super V3> before3,
LTieIntFunction<T> after) |
static <T> LTieIntFunction<T> |
LTieIntFunction.failSafe(LTieIntFunction<T> func,
LTieIntFunction<T> failSafe) |
static <T> LTieIntFunction<T> |
LTieIntFunction.failSafe(LTieIntFunction<T> func,
LTieIntFunction<T> failSafe) |
default int |
LTieIntFunction.failSafeApplyAsInt(T a1,
int a2,
int a3,
LTieIntFunction<T> failSafe) |
static <T> int |
LTieIntFunction.failSafeApplyAsInt(T a1,
int a2,
int a3,
LTieIntFunction<T> func,
LTieIntFunction<T> failSafe) |
static <T> int |
LTieIntFunction.failSafeApplyAsInt(T a1,
int a2,
int a3,
LTieIntFunction<T> func,
LTieIntFunction<T> failSafe) |
static <T> void |
LTieIntFunction.fromTill(int min_i,
int max_i,
T a1,
int a2,
int a3,
LTieIntFunction<T> func)
From-To.
|
static <T> void |
LTieIntFunction.fromTo(int min_i,
int max_i,
T a1,
int a2,
int a3,
LTieIntFunction<T> func)
From-To.
|
static <T> int |
LTieIntFunction.handlingApplyAsInt(T a1,
int a2,
int a3,
LTieIntFunction<T> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <T> LIntBinaryOperator |
LTieIntFunction.lShrinked(LBiIntFunction<T> left,
LTieIntFunction<T> func) |
static <T> LIntBinaryOperator |
LTieIntFunction.lShrinkedc(T a1,
LTieIntFunction<T> func) |
static <T,C3> T |
LTieIntFunction.ntiForEach(LIntFunction<T> trgFactory1,
IndexedRead<C3,aType.aInt> ia3,
C3 source3,
LTieIntFunction<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH_NEW: FOR, [SourcePurpose{arg=T trg1, type=SIZE_FACTORY}, SourcePurpose{arg=int a3, type=IA}, SourcePurpose{arg=LTieIntFunction<? super T> consumer, type=CONST}]
|
static <T,C3,I3> T |
LTieIntFunction.ntiIterate(LSupplier<T> source1,
SequentialRead<C3,I3,aType.aInt> sa3,
C3 source3,
LTieIntFunction<? super T> consumer)
ITERATION: TARGETED_INDEXED_ITERATE_NEW: WHILE, [SourcePurpose{arg=T trg1, type=SUPPLIER}, SourcePurpose{arg=int a3, type=SA}, SourcePurpose{arg=LTieIntFunction<? super T> consumer, type=CONST}]
|
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> LTieIntFunction<T> |
LTieIntFunction.safe(LTieIntFunction<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,SRC> int |
LTieIntFunction.tieForEach(int sStart,
int tStart,
T trg1,
SRC src3,
LPredicate<SRC> srcTest3,
LToIntFunction<SRC> srcAcc3,
LTieIntFunction<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T,C3> int |
LTieIntFunction.tieForEach(T trg1,
IndexedRead<C3,aType.aInt> ia3,
C3 source3,
LTieIntFunction<? super T> consumer)
ITERATION: TIE_CONSUMER_SHORT: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=int a3, type=IA}, SourcePurpose{arg=LTieIntFunction<? super T> consumer, type=CONST}]
|
static <T> LTieIntFunction<T> |
LTieIntFunction.tieIntFunc(LTieIntFunction<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T,C3,I3> int |
LTieIntFunction.tieIterate(T trg1,
SequentialRead<C3,I3,aType.aInt> sa3,
C3 source3,
LTieIntFunction<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T,C3> T |
LTieIntFunction.tiForEach(T trg1,
IndexedRead<C3,aType.aInt> ia3,
C3 source3,
LTieIntFunction<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=int a3, type=IA}, SourcePurpose{arg=LTieIntFunction<? super T> consumer, type=CONST}]
|
static <T,C3,I3> T |
LTieIntFunction.tiIterate(T trg1,
SequentialRead<C3,I3,aType.aInt> sa3,
C3 source3,
LTieIntFunction<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T> void |
LTieIntFunction.times(int max_i,
T a1,
int a2,
int a3,
LTieIntFunction<T> func)
From-To.
|
static <T> int |
LTieIntFunction.tryApplyAsInt(T a1,
int a2,
int a3,
LTieIntFunction<T> func) |
static <T> int |
LTieIntFunction.tryApplyAsInt(T a1,
int a2,
int a3,
LTieIntFunction<T> func,
ExWF<RuntimeException> exF) |
static <T> int |
LTieIntFunction.tryApplyAsInt(T a1,
int a2,
int a3,
LTieIntFunction<T> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T> int |
LTieIntFunction.tryApplyAsIntThen(T a1,
int a2,
int a3,
LTieIntFunction<T> func,
LToIntFunction<Throwable> handler) |
| Modifier and Type | Method and Description |
|---|---|
static <T> LTieIntFunction<T> |
LTieIntFunction.recursive(LFunction<LTieIntFunction<T>,LTieIntFunction<T>> selfLambda) |
static <T> LTieIntFunction<T> |
LTieIntFunction.recursive(LFunction<LTieIntFunction<T>,LTieIntFunction<T>> selfLambda) |
static <T> LSupplier<LTieIntFunction<T>> |
LTieIntFunction.safeSupplier(LSupplier<LTieIntFunction<T>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LTieIntFunction<T> |
LObjBiIntPredicate.boolToTieIntFunc(LBoolToIntFunction after)
Combines two functions together in a order.
|
| Modifier and Type | Method and Description |
|---|---|
default <V> int |
LIntPredicate.doIf(V a1,
int a2,
int a3,
LTieIntFunction<? super V> consumer) |
default <V> int |
LBiIntPredicate.doIf(V a1,
int a2,
int a3,
LTieIntFunction<V> consumer)
2
|
default <V> int |
LBiIntPredicate.doIfReverse(V a1,
int a2,
int a3,
LTieIntFunction<? super V> consumer) |
Copyright © 2019. All rights reserved.