@FunctionalInterface public interface LTieBoolConsumer<T> extends MetaConsumer, MetaInterface.NonThrowing, TieConsumer<T,aType.aBool>, Codomain<aType.aVoid>, Domain3<aType.a<T>,aType.aInt,aType.aBool>
Non-throwing functional interface (lambda) LTieBoolConsumer for Java 8.
Type: consumer
Domain (lvl: 3): T a1,int a2,boolean 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 |
LTieBoolConsumer.LBoolIntObjCons<T>
Permutation of LTieBoolConsumer for method references.
|
static interface |
LTieBoolConsumer.LBoolObjIntCons<T>
Permutation of LTieBoolConsumer for method references.
|
static interface |
LTieBoolConsumer.LIntBoolObjCons<T>
Permutation of LTieBoolConsumer for method references.
|
static interface |
LTieBoolConsumer.LIntObjBoolCons<T>
Permutation of LTieBoolConsumer for method references.
|
static interface |
LTieBoolConsumer.LObjBoolIntCons<T>
Permutation of LTieBoolConsumer for method references.
|
static class |
LTieBoolConsumer.LTieBoolConsumerSingle<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,
boolean a3) |
default void |
accept(T a1,
int a2,
boolean a3,
ExWF<RuntimeException> exF) |
default void |
accept(T a1,
int a2,
boolean a3,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T> LTieBoolConsumer<T> |
accept1st(LConsumer<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T> LTieBoolConsumer<T> |
accept2nd(LIntConsumer func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static <T> LTieBoolConsumer<T> |
accept3rd(LBoolConsumer func)
Captures single parameter function into this interface where only 3rd parameter will be used.
|
default void |
acceptThen(T a1,
int a2,
boolean a3,
LConsumer<Throwable> handler) |
void |
acceptX(T a1,
int a2,
boolean a3)
Implement this, but call accept(T a1,int a2,boolean a3)
|
default LTieBoolConsumer<T> |
andThen(LTieBoolConsumer<? super T> after)
Combines two LTieBoolConsumer
|
static <T> LTieBoolConsumer.LBoolIntObjCons<T> |
boolIntObjCons(LTieBoolConsumer.LBoolIntObjCons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieBoolConsumer.LBoolObjIntCons<T> |
boolObjIntCons(LTieBoolConsumer.LBoolObjIntCons<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,
boolean a3,
LTieBoolConsumer<T> lambda) |
default LAction |
capture(T a1,
int a2,
boolean a3)
Captures arguments but delays the evaluation.
|
default <V2> LTieBoolConsumer<V2> |
cast()
Cast that replace generics.
|
static <V2,T> LTieBoolConsumer<V2> |
cast(LTieBoolConsumer<T> function)
Cast that replace generics.
|
default <V1> LTieBoolConsumer<V1> |
compose(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LLogicalOperator before3)
Allows to manipulate the domain of the function.
|
static <V1,T> LTieBoolConsumer<V1> |
composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LLogicalOperator before3,
LTieBoolConsumer<T> after) |
static <V1,V2,V3,T> |
composed(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LPredicate<? super V3> before3,
LTieBoolConsumer<T> after) |
static <T> void |
doNothing(boolean a3,
int a2,
T a1)
Does nothing (LTieBoolConsumer.LBoolIntObjCons)
|
static <T> void |
doNothing(boolean a3,
T a1,
int a2)
Does nothing (LTieBoolConsumer.LBoolObjIntCons)
|
static <T> void |
doNothing(int a2,
boolean a3,
T a1)
Does nothing (LTieBoolConsumer.LIntBoolObjCons)
|
static <T> void |
doNothing(int a2,
T a1,
boolean a3)
Does nothing (LTieBoolConsumer.LIntObjBoolCons)
|
static <T> void |
doNothing(T a1,
boolean a3,
int a2)
Does nothing (LTieBoolConsumer.LObjBoolIntCons)
|
static <T> void |
doNothing(T a1,
int a2,
boolean a3)
Does nothing (LTieBoolConsumer)
|
static <T> LTieBoolConsumer<T> |
failSafe(LTieBoolConsumer<T> func,
LTieBoolConsumer<T> failSafe) |
default void |
failSafeAccept(T a1,
int a2,
boolean a3,
LTieBoolConsumer<T> failSafe) |
static <T> void |
failSafeAccept(T a1,
int a2,
boolean a3,
LTieBoolConsumer<T> func,
LTieBoolConsumer<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.aBool> ia3,
C3 source3,
LTieBoolConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T> void |
fromTill(int min_a2,
int max_a2,
T a1,
boolean a3,
LTieBoolConsumer<T> func)
From-To.
|
static <T> void |
fromTo(int min_a2,
int max_a2,
T a1,
boolean a3,
LTieBoolConsumer<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.aBool> 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=boolean a3, type=TIE_SOURCE}, SourcePurpose{arg=boolean a3, type=TIE_GEN_SUPPLIER}]
|
default LTieBoolConsumer<T> |
handling(HandlingInstructions<Throwable,RuntimeException> handling) |
default void |
handlingAccept(T a1,
int a2,
boolean a3,
HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
|
static <T> void |
handlingAccept(T a1,
int a2,
boolean a3,
LTieBoolConsumer<T> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <C1,C3,T> int |
indexedForEach(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C3,aType.aBool> ia3,
C3 source3,
LTieBoolConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,C3,I3,T> |
indexedIterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C3,I3,aType.aBool> sa3,
C3 source3,
LTieBoolConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1,C3,T> |
indexedIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C3,aType.aBool> ia3,
C3 source3,
LTieBoolConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1,C3,I3,T> |
indexedIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C3,I3,aType.aBool> sa3,
C3 source3,
LTieBoolConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <T> LTieBoolConsumer.LIntBoolObjCons<T> |
intBoolObjCons(LTieBoolConsumer.LIntBoolObjCons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieBoolConsumer.LIntObjBoolCons<T> |
intObjBoolCons(LTieBoolConsumer.LIntObjBoolCons<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.aBool> sa3,
C3 source3,
LTieBoolConsumer<? 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.aBool> ia3,
C3 source3,
LTieBoolConsumer<? 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.aBool> sa3,
C3 source3,
LTieBoolConsumer<? 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.aBool> ia3,
C3 source3,
LTieBoolConsumer<? 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.aBool> sa3,
C3 source3,
LTieBoolConsumer<? 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.aBool> ia3,
C3 source3,
LTieBoolConsumer<? 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.aBool> sa3,
C3 source3,
LTieBoolConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
default void |
nestingAccept(T a1,
int a2,
boolean 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.aBool> ia3,
C3 source3,
LTieBoolConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH_NEW: FOR, [SourcePurpose{arg=T trg1, type=SIZE_FACTORY}, SourcePurpose{arg=boolean a3, type=IA}, SourcePurpose{arg=LTieBoolConsumer<? super T> consumer, type=CONST}]
|
static <T,C3,I3> T |
ntiIterate(LSupplier<T> source1,
SequentialRead<C3,I3,aType.aBool> sa3,
C3 source3,
LTieBoolConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_ITERATE_NEW: WHILE, [SourcePurpose{arg=T trg1, type=SUPPLIER}, SourcePurpose{arg=boolean a3, type=SA}, SourcePurpose{arg=LTieBoolConsumer<? super T> consumer, type=CONST}]
|
static <T> LTieBoolConsumer.LObjBoolIntCons<T> |
objBoolIntCons(LTieBoolConsumer.LObjBoolIntCons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieBoolConsumer<T> |
recursive(LFunction<LTieBoolConsumer<T>,LTieBoolConsumer<T>> selfLambda) |
static <T> LTieBoolConsumer<T> |
safe()
Safe instance.
|
static <T> LTieBoolConsumer<T> |
safe(LTieBoolConsumer<T> other)
Safe wrapping.
|
static <T> LSupplier<LTieBoolConsumer<T>> |
safeSupplier()
Safe instance supplier.
|
static <T> LSupplier<LTieBoolConsumer<T>> |
safeSupplier(LSupplier<LTieBoolConsumer<T>> supplier)
Safe supplier.
|
default void |
shovingAccept(T a1,
int a2,
boolean 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.aBool> ia3,
C3 source3,
LTieBoolConsumer<? 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.aBool> sa3,
C3 source3,
LTieBoolConsumer<? 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.aBool> ia3,
C3 source3,
LTieBoolConsumer<? 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.aBool> sa3,
C3 source3,
LTieBoolConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T> LTieBoolConsumer<T> |
tieBoolCons(LTieBoolConsumer<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> |
tieBoolConsCompose(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LPredicate<? super V3> before3)
Allows to manipulate the domain of the function.
|
static <T> LTieBoolConsumer<T> |
tieBoolConsThrowing(ExF<Throwable> exF) |
static <T> LTieBoolConsumer<T> |
tieBoolConsThrowing(String message,
ExMF<Throwable> exF) |
static <T,SRC> int |
tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LObjIntPredicate<SRC> srcAcc3,
LTieBoolConsumer<? 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=boolean a3, type=TIE_SOURCE}, SourcePurpose{arg=boolean a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieBoolConsumer<? super T> consumer, type=CONST}]
|
static <T,SRC> int |
tieForEach(int sStart,
int tStart,
T trg1,
SRC src3,
LPredicate<SRC> srcTest3,
LPredicate<SRC> srcAcc3,
LTieBoolConsumer<? 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.aBool> ia3,
C3 source3,
LTieBoolConsumer<? super T> consumer)
ITERATION: TIE_CONSUMER_SHORT: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=boolean a3, type=IA}, SourcePurpose{arg=LTieBoolConsumer<? super T> consumer, type=CONST}]
|
static <T,C3,I3> int |
tieIterate(T trg1,
SequentialRead<C3,I3,aType.aBool> sa3,
C3 source3,
LTieBoolConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T,C3> T |
tiForEach(T trg1,
IndexedRead<C3,aType.aBool> ia3,
C3 source3,
LTieBoolConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=boolean a3, type=IA}, SourcePurpose{arg=LTieBoolConsumer<? super T> consumer, type=CONST}]
|
static <T,C3,I3> T |
tiIterate(T trg1,
SequentialRead<C3,I3,aType.aBool> sa3,
C3 source3,
LTieBoolConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T> void |
times(int max_a2,
T a1,
boolean a3,
LTieBoolConsumer<T> func)
From-To.
|
default LTieBoolFunction<T> |
toTieFunction() |
static <T> void |
tryAccept(T a1,
int a2,
boolean a3,
LTieBoolConsumer<T> func) |
static <T> void |
tryAccept(T a1,
int a2,
boolean a3,
LTieBoolConsumer<T> func,
ExWF<RuntimeException> exF) |
static <T> void |
tryAccept(T a1,
int a2,
boolean a3,
LTieBoolConsumer<T> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T> void |
tryAcceptThen(T a1,
int a2,
boolean a3,
LTieBoolConsumer<T> func,
LConsumer<Throwable> handler) |
default LTieBoolConsumer<T> |
trying(ExWF<RuntimeException> exF) |
default LTieBoolConsumer<T> |
trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LTieBoolConsumer<T> |
tryingThen(LConsumer<Throwable> handler) |
default LTuple.Void |
tupleAccept(LObjIntBoolTriple<T> args) |
static <T> LTieBoolConsumer<T> |
uncurry(LFunction<T,LIntFunction<LBoolConsumer>> func) |
default LTieBoolConsumer |
untyped()
Cast that removes generics.
|
isThrowingisConsumerformatTo, isAction, isFunction, isOperator, isPredicate, isSupplierstatic final String DESCRIPTION
default void accept(T a1, int a2, boolean a3)
void acceptX(T a1, int a2, boolean a3) throws Throwable
Implement this, but call accept(T a1,int a2,boolean a3)
Throwabledefault LTuple.Void tupleAccept(LObjIntBoolTriple<T> args)
default void handlingAccept(T a1, int a2, boolean a3, HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
default LTieBoolConsumer<T> handling(HandlingInstructions<Throwable,RuntimeException> handling)
default void accept(T a1, int a2, boolean a3, @Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default LTieBoolConsumer<T> trying(@Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default void accept(T a1, int a2, boolean a3, @Nonnull ExWF<RuntimeException> exF)
default LTieBoolConsumer<T> trying(@Nonnull ExWF<RuntimeException> exF)
default LTieBoolConsumer<T> tryingThen(@Nonnull LConsumer<Throwable> handler)
default void nestingAccept(T a1, int a2, boolean a3)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
default void shovingAccept(T a1, int a2, boolean 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,
boolean a3,
LTieBoolConsumer<T> func,
HandlingInstructions<Throwable,RuntimeException> handling)
static <T> void tryAccept(T a1,
int a2,
boolean a3,
LTieBoolConsumer<T> func)
static <T> void tryAccept(T a1,
int a2,
boolean a3,
LTieBoolConsumer<T> func,
@Nonnull
ExWMF<RuntimeException> exF,
@Nonnull
String newMessage,
@Nullable
Object... messageParams)
static <T> void tryAccept(T a1,
int a2,
boolean a3,
LTieBoolConsumer<T> func,
@Nonnull
ExWF<RuntimeException> exF)
static <T> void tryAcceptThen(T a1,
int a2,
boolean a3,
LTieBoolConsumer<T> func,
@Nonnull
LConsumer<Throwable> handler)
default void failSafeAccept(T a1, int a2, boolean a3, @Nonnull LTieBoolConsumer<T> failSafe)
static <T> void failSafeAccept(T a1,
int a2,
boolean a3,
LTieBoolConsumer<T> func,
@Nonnull
LTieBoolConsumer<T> failSafe)
static <T> LTieBoolConsumer<T> failSafe(LTieBoolConsumer<T> func, @Nonnull LTieBoolConsumer<T> failSafe)
@Nonnull default String functionalInterfaceDescription()
Returns description of the functional interface.
functionalInterfaceDescription in interface MetaFunctionalInterfacedefault LTieBoolFunction<T> toTieFunction()
toTieFunction in interface TieConsumer<T,aType.aBool>static <T> void fromTo(int min_a2,
int max_a2,
T a1,
boolean a3,
LTieBoolConsumer<T> func)
From-To. Intended to be used with non-capturing lambda.
static <T> void fromTill(int min_a2,
int max_a2,
T a1,
boolean a3,
LTieBoolConsumer<T> func)
From-To. Intended to be used with non-capturing lambda.
static <T> void times(int max_a2,
T a1,
boolean a3,
LTieBoolConsumer<T> func)
From-To. Intended to be used with non-capturing lambda.
static <T> LTieBoolConsumer<T> uncurry(LFunction<T,LIntFunction<LBoolConsumer>> func)
default LTieBoolConsumer untyped()
Cast that removes generics.
default <V2> LTieBoolConsumer<V2> cast()
Cast that replace generics.
static <V2,T> LTieBoolConsumer<V2> cast(LTieBoolConsumer<T> function)
Cast that replace generics.
default LAction capture(T a1, int a2, boolean a3)
Captures arguments but delays the evaluation.
@Nonnull static <T> LTieBoolConsumer<T> accept1st(@Nonnull LConsumer<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
@Nonnull static <T> LTieBoolConsumer<T> accept2nd(@Nonnull LIntConsumer func)
Captures single parameter function into this interface where only 2nd parameter will be used.
@Nonnull static <T> LTieBoolConsumer<T> accept3rd(@Nonnull LBoolConsumer func)
Captures single parameter function into this interface where only 3rd parameter will be used.
@Nonnull static <T> LTieBoolConsumer<T> tieBoolCons(@Nonnull LTieBoolConsumer<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> LTieBoolConsumer<T> recursive(@Nonnull LFunction<LTieBoolConsumer<T>,LTieBoolConsumer<T>> selfLambda)
@Nonnull static <T> LTieBoolConsumer<T> tieBoolConsThrowing(@Nonnull ExF<Throwable> exF)
@Nonnull static <T> LTieBoolConsumer<T> tieBoolConsThrowing(String message, @Nonnull ExMF<Throwable> exF)
@Nonnull static <T> LTieBoolConsumer.LObjBoolIntCons<T> objBoolIntCons(@Nonnull LTieBoolConsumer.LObjBoolIntCons<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> LTieBoolConsumer.LIntObjBoolCons<T> intObjBoolCons(@Nonnull LTieBoolConsumer.LIntObjBoolCons<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> LTieBoolConsumer.LIntBoolObjCons<T> intBoolObjCons(@Nonnull LTieBoolConsumer.LIntBoolObjCons<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> LTieBoolConsumer.LBoolObjIntCons<T> boolObjIntCons(@Nonnull LTieBoolConsumer.LBoolObjIntCons<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> LTieBoolConsumer.LBoolIntObjCons<T> boolIntObjCons(@Nonnull LTieBoolConsumer.LBoolIntObjCons<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,
boolean a3,
@Nonnull
LTieBoolConsumer<T> lambda)
@Nonnull static <T> LTieBoolConsumer<T> safe()
Safe instance.
@Nonnull static <T> LSupplier<LTieBoolConsumer<T>> safeSupplier()
Safe instance supplier. Returns supplier of safe() instance.
@Nonnull static <T> LTieBoolConsumer<T> safe(@Nullable LTieBoolConsumer<T> other)
Safe wrapping. Either argument function is returned (if it is not null) or safe() instance.
@Nonnull static <T> LSupplier<LTieBoolConsumer<T>> safeSupplier(@Nullable LSupplier<LTieBoolConsumer<T>> supplier)
Safe supplier. Either argument supplier is returned (if it is not null) or supplier of safe() instance.
@Nonnull default <V1> LTieBoolConsumer<V1> compose(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LIntUnaryOperator before2, @Nonnull LLogicalOperator before3)
Allows to manipulate the domain of the function.
static <V1,T> LTieBoolConsumer<V1> composed(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LIntUnaryOperator before2, @Nonnull LLogicalOperator before3, LTieBoolConsumer<T> after)
@Nonnull default <V1,V2,V3> LTriConsumer<V1,V2,V3> tieBoolConsCompose(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LToIntFunction<? super V2> before2, @Nonnull LPredicate<? 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 LPredicate<? super V3> before3, LTieBoolConsumer<T> after)
@Nonnull default LTieBoolConsumer<T> andThen(@Nonnull LTieBoolConsumer<? super T> after)
Combines two LTieBoolConsumer
static <T> void doNothing(T a1,
int a2,
boolean a3)
Does nothing (LTieBoolConsumer)
static <T> void doNothing(T a1,
boolean a3,
int a2)
Does nothing (LTieBoolConsumer.LObjBoolIntCons)
static <T> void doNothing(int a2,
T a1,
boolean a3)
Does nothing (LTieBoolConsumer.LIntObjBoolCons)
static <T> void doNothing(int a2,
boolean a3,
T a1)
Does nothing (LTieBoolConsumer.LIntBoolObjCons)
static <T> void doNothing(boolean a3,
T a1,
int a2)
Does nothing (LTieBoolConsumer.LBoolObjIntCons)
static <T> void doNothing(boolean a3,
int a2,
T a1)
Does nothing (LTieBoolConsumer.LBoolIntObjCons)
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.aBool> ia3, C3 source3, LTieBoolConsumer<? 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.aBool> ia3, C3 source3, LTieBoolConsumer<? 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.aBool> ia3, C3 source3, LTieBoolConsumer<? 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.aBool> ia3, C3 source3, LTieBoolConsumer<? 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.aBool> sa3, C3 source3, LTieBoolConsumer<? 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.aBool> sa3, C3 source3, LTieBoolConsumer<? 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.aBool> sa3, C3 source3, LTieBoolConsumer<? 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.aBool> sa3, C3 source3, LTieBoolConsumer<? 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 indexedForEach(IndexedRead<C1,aType.a<T>> ia1, C1 source1, IndexedRead<C3,aType.aBool> ia3, C3 source3, LTieBoolConsumer<? 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 indexedIterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, IndexedRead<C3,aType.aBool> ia3, C3 source3, LTieBoolConsumer<? 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 indexedIterate(IndexedRead<C1,aType.a<T>> ia1, C1 source1, SequentialRead<C3,I3,aType.aBool> sa3, C3 source3, LTieBoolConsumer<? 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 indexedIterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, SequentialRead<C3,I3,aType.aBool> sa3, C3 source3, LTieBoolConsumer<? 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.aBool> ia3,
C3 source3,
LTieBoolConsumer<? 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.aBool> ia3,
C3 source3,
LTieBoolConsumer<? 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.aBool> sa3,
C3 source3,
LTieBoolConsumer<? 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.aBool> sa3,
C3 source3,
LTieBoolConsumer<? 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.aBool> 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=boolean a3, type=TIE_SOURCE}, SourcePurpose{arg=boolean a3, type=TIE_GEN_SUPPLIER}]
genericTieForEach in interface TieConsumer<T,aType.aBool>static <T,C3> T tiForEach(T trg1,
IndexedRead<C3,aType.aBool> ia3,
C3 source3,
LTieBoolConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=boolean a3, type=IA}, SourcePurpose{arg=LTieBoolConsumer<? super T> consumer, type=CONST}]
static <T,C3> T ntiForEach(LIntFunction<T> trgFactory1, IndexedRead<C3,aType.aBool> ia3, C3 source3, LTieBoolConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH_NEW: FOR, [SourcePurpose{arg=T trg1, type=SIZE_FACTORY}, SourcePurpose{arg=boolean a3, type=IA}, SourcePurpose{arg=LTieBoolConsumer<? super T> consumer, type=CONST}]
static <T,C3> int tieForEach(T trg1,
IndexedRead<C3,aType.aBool> ia3,
C3 source3,
LTieBoolConsumer<? super T> consumer)
ITERATION: TIE_CONSUMER_SHORT: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=boolean a3, type=IA}, SourcePurpose{arg=LTieBoolConsumer<? super T> consumer, type=CONST}]
static <T,SRC> int tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LObjIntPredicate<SRC> srcAcc3,
LTieBoolConsumer<? 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=boolean a3, type=TIE_SOURCE}, SourcePurpose{arg=boolean a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieBoolConsumer<? super T> consumer, type=CONST}]
static <T,SRC> int tieForEach(int sStart,
int tStart,
T trg1,
SRC src3,
LPredicate<SRC> srcTest3,
LPredicate<SRC> srcAcc3,
LTieBoolConsumer<? 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.aBool> sa3,
C3 source3,
LTieBoolConsumer<? 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.aBool> sa3,
C3 source3,
LTieBoolConsumer<? 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.aBool> sa3, C3 source3, LTieBoolConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_ITERATE_NEW: WHILE, [SourcePurpose{arg=T trg1, type=SUPPLIER}, SourcePurpose{arg=boolean a3, type=SA}, SourcePurpose{arg=LTieBoolConsumer<? super T> consumer, type=CONST}]
Copyright © 2019. All rights reserved.