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