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