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