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