T
- output type@FunctionalInterface public interface BooleanFunction2<T> extends Function2<T,java.lang.Boolean,java.lang.Boolean>
Modifier and Type | Method and Description |
---|---|
default T |
apply(java.lang.Boolean v1,
java.lang.Boolean v2)
Default implementation.
|
T |
applyAsBoolean(boolean ch1,
boolean ch2)
Convert two booleans into something else.
|
after1, after2, after3, after5, after6, after7, after8, after9, andThen, apply, applyOrDefault, from, nonFragile, nonFragile, nonFragileX, partial1, partial2, partialLeft, partialRight
after, applyNonNull, applyOrDefault, fallback, fallback, from, from, nonFragile, nonFragile, nonFragileX, partial, withFallback
T applyAsBoolean(boolean ch1, boolean ch2)
ch1
- first booleanch2
- second booleandefault T apply(java.lang.Boolean v1, java.lang.Boolean v2)
applyAsBoolean(boolean, boolean)
.apply
in interface java.util.function.BiFunction<java.lang.Boolean,java.lang.Boolean,T>
v1
- first argumentv2
- second argumentjava.lang.NullPointerException
- if either argument is null