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