@FunctionalInterface public interface LTriBoolConsumer extends MetaConsumer, MetaInterface.NonThrowing, Codomain<aType.aVoid>, Domain3<aType.aBool,aType.aBool,aType.aBool>
Non-throwing functional interface (lambda) LTriBoolConsumer for Java 8.
Type: consumer
Domain (lvl: 3): boolean a1,boolean a2,boolean a3
Co-domain: none
| Modifier and Type | Interface and Description |
|---|---|
static class |
LTriBoolConsumer.LTriBoolConsumerSingle |
MetaInterface.NonThrowing, MetaInterface.Throwing<X>| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION |
| Modifier and Type | Method and Description |
|---|---|
default void |
accept(boolean a1,
boolean a2,
boolean a3) |
default void |
accept(boolean a1,
boolean a2,
boolean a3,
ExWF<RuntimeException> exF) |
default void |
accept(boolean a1,
boolean a2,
boolean a3,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static LTriBoolConsumer |
accept1st(LBoolConsumer func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static LTriBoolConsumer |
accept2nd(LBoolConsumer func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static LTriBoolConsumer |
accept3rd(LBoolConsumer func)
Captures single parameter function into this interface where only 3rd parameter will be used.
|
default void |
acceptThen(boolean a1,
boolean a2,
boolean a3,
LConsumer<Throwable> handler) |
void |
acceptX(boolean a1,
boolean a2,
boolean a3)
Implement this, but call accept(boolean a1,boolean a2,boolean a3)
|
default LTriBoolConsumer |
andThen(LTriBoolConsumer after)
Combines two LTriBoolConsumer together in a order.
|
static void |
call(boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer lambda) |
default LAction |
capture(boolean a1,
boolean a2,
boolean a3)
Captures arguments but delays the evaluation.
|
default LTriBoolConsumer |
compose(LLogicalOperator before1,
LLogicalOperator before2,
LLogicalOperator before3)
Allows to manipulate the domain of the function.
|
static LTriBoolConsumer |
composed(LLogicalOperator before1,
LLogicalOperator before2,
LLogicalOperator before3,
LTriBoolConsumer after) |
static <V1,V2,V3> LTriConsumer<V1,V2,V3> |
composed(LPredicate<? super V1> before1,
LPredicate<? super V2> before2,
LPredicate<? super V3> before3,
LTriBoolConsumer after) |
static void |
doNothing(boolean a1,
boolean a2,
boolean a3)
Does nothing (LTriBoolConsumer)
|
static LTriBoolConsumer |
failSafe(LTriBoolConsumer func,
LTriBoolConsumer failSafe) |
default void |
failSafeAccept(boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer failSafe) |
static void |
failSafeAccept(boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer func,
LTriBoolConsumer failSafe) |
static <C1,C2,C3> int |
forEach(IndexedRead<C1,aType.aBool> ia1,
C1 source1,
IndexedRead<C2,aType.aBool> ia2,
C2 source2,
IndexedRead<C3,aType.aBool> ia3,
C3 source3,
LTriBoolConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static void |
fromTill(int min_i,
int max_i,
boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer func)
From-To.
|
static void |
fromTo(int min_i,
int max_i,
boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer func)
From-To.
|
default String |
functionalInterfaceDescription()
Returns description of the functional interface.
|
default LTriBoolConsumer |
handling(HandlingInstructions<Throwable,RuntimeException> handling) |
default void |
handlingAccept(boolean a1,
boolean a2,
boolean a3,
HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
|
static void |
handlingAccept(boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <C1,C2,C3,I3> |
iterate(IndexedRead<C1,aType.aBool> ia1,
C1 source1,
IndexedRead<C2,aType.aBool> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aBool> sa3,
C3 source3,
LTriBoolConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,C2,I2,C3> |
iterate(IndexedRead<C1,aType.aBool> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aBool> sa2,
C2 source2,
IndexedRead<C3,aType.aBool> ia3,
C3 source3,
LTriBoolConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,C2,I2,C3,I3> |
iterate(IndexedRead<C1,aType.aBool> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aBool> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aBool> sa3,
C3 source3,
LTriBoolConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,C3> |
iterate(SequentialRead<C1,I1,aType.aBool> sa1,
C1 source1,
IndexedRead<C2,aType.aBool> ia2,
C2 source2,
IndexedRead<C3,aType.aBool> ia3,
C3 source3,
LTriBoolConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,C3,I3> |
iterate(SequentialRead<C1,I1,aType.aBool> sa1,
C1 source1,
IndexedRead<C2,aType.aBool> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aBool> sa3,
C3 source3,
LTriBoolConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,I2,C3> |
iterate(SequentialRead<C1,I1,aType.aBool> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aBool> sa2,
C2 source2,
IndexedRead<C3,aType.aBool> ia3,
C3 source3,
LTriBoolConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,I2,C3,I3> |
iterate(SequentialRead<C1,I1,aType.aBool> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aBool> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aBool> sa3,
C3 source3,
LTriBoolConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
default LBiBoolConsumer |
lShrink(LLogicalBinaryOperator left) |
default LBiBoolConsumer |
lShrinkc(boolean a1) |
static LBiBoolConsumer |
lShrinked(LLogicalBinaryOperator left,
LTriBoolConsumer func) |
static LBiBoolConsumer |
lShrinkedc(boolean a1,
LTriBoolConsumer func) |
default void |
nestingAccept(boolean a1,
boolean a2,
boolean a3)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
|
static LTriBoolConsumer |
recursive(LFunction<LTriBoolConsumer,LTriBoolConsumer> selfLambda) |
default LBiBoolConsumer |
rShrink(LLogicalBinaryOperator right) |
default LBiBoolConsumer |
rShrinkc(boolean a3) |
static LBiBoolConsumer |
rShrinked(LLogicalBinaryOperator right,
LTriBoolConsumer func) |
static LBiBoolConsumer |
rShrinkedc(boolean a3,
LTriBoolConsumer func) |
static LTriBoolConsumer |
safe()
Safe instance.
|
static LTriBoolConsumer |
safe(LTriBoolConsumer other)
Safe wrapping.
|
static LSupplier<LTriBoolConsumer> |
safeSupplier()
Safe instance supplier.
|
static LSupplier<LTriBoolConsumer> |
safeSupplier(LSupplier<LTriBoolConsumer> supplier)
Safe supplier.
|
default void |
shovingAccept(boolean a1,
boolean a2,
boolean a3)
Function call that handles exceptions by always propagating them as is, even when they are undeclared checked ones.
|
static <C2,C3> boolean |
targetedForEach(boolean a1,
IndexedRead<C2,aType.aBool> ia2,
C2 source2,
IndexedRead<C3,aType.aBool> ia3,
C3 source3,
LTriBoolConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C2,C3,I3> boolean |
targetedIterate(boolean a1,
IndexedRead<C2,aType.aBool> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aBool> sa3,
C3 source3,
LTriBoolConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C2,I2,C3> boolean |
targetedIterate(boolean a1,
SequentialRead<C2,I2,aType.aBool> sa2,
C2 source2,
IndexedRead<C3,aType.aBool> ia3,
C3 source3,
LTriBoolConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C2,I2,C3,I3> |
targetedIterate(boolean a1,
SequentialRead<C2,I2,aType.aBool> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aBool> sa3,
C3 source3,
LTriBoolConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static void |
times(int max_i,
boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer func)
From-To.
|
static LTriBoolConsumer |
triBoolCons(LTriBoolConsumer 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> |
triBoolConsCompose(LPredicate<? super V1> before1,
LPredicate<? super V2> before2,
LPredicate<? super V3> before3)
Allows to manipulate the domain of the function.
|
static LTriBoolConsumer |
triBoolConsThrowing(ExF<Throwable> exF) |
static LTriBoolConsumer |
triBoolConsThrowing(String message,
ExMF<Throwable> exF) |
static void |
tryAccept(boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer func) |
static void |
tryAccept(boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer func,
ExWF<RuntimeException> exF) |
static void |
tryAccept(boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static void |
tryAcceptThen(boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer func,
LConsumer<Throwable> handler) |
default LTriBoolConsumer |
trying(ExWF<RuntimeException> exF) |
default LTriBoolConsumer |
trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LTriBoolConsumer |
tryingThen(LConsumer<Throwable> handler) |
default LTuple.Void |
tupleAccept(LBoolTriple args) |
static LTriBoolConsumer |
uncurry(LBoolFunction<LBoolFunction<LBoolConsumer>> func) |
isConsumerformatTo, isAction, isFunction, isOperator, isPredicate, isSupplierisThrowingstatic final String DESCRIPTION
default void accept(boolean a1,
boolean a2,
boolean a3)
void acceptX(boolean a1,
boolean a2,
boolean a3)
throws Throwable
Implement this, but call accept(boolean a1,boolean a2,boolean a3)
Throwabledefault LTuple.Void tupleAccept(LBoolTriple args)
default void handlingAccept(boolean a1,
boolean a2,
boolean a3,
HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
default LTriBoolConsumer handling(HandlingInstructions<Throwable,RuntimeException> handling)
default void accept(boolean a1,
boolean a2,
boolean a3,
@Nonnull
ExWMF<RuntimeException> exF,
@Nonnull
String newMessage,
@Nullable
Object... messageParams)
default LTriBoolConsumer trying(@Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default void accept(boolean a1,
boolean a2,
boolean a3,
@Nonnull
ExWF<RuntimeException> exF)
default LTriBoolConsumer trying(@Nonnull ExWF<RuntimeException> exF)
default void acceptThen(boolean a1,
boolean a2,
boolean a3,
@Nonnull
LConsumer<Throwable> handler)
default LTriBoolConsumer tryingThen(@Nonnull LConsumer<Throwable> handler)
default void nestingAccept(boolean a1,
boolean a2,
boolean a3)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
default void shovingAccept(boolean a1,
boolean a2,
boolean a3)
Function call that handles exceptions by always propagating them as is, even when they are undeclared checked ones.
static void handlingAccept(boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer func,
HandlingInstructions<Throwable,RuntimeException> handling)
static void tryAccept(boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer func)
static void tryAccept(boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer func,
@Nonnull
ExWMF<RuntimeException> exF,
@Nonnull
String newMessage,
@Nullable
Object... messageParams)
static void tryAccept(boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer func,
@Nonnull
ExWF<RuntimeException> exF)
static void tryAcceptThen(boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer func,
@Nonnull
LConsumer<Throwable> handler)
default void failSafeAccept(boolean a1,
boolean a2,
boolean a3,
@Nonnull
LTriBoolConsumer failSafe)
static void failSafeAccept(boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer func,
@Nonnull
LTriBoolConsumer failSafe)
static LTriBoolConsumer failSafe(LTriBoolConsumer func, @Nonnull LTriBoolConsumer failSafe)
@Nonnull default String functionalInterfaceDescription()
Returns description of the functional interface.
functionalInterfaceDescription in interface MetaFunctionalInterfacestatic void fromTo(int min_i,
int max_i,
boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer func)
From-To. Intended to be used with non-capturing lambda.
static void fromTill(int min_i,
int max_i,
boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer func)
From-To. Intended to be used with non-capturing lambda.
static void times(int max_i,
boolean a1,
boolean a2,
boolean a3,
LTriBoolConsumer func)
From-To. Intended to be used with non-capturing lambda.
default LBiBoolConsumer lShrink(LLogicalBinaryOperator left)
default LBiBoolConsumer lShrinkc(boolean a1)
static LBiBoolConsumer lShrinked(LLogicalBinaryOperator left, LTriBoolConsumer func)
static LBiBoolConsumer lShrinkedc(boolean a1, LTriBoolConsumer func)
default LBiBoolConsumer rShrink(LLogicalBinaryOperator right)
default LBiBoolConsumer rShrinkc(boolean a3)
static LBiBoolConsumer rShrinked(LLogicalBinaryOperator right, LTriBoolConsumer func)
static LBiBoolConsumer rShrinkedc(boolean a3, LTriBoolConsumer func)
static LTriBoolConsumer uncurry(LBoolFunction<LBoolFunction<LBoolConsumer>> func)
default LAction capture(boolean a1, boolean a2, boolean a3)
Captures arguments but delays the evaluation.
@Nonnull static LTriBoolConsumer accept1st(@Nonnull LBoolConsumer func)
Captures single parameter function into this interface where only 1st parameter will be used.
@Nonnull static LTriBoolConsumer accept2nd(@Nonnull LBoolConsumer func)
Captures single parameter function into this interface where only 2nd parameter will be used.
@Nonnull static LTriBoolConsumer accept3rd(@Nonnull LBoolConsumer func)
Captures single parameter function into this interface where only 3rd parameter will be used.
@Nonnull static LTriBoolConsumer triBoolCons(@Nonnull LTriBoolConsumer lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static LTriBoolConsumer recursive(@Nonnull LFunction<LTriBoolConsumer,LTriBoolConsumer> selfLambda)
@Nonnull static LTriBoolConsumer triBoolConsThrowing(@Nonnull ExF<Throwable> exF)
@Nonnull static LTriBoolConsumer triBoolConsThrowing(String message, @Nonnull ExMF<Throwable> exF)
static void call(boolean a1,
boolean a2,
boolean a3,
@Nonnull
LTriBoolConsumer lambda)
@Nonnull static LTriBoolConsumer safe()
Safe instance.
@Nonnull static LSupplier<LTriBoolConsumer> safeSupplier()
Safe instance supplier. Returns supplier of safe() instance.
@Nonnull static LTriBoolConsumer safe(@Nullable LTriBoolConsumer other)
Safe wrapping. Either argument function is returned (if it is not null) or safe() instance.
@Nonnull static LSupplier<LTriBoolConsumer> safeSupplier(@Nullable LSupplier<LTriBoolConsumer> supplier)
Safe supplier. Either argument supplier is returned (if it is not null) or supplier of safe() instance.
@Nonnull default LTriBoolConsumer compose(@Nonnull LLogicalOperator before1, @Nonnull LLogicalOperator before2, @Nonnull LLogicalOperator before3)
Allows to manipulate the domain of the function.
static LTriBoolConsumer composed(@Nonnull LLogicalOperator before1, @Nonnull LLogicalOperator before2, @Nonnull LLogicalOperator before3, LTriBoolConsumer after)
@Nonnull default <V1,V2,V3> LTriConsumer<V1,V2,V3> triBoolConsCompose(@Nonnull LPredicate<? super V1> before1, @Nonnull LPredicate<? super V2> before2, @Nonnull LPredicate<? super V3> before3)
Allows to manipulate the domain of the function.
static <V1,V2,V3> LTriConsumer<V1,V2,V3> composed(@Nonnull LPredicate<? super V1> before1, @Nonnull LPredicate<? super V2> before2, @Nonnull LPredicate<? super V3> before3, LTriBoolConsumer after)
@Nonnull default LTriBoolConsumer andThen(@Nonnull LTriBoolConsumer after)
Combines two LTriBoolConsumer together in a order.
static void doNothing(boolean a1,
boolean a2,
boolean a3)
Does nothing (LTriBoolConsumer)
static <C1,C2,C3> int forEach(IndexedRead<C1,aType.aBool> ia1, C1 source1, IndexedRead<C2,aType.aBool> ia2, C2 source2, IndexedRead<C3,aType.aBool> ia3, C3 source3, LTriBoolConsumer 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> int iterate(SequentialRead<C1,I1,aType.aBool> sa1, C1 source1, IndexedRead<C2,aType.aBool> ia2, C2 source2, IndexedRead<C3,aType.aBool> ia3, C3 source3, LTriBoolConsumer 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> int iterate(IndexedRead<C1,aType.aBool> ia1, C1 source1, SequentialRead<C2,I2,aType.aBool> sa2, C2 source2, IndexedRead<C3,aType.aBool> ia3, C3 source3, LTriBoolConsumer 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> int iterate(SequentialRead<C1,I1,aType.aBool> sa1, C1 source1, SequentialRead<C2,I2,aType.aBool> sa2, C2 source2, IndexedRead<C3,aType.aBool> ia3, C3 source3, LTriBoolConsumer 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> int iterate(IndexedRead<C1,aType.aBool> ia1, C1 source1, IndexedRead<C2,aType.aBool> ia2, C2 source2, SequentialRead<C3,I3,aType.aBool> sa3, C3 source3, LTriBoolConsumer 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> int iterate(SequentialRead<C1,I1,aType.aBool> sa1, C1 source1, IndexedRead<C2,aType.aBool> ia2, C2 source2, SequentialRead<C3,I3,aType.aBool> sa3, C3 source3, LTriBoolConsumer 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> int iterate(IndexedRead<C1,aType.aBool> ia1, C1 source1, SequentialRead<C2,I2,aType.aBool> sa2, C2 source2, SequentialRead<C3,I3,aType.aBool> sa3, C3 source3, LTriBoolConsumer 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> int iterate(SequentialRead<C1,I1,aType.aBool> sa1, C1 source1, SequentialRead<C2,I2,aType.aBool> sa2, C2 source2, SequentialRead<C3,I3,aType.aBool> sa3, C3 source3, LTriBoolConsumer 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 <C2,C3> boolean targetedForEach(boolean a1,
IndexedRead<C2,aType.aBool> ia2,
C2 source2,
IndexedRead<C3,aType.aBool> ia3,
C3 source3,
LTriBoolConsumer 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 <C2,I2,C3> boolean targetedIterate(boolean a1,
SequentialRead<C2,I2,aType.aBool> sa2,
C2 source2,
IndexedRead<C3,aType.aBool> ia3,
C3 source3,
LTriBoolConsumer 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 <C2,C3,I3> boolean targetedIterate(boolean a1,
IndexedRead<C2,aType.aBool> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aBool> sa3,
C3 source3,
LTriBoolConsumer 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 <C2,I2,C3,I3> boolean targetedIterate(boolean a1,
SequentialRead<C2,I2,aType.aBool> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aBool> sa3,
C3 source3,
LTriBoolConsumer 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.
Copyright © 2019. All rights reserved.