@FunctionalInterface public interface LTieLongConsumer<T> extends MetaConsumer, MetaInterface.NonThrowing, TieConsumer<T,aType.aLong>, Codomain<aType.aVoid>, Domain3<aType.a<T>,aType.aInt,aType.aLong>
Non-throwing functional interface (lambda) LTieLongConsumer for Java 8.
Type: consumer
Domain (lvl: 3): T a1,int a2,long a3
Co-domain: none
Special case of consumer that corresponds to expressions like (list, index, element) -> List::set or (list, index, element) -> Array::set
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LTieLongConsumer.LIntLongObjCons<T>
Permutation of LTieLongConsumer for method references.
|
static interface |
LTieLongConsumer.LIntObjLongCons<T>
Permutation of LTieLongConsumer for method references.
|
static interface |
LTieLongConsumer.LLongIntObjCons<T>
Permutation of LTieLongConsumer for method references.
|
static interface |
LTieLongConsumer.LLongObjIntCons<T>
Permutation of LTieLongConsumer for method references.
|
static interface |
LTieLongConsumer.LObjLongIntCons<T>
Permutation of LTieLongConsumer for method references.
|
static class |
LTieLongConsumer.LTieLongConsumerSingle<T> |
MetaInterface.NonThrowing, MetaInterface.Throwing<X>| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION |
| Modifier and Type | Method and Description |
|---|---|
default void |
accept(T a1,
int a2,
long a3) |
default void |
accept(T a1,
int a2,
long a3,
ExWF<RuntimeException> exF) |
default void |
accept(T a1,
int a2,
long a3,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T> LTieLongConsumer<T> |
accept1st(LConsumer<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T> LTieLongConsumer<T> |
accept2nd(LIntConsumer func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static <T> LTieLongConsumer<T> |
accept3rd(LLongConsumer func)
Captures single parameter function into this interface where only 3rd parameter will be used.
|
default void |
acceptThen(T a1,
int a2,
long a3,
LConsumer<Throwable> handler) |
void |
acceptX(T a1,
int a2,
long a3)
Implement this, but call accept(T a1,int a2,long a3)
|
default LTieLongConsumer<T> |
andThen(LTieLongConsumer<? super T> after)
Combines two LTieLongConsumer
|
static <T> void |
call(T a1,
int a2,
long a3,
LTieLongConsumer<T> lambda) |
default LAction |
capture(T a1,
int a2,
long a3)
Captures arguments but delays the evaluation.
|
default <V2> LTieLongConsumer<V2> |
cast()
Cast that replace generics.
|
static <V2,T> LTieLongConsumer<V2> |
cast(LTieLongConsumer<T> function)
Cast that replace generics.
|
default <V1> LTieLongConsumer<V1> |
compose(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LLongUnaryOperator before3)
Allows to manipulate the domain of the function.
|
static <V1,T> LTieLongConsumer<V1> |
composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LLongUnaryOperator before3,
LTieLongConsumer<T> after) |
static <V1,V2,V3,T> |
composed(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LToLongFunction<? super V3> before3,
LTieLongConsumer<T> after) |
static <T> void |
doNothing(int a2,
long a3,
T a1)
Does nothing (LTieLongConsumer.LIntLongObjCons)
|
static <T> void |
doNothing(int a2,
T a1,
long a3)
Does nothing (LTieLongConsumer.LIntObjLongCons)
|
static <T> void |
doNothing(long a3,
int a2,
T a1)
Does nothing (LTieLongConsumer.LLongIntObjCons)
|
static <T> void |
doNothing(long a3,
T a1,
int a2)
Does nothing (LTieLongConsumer.LLongObjIntCons)
|
static <T> void |
doNothing(T a1,
int a2,
long a3)
Does nothing (LTieLongConsumer)
|
static <T> void |
doNothing(T a1,
long a3,
int a2)
Does nothing (LTieLongConsumer.LObjLongIntCons)
|
static <T> LTieLongConsumer<T> |
failSafe(LTieLongConsumer<T> func,
LTieLongConsumer<T> failSafe) |
default void |
failSafeAccept(T a1,
int a2,
long a3,
LTieLongConsumer<T> failSafe) |
static <T> void |
failSafeAccept(T a1,
int a2,
long a3,
LTieLongConsumer<T> func,
LTieLongConsumer<T> failSafe) |
static <C1,C2,C3,T> |
forEach(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T> void |
fromTill(int min_i,
int max_i,
T a1,
int a2,
long a3,
LTieLongConsumer<T> func)
From-To.
|
static <T> void |
fromTo(int min_i,
int max_i,
T a1,
int a2,
long a3,
LTieLongConsumer<T> func)
From-To.
|
default String |
functionalInterfaceDescription()
Returns description of the functional interface.
|
default <SRC> int |
genericTieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
OiFunction<SRC,aType.aLong> srcAcc3)
ITERATION: TIE_CONSUMER_GEN: FOR, [SourcePurpose{arg=int sStart, type=CONST}, SourcePurpose{arg=int sEnd, type=CONST}, SourcePurpose{arg=int tStart, type=CONST}, SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=long a3, type=TIE_SOURCE}, SourcePurpose{arg=long a3, type=TIE_GEN_SUPPLIER}]
|
default LTieLongConsumer<T> |
handling(HandlingInstructions<Throwable,RuntimeException> handling) |
default void |
handlingAccept(T a1,
int a2,
long a3,
HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
|
static <T> void |
handlingAccept(T a1,
int a2,
long a3,
LTieLongConsumer<T> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <C1,C3,T> int |
indexed2ndForEach(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,C3,I3,T> |
indexed2ndIterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1,C3,T> |
indexed2ndIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1,C3,I3,T> |
indexed2ndIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,C2,T> long |
indexed3rdForEach(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,C2,I2,T> |
indexed3rdIterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1,C2,T> |
indexed3rdIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1,C2,I2,T> |
indexed3rdIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <T> LTieLongConsumer.LIntLongObjCons<T> |
intLongObjCons(LTieLongConsumer.LIntLongObjCons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieLongConsumer.LIntObjLongCons<T> |
intObjLongCons(LTieLongConsumer.LIntObjLongCons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <C1,C2,C3,I3,T> |
iterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,C2,I2,C3,T> |
iterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,C2,I2,C3,I3,T> |
iterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,C3,T> |
iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,C3,I3,T> |
iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,I2,C3,T> |
iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,I2,C3,I3,T> |
iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T> LTieLongConsumer.LLongIntObjCons<T> |
longIntObjCons(LTieLongConsumer.LLongIntObjCons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieLongConsumer.LLongObjIntCons<T> |
longObjIntCons(LTieLongConsumer.LLongObjIntCons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
default void |
nestingAccept(T a1,
int a2,
long a3)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
|
static <T,C3> T |
ntiForEach(LIntFunction<T> trgFactory1,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LTieLongConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH_NEW: FOR, [SourcePurpose{arg=T trg1, type=SIZE_FACTORY}, SourcePurpose{arg=long a3, type=IA}, SourcePurpose{arg=LTieLongConsumer<? super T> consumer, type=CONST}]
|
static <T,C3,I3> T |
ntiIterate(LSupplier<T> source1,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LTieLongConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_ITERATE_NEW: WHILE, [SourcePurpose{arg=T trg1, type=SUPPLIER}, SourcePurpose{arg=long a3, type=SA}, SourcePurpose{arg=LTieLongConsumer<? super T> consumer, type=CONST}]
|
static <T> LTieLongConsumer.LObjLongIntCons<T> |
objLongIntCons(LTieLongConsumer.LObjLongIntCons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieLongConsumer<T> |
recursive(LFunction<LTieLongConsumer<T>,LTieLongConsumer<T>> selfLambda) |
static <T> LTieLongConsumer<T> |
safe()
Safe instance.
|
static <T> LTieLongConsumer<T> |
safe(LTieLongConsumer<T> other)
Safe wrapping.
|
static <T> LSupplier<LTieLongConsumer<T>> |
safeSupplier()
Safe instance supplier.
|
static <T> LSupplier<LTieLongConsumer<T>> |
safeSupplier(LSupplier<LTieLongConsumer<T>> supplier)
Safe supplier.
|
default void |
shovingAccept(T a1,
int a2,
long a3)
Function call that handles exceptions by always propagating them as is, even when they are undeclared checked ones.
|
static <T,C2,C3> T |
targetedForEach(T a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T,C2,C3,I3> |
targetedIterate(T a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T,C2,I2,C3> |
targetedIterate(T a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T,C2,I2,C3,I3> |
targetedIterate(T a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T,SRC> int |
tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LOiToLongFunction<SRC> srcAcc3,
LTieLongConsumer<? super T> consumer)
ITERATION: TIE_CONSUMER: FOR, [SourcePurpose{arg=int sStart, type=CONST}, SourcePurpose{arg=int sEnd, type=CONST}, SourcePurpose{arg=int tStart, type=CONST}, SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=long a3, type=TIE_SOURCE}, SourcePurpose{arg=long a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieLongConsumer<? super T> consumer, type=CONST}]
|
static <T,SRC> int |
tieForEach(int sStart,
int tStart,
T trg1,
SRC src3,
LPredicate<SRC> srcTest3,
LToLongFunction<SRC> srcAcc3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T,C3> int |
tieForEach(T trg1,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LTieLongConsumer<? super T> consumer)
ITERATION: TIE_CONSUMER_SHORT: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=long a3, type=IA}, SourcePurpose{arg=LTieLongConsumer<? super T> consumer, type=CONST}]
|
static <T,C3,I3> int |
tieIterate(T trg1,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T> LTieLongConsumer<T> |
tieLongCons(LTieLongConsumer<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
default <V1,V2,V3> LTriConsumer<V1,V2,V3> |
tieLongConsCompose(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LToLongFunction<? super V3> before3)
Allows to manipulate the domain of the function.
|
static <T> LTieLongConsumer<T> |
tieLongConsThrowing(ExF<Throwable> exF) |
static <T> LTieLongConsumer<T> |
tieLongConsThrowing(String message,
ExMF<Throwable> exF) |
static <T,C3> T |
tiForEach(T trg1,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LTieLongConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=long a3, type=IA}, SourcePurpose{arg=LTieLongConsumer<? super T> consumer, type=CONST}]
|
static <T,C3,I3> T |
tiIterate(T trg1,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T> void |
times(int max_i,
T a1,
int a2,
long a3,
LTieLongConsumer<T> func)
From-To.
|
default LTieLongFunction<T> |
toTieFunction() |
static <T> void |
tryAccept(T a1,
int a2,
long a3,
LTieLongConsumer<T> func) |
static <T> void |
tryAccept(T a1,
int a2,
long a3,
LTieLongConsumer<T> func,
ExWF<RuntimeException> exF) |
static <T> void |
tryAccept(T a1,
int a2,
long a3,
LTieLongConsumer<T> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T> void |
tryAcceptThen(T a1,
int a2,
long a3,
LTieLongConsumer<T> func,
LConsumer<Throwable> handler) |
default LTieLongConsumer<T> |
trying(ExWF<RuntimeException> exF) |
default LTieLongConsumer<T> |
trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LTieLongConsumer<T> |
tryingThen(LConsumer<Throwable> handler) |
default LTuple.Void |
tupleAccept(LObjIntLongTriple<T> args) |
static <T> LTieLongConsumer<T> |
uncurry(LFunction<T,LIntFunction<LLongConsumer>> func) |
default LTieLongConsumer |
untyped()
Cast that removes generics.
|
isThrowingisConsumerformatTo, isAction, isFunction, isOperator, isPredicate, isSupplierstatic final String DESCRIPTION
default void accept(T a1, int a2, long a3)
void acceptX(T a1, int a2, long a3) throws Throwable
Implement this, but call accept(T a1,int a2,long a3)
Throwabledefault LTuple.Void tupleAccept(LObjIntLongTriple<T> args)
default void handlingAccept(T a1, int a2, long a3, HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
default LTieLongConsumer<T> handling(HandlingInstructions<Throwable,RuntimeException> handling)
default void accept(T a1, int a2, long a3, @Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default LTieLongConsumer<T> trying(@Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default void accept(T a1, int a2, long a3, @Nonnull ExWF<RuntimeException> exF)
default LTieLongConsumer<T> trying(@Nonnull ExWF<RuntimeException> exF)
default LTieLongConsumer<T> tryingThen(@Nonnull LConsumer<Throwable> handler)
default void nestingAccept(T a1, int a2, long a3)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
default void shovingAccept(T a1, int a2, long a3)
Function call that handles exceptions by always propagating them as is, even when they are undeclared checked ones.
static <T> void handlingAccept(T a1,
int a2,
long a3,
LTieLongConsumer<T> func,
HandlingInstructions<Throwable,RuntimeException> handling)
static <T> void tryAccept(T a1,
int a2,
long a3,
LTieLongConsumer<T> func)
static <T> void tryAccept(T a1,
int a2,
long a3,
LTieLongConsumer<T> func,
@Nonnull
ExWMF<RuntimeException> exF,
@Nonnull
String newMessage,
@Nullable
Object... messageParams)
static <T> void tryAccept(T a1,
int a2,
long a3,
LTieLongConsumer<T> func,
@Nonnull
ExWF<RuntimeException> exF)
static <T> void tryAcceptThen(T a1,
int a2,
long a3,
LTieLongConsumer<T> func,
@Nonnull
LConsumer<Throwable> handler)
default void failSafeAccept(T a1, int a2, long a3, @Nonnull LTieLongConsumer<T> failSafe)
static <T> void failSafeAccept(T a1,
int a2,
long a3,
LTieLongConsumer<T> func,
@Nonnull
LTieLongConsumer<T> failSafe)
static <T> LTieLongConsumer<T> failSafe(LTieLongConsumer<T> func, @Nonnull LTieLongConsumer<T> failSafe)
@Nonnull default String functionalInterfaceDescription()
Returns description of the functional interface.
functionalInterfaceDescription in interface MetaFunctionalInterfacedefault LTieLongFunction<T> toTieFunction()
toTieFunction in interface TieConsumer<T,aType.aLong>static <T> void fromTo(int min_i,
int max_i,
T a1,
int a2,
long a3,
LTieLongConsumer<T> func)
From-To. Intended to be used with non-capturing lambda.
static <T> void fromTill(int min_i,
int max_i,
T a1,
int a2,
long a3,
LTieLongConsumer<T> func)
From-To. Intended to be used with non-capturing lambda.
static <T> void times(int max_i,
T a1,
int a2,
long a3,
LTieLongConsumer<T> func)
From-To. Intended to be used with non-capturing lambda.
static <T> LTieLongConsumer<T> uncurry(LFunction<T,LIntFunction<LLongConsumer>> func)
default LTieLongConsumer untyped()
Cast that removes generics.
default <V2> LTieLongConsumer<V2> cast()
Cast that replace generics.
static <V2,T> LTieLongConsumer<V2> cast(LTieLongConsumer<T> function)
Cast that replace generics.
default LAction capture(T a1, int a2, long a3)
Captures arguments but delays the evaluation.
@Nonnull static <T> LTieLongConsumer<T> accept1st(@Nonnull LConsumer<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
@Nonnull static <T> LTieLongConsumer<T> accept2nd(@Nonnull LIntConsumer func)
Captures single parameter function into this interface where only 2nd parameter will be used.
@Nonnull static <T> LTieLongConsumer<T> accept3rd(@Nonnull LLongConsumer func)
Captures single parameter function into this interface where only 3rd parameter will be used.
@Nonnull static <T> LTieLongConsumer<T> tieLongCons(@Nonnull LTieLongConsumer<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T> LTieLongConsumer<T> recursive(@Nonnull LFunction<LTieLongConsumer<T>,LTieLongConsumer<T>> selfLambda)
@Nonnull static <T> LTieLongConsumer<T> tieLongConsThrowing(@Nonnull ExF<Throwable> exF)
@Nonnull static <T> LTieLongConsumer<T> tieLongConsThrowing(String message, @Nonnull ExMF<Throwable> exF)
@Nonnull static <T> LTieLongConsumer.LObjLongIntCons<T> objLongIntCons(@Nonnull LTieLongConsumer.LObjLongIntCons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T> LTieLongConsumer.LIntObjLongCons<T> intObjLongCons(@Nonnull LTieLongConsumer.LIntObjLongCons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T> LTieLongConsumer.LIntLongObjCons<T> intLongObjCons(@Nonnull LTieLongConsumer.LIntLongObjCons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T> LTieLongConsumer.LLongObjIntCons<T> longObjIntCons(@Nonnull LTieLongConsumer.LLongObjIntCons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T> LTieLongConsumer.LLongIntObjCons<T> longIntObjCons(@Nonnull LTieLongConsumer.LLongIntObjCons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
static <T> void call(T a1,
int a2,
long a3,
@Nonnull
LTieLongConsumer<T> lambda)
@Nonnull static <T> LTieLongConsumer<T> safe()
Safe instance.
@Nonnull static <T> LSupplier<LTieLongConsumer<T>> safeSupplier()
Safe instance supplier. Returns supplier of safe() instance.
@Nonnull static <T> LTieLongConsumer<T> safe(@Nullable LTieLongConsumer<T> other)
Safe wrapping. Either argument function is returned (if it is not null) or safe() instance.
@Nonnull static <T> LSupplier<LTieLongConsumer<T>> safeSupplier(@Nullable LSupplier<LTieLongConsumer<T>> supplier)
Safe supplier. Either argument supplier is returned (if it is not null) or supplier of safe() instance.
@Nonnull default <V1> LTieLongConsumer<V1> compose(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LIntUnaryOperator before2, @Nonnull LLongUnaryOperator before3)
Allows to manipulate the domain of the function.
static <V1,T> LTieLongConsumer<V1> composed(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LIntUnaryOperator before2, @Nonnull LLongUnaryOperator before3, LTieLongConsumer<T> after)
@Nonnull default <V1,V2,V3> LTriConsumer<V1,V2,V3> tieLongConsCompose(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LToIntFunction<? super V2> before2, @Nonnull LToLongFunction<? super V3> before3)
Allows to manipulate the domain of the function.
static <V1,V2,V3,T> LTriConsumer<V1,V2,V3> composed(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LToIntFunction<? super V2> before2, @Nonnull LToLongFunction<? super V3> before3, LTieLongConsumer<T> after)
@Nonnull default LTieLongConsumer<T> andThen(@Nonnull LTieLongConsumer<? super T> after)
Combines two LTieLongConsumer
static <T> void doNothing(T a1,
int a2,
long a3)
Does nothing (LTieLongConsumer)
static <T> void doNothing(T a1,
long a3,
int a2)
Does nothing (LTieLongConsumer.LObjLongIntCons)
static <T> void doNothing(int a2,
T a1,
long a3)
Does nothing (LTieLongConsumer.LIntObjLongCons)
static <T> void doNothing(int a2,
long a3,
T a1)
Does nothing (LTieLongConsumer.LIntLongObjCons)
static <T> void doNothing(long a3,
T a1,
int a2)
Does nothing (LTieLongConsumer.LLongObjIntCons)
static <T> void doNothing(long a3,
int a2,
T a1)
Does nothing (LTieLongConsumer.LLongIntObjCons)
static <C1,C2,C3,T> int forEach(IndexedRead<C1,aType.a<T>> ia1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, IndexedRead<C3,aType.aLong> ia3, C3 source3, LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,I1,C2,C3,T> int iterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, IndexedRead<C3,aType.aLong> ia3, C3 source3, LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,C2,I2,C3,T> int iterate(IndexedRead<C1,aType.a<T>> ia1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, IndexedRead<C3,aType.aLong> ia3, C3 source3, LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,I1,C2,I2,C3,T> int iterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, IndexedRead<C3,aType.aLong> ia3, C3 source3, LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,C2,C3,I3,T> int iterate(IndexedRead<C1,aType.a<T>> ia1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, SequentialRead<C3,I3,aType.aLong> sa3, C3 source3, LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,I1,C2,C3,I3,T> int iterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, SequentialRead<C3,I3,aType.aLong> sa3, C3 source3, LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,C2,I2,C3,I3,T> int iterate(IndexedRead<C1,aType.a<T>> ia1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, SequentialRead<C3,I3,aType.aLong> sa3, C3 source3, LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,I1,C2,I2,C3,I3,T> int iterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, SequentialRead<C3,I3,aType.aLong> sa3, C3 source3, LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer. Thread safety, fail-fast, fail-safety of this method depends highly on the arguments.
static <C1,C3,T> int indexed2ndForEach(IndexedRead<C1,aType.a<T>> ia1, C1 source1, IndexedRead<C3,aType.aLong> ia3, C3 source3, LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index). Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,I1,C3,T> int indexed2ndIterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, IndexedRead<C3,aType.aLong> ia3, C3 source3, LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index). Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,C3,I3,T> int indexed2ndIterate(IndexedRead<C1,aType.a<T>> ia1, C1 source1, SequentialRead<C3,I3,aType.aLong> sa3, C3 source3, LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index). Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,I1,C3,I3,T> int indexed2ndIterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, SequentialRead<C3,I3,aType.aLong> sa3, C3 source3, LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index). Thread safety, fail-fast, fail-safety of this method depends highly on the arguments.
static <C1,C2,T> long indexed3rdForEach(IndexedRead<C1,aType.a<T>> ia1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index). Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,I1,C2,T> long indexed3rdIterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index). Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,C2,I2,T> long indexed3rdIterate(IndexedRead<C1,aType.a<T>> ia1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index). Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,I1,C2,I2,T> long indexed3rdIterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index). Thread safety, fail-fast, fail-safety of this method depends highly on the arguments.
static <T,C2,C3> T targetedForEach(T a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer. First argument is designated as ‘target’ object. Thread safety, fail-fast, fail-safety of this method is not expected.
static <T,C2,I2,C3> T targetedIterate(T a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer. First argument is designated as ‘target’ object. Thread safety, fail-fast, fail-safety of this method is not expected.
static <T,C2,C3,I3> T targetedIterate(T a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer. First argument is designated as ‘target’ object. Thread safety, fail-fast, fail-safety of this method is not expected.
static <T,C2,I2,C3,I3> T targetedIterate(T a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer. First argument is designated as ‘target’ object. Thread safety, fail-fast, fail-safety of this method depends highly on the arguments.
default <SRC> int genericTieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
OiFunction<SRC,aType.aLong> srcAcc3)
ITERATION: TIE_CONSUMER_GEN: FOR, [SourcePurpose{arg=int sStart, type=CONST}, SourcePurpose{arg=int sEnd, type=CONST}, SourcePurpose{arg=int tStart, type=CONST}, SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=long a3, type=TIE_SOURCE}, SourcePurpose{arg=long a3, type=TIE_GEN_SUPPLIER}]
genericTieForEach in interface TieConsumer<T,aType.aLong>static <T,C3> T tiForEach(T trg1,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LTieLongConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=long a3, type=IA}, SourcePurpose{arg=LTieLongConsumer<? super T> consumer, type=CONST}]
static <T,C3> T ntiForEach(LIntFunction<T> trgFactory1, IndexedRead<C3,aType.aLong> ia3, C3 source3, LTieLongConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH_NEW: FOR, [SourcePurpose{arg=T trg1, type=SIZE_FACTORY}, SourcePurpose{arg=long a3, type=IA}, SourcePurpose{arg=LTieLongConsumer<? super T> consumer, type=CONST}]
static <T,C3> int tieForEach(T trg1,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LTieLongConsumer<? super T> consumer)
ITERATION: TIE_CONSUMER_SHORT: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=long a3, type=IA}, SourcePurpose{arg=LTieLongConsumer<? super T> consumer, type=CONST}]
static <T,SRC> int tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LOiToLongFunction<SRC> srcAcc3,
LTieLongConsumer<? super T> consumer)
ITERATION: TIE_CONSUMER: FOR, [SourcePurpose{arg=int sStart, type=CONST}, SourcePurpose{arg=int sEnd, type=CONST}, SourcePurpose{arg=int tStart, type=CONST}, SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=long a3, type=TIE_SOURCE}, SourcePurpose{arg=long a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieLongConsumer<? super T> consumer, type=CONST}]
static <T,SRC> int tieForEach(int sStart,
int tStart,
T trg1,
SRC src3,
LPredicate<SRC> srcTest3,
LToLongFunction<SRC> srcAcc3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element). First argument is designated as ‘target’ object. Thread safety, fail-fast, fail-safety of this method depends highly on the arguments.
static <T,C3,I3> int tieIterate(T trg1,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element). First argument is designated as ‘target’ object. Thread safety, fail-fast, fail-safety of this method depends highly on the arguments.
static <T,C3,I3> T tiIterate(T trg1,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LTieLongConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element). First argument is designated as ‘target’ object. Thread safety, fail-fast, fail-safety of this method depends highly on the arguments.
static <T,C3,I3> T ntiIterate(LSupplier<T> source1, SequentialRead<C3,I3,aType.aLong> sa3, C3 source3, LTieLongConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_ITERATE_NEW: WHILE, [SourcePurpose{arg=T trg1, type=SUPPLIER}, SourcePurpose{arg=long a3, type=SA}, SourcePurpose{arg=LTieLongConsumer<? super T> consumer, type=CONST}]
Copyright © 2019. All rights reserved.