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