| Package | Description |
|---|---|
| eu.lunisolar.magma.func.consumer.primitives.bi | |
| eu.lunisolar.magma.func.predicate |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LCharIntConsumer.LIntCharCons
Permutation of LCharIntConsumer for method references.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LCharIntConsumer.LCharIntConsumerSingle |
| Modifier and Type | Method and Description |
|---|---|
static LCharIntConsumer |
LCharIntConsumer.accept1st(LCharConsumer func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static LCharIntConsumer |
LCharIntConsumer.accept2nd(LIntConsumer func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
default LCharIntConsumer |
LCharIntConsumer.andThen(LCharIntConsumer after)
Combines two LCharIntConsumer together in a order.
|
static LCharIntConsumer |
LCharIntConsumer.charIntCons(LCharIntConsumer lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static LCharIntConsumer |
LCharIntConsumer.charIntConsThrowing(ExF<Throwable> exF) |
static LCharIntConsumer |
LCharIntConsumer.charIntConsThrowing(String message,
ExMF<Throwable> exF) |
default LCharIntConsumer |
LCharIntConsumer.compose(LCharUnaryOperator before1,
LIntUnaryOperator before2)
Allows to manipulate the domain of the function.
|
static LCharIntConsumer |
LCharIntConsumer.composed(LCharUnaryOperator before1,
LIntUnaryOperator before2,
LCharIntConsumer after) |
static LCharIntConsumer |
LCharIntConsumer.failSafe(LCharIntConsumer func,
LCharIntConsumer failSafe) |
default LCharIntConsumer |
LCharIntConsumer.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
static LCharIntConsumer |
LCharIntConsumer.recursive(LFunction<LCharIntConsumer,LCharIntConsumer> selfLambda) |
static LCharIntConsumer |
LCharIntConsumer.safe()
Safe instance.
|
static LCharIntConsumer |
LCharIntConsumer.safe(LCharIntConsumer other)
Safe wrapping.
|
default LCharIntConsumer |
LCharIntConsumer.trying(ExWF<RuntimeException> exF) |
default LCharIntConsumer |
LCharIntConsumer.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LCharIntConsumer |
LCharIntConsumer.tryingThen(LConsumer<Throwable> handler) |
static LCharIntConsumer |
LCharIntConsumer.uncurry(LCharFunction<LIntConsumer> func) |
LCharIntConsumer |
LCharIntConsumer.LCharIntConsumerSingle.value() |
| Modifier and Type | Method and Description |
|---|---|
static LSupplier<LCharIntConsumer> |
LCharIntConsumer.safeSupplier()
Safe instance supplier.
|
static LSupplier<LCharIntConsumer> |
LCharIntConsumer.safeSupplier(LSupplier<LCharIntConsumer> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LCharIntConsumer |
LCharIntConsumer.andThen(LCharIntConsumer after)
Combines two LCharIntConsumer together in a order.
|
static void |
LCharIntConsumer.call(char a1,
int a2,
LCharIntConsumer lambda) |
static LCharIntConsumer |
LCharIntConsumer.charIntCons(LCharIntConsumer lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static LCharIntConsumer |
LCharIntConsumer.composed(LCharUnaryOperator before1,
LIntUnaryOperator before2,
LCharIntConsumer after) |
static <V1,V2> LBiConsumer<V1,V2> |
LCharIntConsumer.composed(LToCharFunction<? super V1> before1,
LToIntFunction<? super V2> before2,
LCharIntConsumer after) |
static LCharIntConsumer |
LCharIntConsumer.failSafe(LCharIntConsumer func,
LCharIntConsumer failSafe) |
default void |
LCharIntConsumer.failSafeAccept(char a1,
int a2,
LCharIntConsumer failSafe) |
static void |
LCharIntConsumer.failSafeAccept(char a1,
int a2,
LCharIntConsumer func,
LCharIntConsumer failSafe) |
static <C1,C2> int |
LCharIntConsumer.forEach(IndexedRead<C1,aType.aChar> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
LCharIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static void |
LCharIntConsumer.fromTill(int min_a2,
int max_a2,
char a1,
LCharIntConsumer func)
From-To.
|
static void |
LCharIntConsumer.fromTo(int min_a2,
int max_a2,
char a1,
LCharIntConsumer func)
From-To.
|
static void |
LCharIntConsumer.handlingAccept(char a1,
int a2,
LCharIntConsumer func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <C1> int |
LCharIntConsumer.indexedForEach(IndexedRead<C1,aType.aChar> ia1,
C1 source1,
LCharIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1> int |
LCharIntConsumer.indexedIterate(SequentialRead<C1,I1,aType.aChar> sa1,
C1 source1,
LCharIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,C2,I2> int |
LCharIntConsumer.iterate(IndexedRead<C1,aType.aChar> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
LCharIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2> int |
LCharIntConsumer.iterate(SequentialRead<C1,I1,aType.aChar> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
LCharIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,I2> |
LCharIntConsumer.iterate(SequentialRead<C1,I1,aType.aChar> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
LCharIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static LIntConsumer |
LCharIntConsumer.lShrinked(LIntToCharFunction left,
LCharIntConsumer func) |
static LIntConsumer |
LCharIntConsumer.lShrinkedc(char a1,
LCharIntConsumer func) |
static LCharConsumer |
LCharIntConsumer.rShrinked(LCharToIntFunction right,
LCharIntConsumer func) |
static LCharConsumer |
LCharIntConsumer.rShrinkedc(int a2,
LCharIntConsumer func) |
static LCharIntConsumer |
LCharIntConsumer.safe(LCharIntConsumer other)
Safe wrapping.
|
static <C2> char |
LCharIntConsumer.targetedForEach(char a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
LCharIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C2,I2> char |
LCharIntConsumer.targetedIterate(char a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
LCharIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static void |
LCharIntConsumer.times(int max_a2,
char a1,
LCharIntConsumer func)
From-To.
|
static void |
LCharIntConsumer.tryAccept(char a1,
int a2,
LCharIntConsumer func) |
static void |
LCharIntConsumer.tryAccept(char a1,
int a2,
LCharIntConsumer func,
ExWF<RuntimeException> exF) |
static void |
LCharIntConsumer.tryAccept(char a1,
int a2,
LCharIntConsumer func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static void |
LCharIntConsumer.tryAcceptThen(char a1,
int a2,
LCharIntConsumer func,
LConsumer<Throwable> handler) |
| Modifier and Type | Method and Description |
|---|---|
static LCharIntConsumer |
LCharIntConsumer.recursive(LFunction<LCharIntConsumer,LCharIntConsumer> selfLambda) |
static LCharIntConsumer |
LCharIntConsumer.recursive(LFunction<LCharIntConsumer,LCharIntConsumer> selfLambda) |
static LSupplier<LCharIntConsumer> |
LCharIntConsumer.safeSupplier(LSupplier<LCharIntConsumer> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default boolean |
LCharIntPredicate.doIf(char a1,
int a2,
LCharIntConsumer consumer) |
static boolean |
LCharIntPredicate.doIf(char a1,
int a2,
LCharIntPredicate predicate,
LCharIntConsumer consumer) |
default <C1,C2> void |
LCharIntPredicate.filterForEach(IndexedRead<C1,aType.aChar> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
LCharIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,C2,I2> void |
LCharIntPredicate.filterIterate(IndexedRead<C1,aType.aChar> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
LCharIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,I1,C2> void |
LCharIntPredicate.filterIterate(SequentialRead<C1,I1,aType.aChar> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
LCharIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,I1,C2,I2> |
LCharIntPredicate.filterIterate(SequentialRead<C1,I1,aType.aChar> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
LCharIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
Copyright © 2019. All rights reserved.