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