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