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