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