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