| Package | Description |
|---|---|
| eu.lunisolar.magma.func.consumer.primitives.obj | |
| eu.lunisolar.magma.func.function.from | |
| eu.lunisolar.magma.func.predicate |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LTieSrtConsumer.LIntObjSrtCons<T>
Permutation of LTieSrtConsumer for method references.
|
static interface |
LTieSrtConsumer.LIntSrtObjCons<T>
Permutation of LTieSrtConsumer for method references.
|
static interface |
LTieSrtConsumer.LObjSrtIntCons<T>
Permutation of LTieSrtConsumer for method references.
|
static interface |
LTieSrtConsumer.LSrtIntObjCons<T>
Permutation of LTieSrtConsumer for method references.
|
static interface |
LTieSrtConsumer.LSrtObjIntCons<T>
Permutation of LTieSrtConsumer for method references.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LTieSrtConsumer.LTieSrtConsumerSingle<T> |
| Modifier and Type | Method and Description |
|---|---|
static <T> LTieSrtConsumer<T> |
LTieSrtConsumer.accept1st(LConsumer<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T> LTieSrtConsumer<T> |
LTieSrtConsumer.accept2nd(LIntConsumer func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static <T> LTieSrtConsumer<T> |
LTieSrtConsumer.accept3rd(LSrtConsumer func)
Captures single parameter function into this interface where only 3rd parameter will be used.
|
default LTieSrtConsumer<T> |
LTieSrtConsumer.andThen(LTieSrtConsumer<? super T> after)
Combines two LTieSrtConsumer
|
default <V2> LTieSrtConsumer<V2> |
LTieSrtConsumer.cast()
Cast that replace generics.
|
static <V2,T> LTieSrtConsumer<V2> |
LTieSrtConsumer.cast(LTieSrtConsumer<T> function)
Cast that replace generics.
|
default <V1> LTieSrtConsumer<V1> |
LTieSrtConsumer.compose(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LSrtUnaryOperator before3)
Allows to manipulate the domain of the function.
|
static <V1,T> LTieSrtConsumer<V1> |
LTieSrtConsumer.composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LSrtUnaryOperator before3,
LTieSrtConsumer<T> after) |
static <T> LTieSrtConsumer<T> |
LTieSrtConsumer.failSafe(LTieSrtConsumer<T> func,
LTieSrtConsumer<T> failSafe) |
default LTieSrtConsumer<T> |
LTieSrtConsumer.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
static <T> LTieSrtConsumer<T> |
LTieSrtConsumer.recursive(LFunction<LTieSrtConsumer<T>,LTieSrtConsumer<T>> selfLambda) |
static <T> LTieSrtConsumer<T> |
LTieSrtConsumer.safe()
Safe instance.
|
static <T> LTieSrtConsumer<T> |
LTieSrtConsumer.safe(LTieSrtConsumer<T> other)
Safe wrapping.
|
static <T> LTieSrtConsumer<T> |
LTieSrtConsumer.tieSrtCons(LTieSrtConsumer<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieSrtConsumer<T> |
LTieSrtConsumer.tieSrtConsThrowing(ExF<Throwable> exF) |
static <T> LTieSrtConsumer<T> |
LTieSrtConsumer.tieSrtConsThrowing(String message,
ExMF<Throwable> exF) |
default LTieSrtConsumer<T> |
LTieSrtConsumer.trying(ExWF<RuntimeException> exF) |
default LTieSrtConsumer<T> |
LTieSrtConsumer.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LTieSrtConsumer<T> |
LTieSrtConsumer.tryingThen(LConsumer<Throwable> handler) |
static <T> LTieSrtConsumer<T> |
LTieSrtConsumer.uncurry(LFunction<T,LIntFunction<LSrtConsumer>> func) |
default LTieSrtConsumer |
LTieSrtConsumer.untyped()
Cast that removes generics.
|
LTieSrtConsumer<T> |
LTieSrtConsumer.LTieSrtConsumerSingle.value() |
| Modifier and Type | Method and Description |
|---|---|
static <T> LSupplier<LTieSrtConsumer<T>> |
LTieSrtConsumer.safeSupplier()
Safe instance supplier.
|
static <T> LSupplier<LTieSrtConsumer<T>> |
LTieSrtConsumer.safeSupplier(LSupplier<LTieSrtConsumer<T>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LTieSrtConsumer<T> |
LTieSrtConsumer.andThen(LTieSrtConsumer<? super T> after)
Combines two LTieSrtConsumer
|
static <T> void |
LTieSrtConsumer.call(T a1,
int a2,
short a3,
LTieSrtConsumer<T> lambda) |
static <V2,T> LTieSrtConsumer<V2> |
LTieSrtConsumer.cast(LTieSrtConsumer<T> function)
Cast that replace generics.
|
static <V1,T> LTieSrtConsumer<V1> |
LTieSrtConsumer.composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LSrtUnaryOperator before3,
LTieSrtConsumer<T> after) |
static <V1,V2,V3,T> |
LTieSrtConsumer.composed(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LToSrtFunction<? super V3> before3,
LTieSrtConsumer<T> after) |
static <T> LTieSrtConsumer<T> |
LTieSrtConsumer.failSafe(LTieSrtConsumer<T> func,
LTieSrtConsumer<T> failSafe) |
static <T> LTieSrtConsumer<T> |
LTieSrtConsumer.failSafe(LTieSrtConsumer<T> func,
LTieSrtConsumer<T> failSafe) |
default void |
LTieSrtConsumer.failSafeAccept(T a1,
int a2,
short a3,
LTieSrtConsumer<T> failSafe) |
static <T> void |
LTieSrtConsumer.failSafeAccept(T a1,
int a2,
short a3,
LTieSrtConsumer<T> func,
LTieSrtConsumer<T> failSafe) |
static <T> void |
LTieSrtConsumer.failSafeAccept(T a1,
int a2,
short a3,
LTieSrtConsumer<T> func,
LTieSrtConsumer<T> failSafe) |
static <C1,C2,C3,T> |
LTieSrtConsumer.forEach(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T> void |
LTieSrtConsumer.fromTill(int min_a2,
int max_a2,
T a1,
short a3,
LTieSrtConsumer<T> func)
From-To.
|
static <T> void |
LTieSrtConsumer.fromTo(int min_a2,
int max_a2,
T a1,
short a3,
LTieSrtConsumer<T> func)
From-To.
|
static <T> void |
LTieSrtConsumer.handlingAccept(T a1,
int a2,
short a3,
LTieSrtConsumer<T> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <C1,C3,T> int |
LTieSrtConsumer.indexedForEach(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,C3,I3,T> |
LTieSrtConsumer.indexedIterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1,C3,T> |
LTieSrtConsumer.indexedIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1,C3,I3,T> |
LTieSrtConsumer.indexedIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,C2,C3,I3,T> |
LTieSrtConsumer.iterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,C2,I2,C3,T> |
LTieSrtConsumer.iterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,C2,I2,C3,I3,T> |
LTieSrtConsumer.iterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,C3,T> |
LTieSrtConsumer.iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,C3,I3,T> |
LTieSrtConsumer.iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,I2,C3,T> |
LTieSrtConsumer.iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,I2,C3,I3,T> |
LTieSrtConsumer.iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T,C3> T |
LTieSrtConsumer.ntiForEach(LIntFunction<T> trgFactory1,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH_NEW: FOR, [SourcePurpose{arg=T trg1, type=SIZE_FACTORY}, SourcePurpose{arg=short a3, type=IA}, SourcePurpose{arg=LTieSrtConsumer<? super T> consumer, type=CONST}]
|
static <T,C3,I3> T |
LTieSrtConsumer.ntiIterate(LSupplier<T> source1,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_ITERATE_NEW: WHILE, [SourcePurpose{arg=T trg1, type=SUPPLIER}, SourcePurpose{arg=short a3, type=SA}, SourcePurpose{arg=LTieSrtConsumer<? super T> consumer, type=CONST}]
|
static <T> LTieSrtConsumer<T> |
LTieSrtConsumer.safe(LTieSrtConsumer<T> other)
Safe wrapping.
|
static <T,C2,C3> T |
LTieSrtConsumer.targetedForEach(T a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T,C2,C3,I3> |
LTieSrtConsumer.targetedIterate(T a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T,C2,I2,C3> |
LTieSrtConsumer.targetedIterate(T a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T,C2,I2,C3,I3> |
LTieSrtConsumer.targetedIterate(T a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T,SRC> int |
LTieSrtConsumer.tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LOiToSrtFunction<SRC> srcAcc3,
LTieSrtConsumer<? 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=short a3, type=TIE_SOURCE}, SourcePurpose{arg=short a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieSrtConsumer<? super T> consumer, type=CONST}]
|
static <T,SRC> int |
LTieSrtConsumer.tieForEach(int sStart,
int tStart,
T trg1,
SRC src3,
LPredicate<SRC> srcTest3,
LToSrtFunction<SRC> srcAcc3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T,C3> int |
LTieSrtConsumer.tieForEach(T trg1,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
ITERATION: TIE_CONSUMER_SHORT: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=short a3, type=IA}, SourcePurpose{arg=LTieSrtConsumer<? super T> consumer, type=CONST}]
|
static <T,C3,I3> int |
LTieSrtConsumer.tieIterate(T trg1,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T> LTieSrtConsumer<T> |
LTieSrtConsumer.tieSrtCons(LTieSrtConsumer<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 |
LTieSrtConsumer.tiForEach(T trg1,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=short a3, type=IA}, SourcePurpose{arg=LTieSrtConsumer<? super T> consumer, type=CONST}]
|
static <T,C3,I3> T |
LTieSrtConsumer.tiIterate(T trg1,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T> void |
LTieSrtConsumer.times(int max_a2,
T a1,
short a3,
LTieSrtConsumer<T> func)
From-To.
|
static <T> void |
LTieSrtConsumer.tryAccept(T a1,
int a2,
short a3,
LTieSrtConsumer<T> func) |
static <T> void |
LTieSrtConsumer.tryAccept(T a1,
int a2,
short a3,
LTieSrtConsumer<T> func,
ExWF<RuntimeException> exF) |
static <T> void |
LTieSrtConsumer.tryAccept(T a1,
int a2,
short a3,
LTieSrtConsumer<T> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T> void |
LTieSrtConsumer.tryAcceptThen(T a1,
int a2,
short a3,
LTieSrtConsumer<T> func,
LConsumer<Throwable> handler) |
| Modifier and Type | Method and Description |
|---|---|
static <T> LTieSrtConsumer<T> |
LTieSrtConsumer.recursive(LFunction<LTieSrtConsumer<T>,LTieSrtConsumer<T>> selfLambda) |
static <T> LTieSrtConsumer<T> |
LTieSrtConsumer.recursive(LFunction<LTieSrtConsumer<T>,LTieSrtConsumer<T>> selfLambda) |
static <T> LSupplier<LTieSrtConsumer<T>> |
LTieSrtConsumer.safeSupplier(LSupplier<LTieSrtConsumer<T>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LTieSrtConsumer<T> |
LObjIntSrtFunction.thenConsume(LConsumer<? super R> after)
Combines two functions together in a order.
|
| Modifier and Type | Method and Description |
|---|---|
default LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.before(LTieSrtConsumer<? super T> before) |
| Modifier and Type | Method and Description |
|---|---|
static <T> boolean |
LObjIntSrtPredicate.doIf(T a1,
int a2,
short a3,
LObjIntSrtPredicate<T> predicate,
LTieSrtConsumer<? super T> consumer) |
default boolean |
LObjIntSrtPredicate.doIf(T a1,
int a2,
short a3,
LTieSrtConsumer<? super T> consumer) |
default <V> boolean |
LSrtPredicate.doIf(V a1,
int a2,
short a3,
LTieSrtConsumer<? super V> consumer) |
default <V> boolean |
LSrtIntPredicate.doIf(V a1,
int a2,
short a3,
LTieSrtConsumer<? super V> consumer) |
default <C1,C2,C3> void |
LObjIntSrtPredicate.filterForEach(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,C2,C3,I3> |
LObjIntSrtPredicate.filterIterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,C2,I2,C3> |
LObjIntSrtPredicate.filterIterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,C2,I2,C3,I3> |
LObjIntSrtPredicate.filterIterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,I1,C2,C3> |
LObjIntSrtPredicate.filterIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,I1,C2,C3,I3> |
LObjIntSrtPredicate.filterIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,I1,C2,I2,C3> |
LObjIntSrtPredicate.filterIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,I1,C2,I2,C3,I3> |
LObjIntSrtPredicate.filterIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <V,C0> int |
LSrtPredicate.tieForEach(V v,
IndexedRead<C0,aType.aShort> ia,
C0 source,
LTieSrtConsumer<V> consumer)
For each element (or tuple) from arguments, calls the consumer (with index) if predicate test passes.
|
default <V,C0,I0> int |
LSrtPredicate.tieIterate(V v,
SequentialRead<C0,I0,aType.aShort> sa,
C0 source,
LTieSrtConsumer<V> consumer)
For each element (or tuple) from arguments, calls the consumer (with index) if predicate test passes.
|
Copyright © 2019. All rights reserved.