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