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