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