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