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