@FunctionalInterface public interface LBiObjLongPredicate<T1,T2> extends MetaPredicate, MetaInterface.NonThrowing, Codomain<aType.aBool>, Domain3<aType.a<T1>,aType.a<T2>,aType.aLong>
Non-throwing functional interface (lambda) LBiObjLongPredicate for Java 8.
Type: predicate
Domain (lvl: 3): T1 a1,T2 a2,long a3
Co-domain: boolean
| Modifier and Type | Interface and Description |
|---|---|
static class |
LBiObjLongPredicate.LBiObjLongPredicateSingle<T1,T2> |
static interface |
LBiObjLongPredicate.LLong2Obj0Obj1Pred<T1,T2>
Permutation of LBiObjLongPredicate for method references.
|
static interface |
LBiObjLongPredicate.LLong2Obj1Obj0Pred<T2,T1>
Permutation of LBiObjLongPredicate for method references.
|
static interface |
LBiObjLongPredicate.LObj0Long2Obj1Pred<T1,T2>
Permutation of LBiObjLongPredicate for method references.
|
static interface |
LBiObjLongPredicate.LObj1Long2Obj0Pred<T2,T1>
Permutation of LBiObjLongPredicate for method references.
|
static interface |
LBiObjLongPredicate.LObj1Obj0Long2Pred<T2,T1>
Permutation of LBiObjLongPredicate for method references.
|
MetaInterface.NonThrowing, MetaInterface.Throwing<X>| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION |
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2> boolean |
alwaysFalse(long a3,
T1 a1,
T2 a2)
Returns FALSE.
|
static <T1,T2> boolean |
alwaysFalse(T1 a1,
long a3,
T2 a2)
Returns FALSE.
|
static <T1,T2> boolean |
alwaysFalse(T1 a1,
T2 a2,
long a3)
Returns FALSE.
|
static <T1,T2> boolean |
alwaysTrue(long a3,
T1 a1,
T2 a2)
Returns TRUE.
|
static <T1,T2> boolean |
alwaysTrue(T1 a1,
long a3,
T2 a2)
Returns TRUE.
|
static <T1,T2> boolean |
alwaysTrue(T1 a1,
T2 a2,
long a3)
Returns TRUE.
|
default LBiObjLongPredicate<T1,T2> |
and(LBiObjLongPredicate<? super T1,? super T2> other)
Returns a predicate that represents the logical AND of evaluation of this predicate and the argument one.
|
static <T1,T2> LBiObjLongPredicate<T1,T2> |
biObjLongPred(LBiObjLongPredicate<T1,T2> 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> LTriPredicate<V1,V2,V3> |
biObjLongPredCompose(LFunction<? super V1,? extends T1> before1,
LFunction<? super V2,? extends T2> before2,
LToLongFunction<? super V3> before3)
Allows to manipulate the domain of the function.
|
static <T1,T2> LBiObjLongPredicate<T1,T2> |
biObjLongPredThrowing(ExF<Throwable> exF) |
static <T1,T2> LBiObjLongPredicate<T1,T2> |
biObjLongPredThrowing(String message,
ExMF<Throwable> exF) |
default <V> LBiObjLongFunction<T1,T2,V> |
boolToBiObjLongFunc(LBoolFunction<? extends V> after)
Combines two functions together in a order.
|
default LBiObjLongPredicate<T1,T2> |
boolToBiObjLongPred(LLogicalOperator after)
Combines two functions together in a order.
|
static <T1,T2> boolean |
call(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> lambda) |
default LBoolSupplier |
capture(T1 a1,
T2 a2,
long a3)
Captures arguments but delays the evaluation.
|
default <V2,V3> LBiObjLongPredicate<V2,V3> |
cast()
Cast that replace generics.
|
static <V2,V3,T1,T2> |
cast(LBiObjLongPredicate<T1,T2> function)
Cast that replace generics.
|
default <V1,V2> LBiObjLongPredicate<V1,V2> |
compose(LFunction<? super V1,? extends T1> before1,
LFunction<? super V2,? extends T2> before2,
LLongUnaryOperator before3)
Allows to manipulate the domain of the function.
|
static <V1,V2,T1,T2> |
composed(LFunction<? super V1,? extends T1> before1,
LFunction<? super V2,? extends T2> before2,
LLongUnaryOperator before3,
LBiObjLongPredicate<T1,T2> after) |
static <V1,V2,V3,T1,T2> |
composed(LFunction<? super V1,? extends T1> before1,
LFunction<? super V2,? extends T2> before2,
LToLongFunction<? super V3> before3,
LBiObjLongPredicate<T1,T2> after) |
static <T1,T2> LBiObjLongPredicate<T1,T2> |
constant(boolean r)
Creates function that always returns the same value.
|
default boolean |
doApplyAsBoolean(T1 a1,
T2 a2,
long a3)
For convenience, where “test()” makes things more confusing than “applyAsBoolean()”.
|
default boolean |
doIf(T1 a1,
T2 a2,
long a3,
LAction action) |
default boolean |
doIf(T1 a1,
T2 a2,
long a3,
LBiObjLongConsumer<? super T1,? super T2> consumer) |
static <T1,T2> boolean |
doIf(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> predicate,
LAction action) |
static <T1,T2> boolean |
doIf(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> predicate,
LBiObjLongConsumer<? super T1,? super T2> consumer) |
static <T1,T2> LBiObjLongPredicate<T1,T2> |
failSafe(LBiObjLongPredicate<T1,T2> func,
LBiObjLongPredicate<T1,T2> failSafe) |
default boolean |
failSafeTest(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> failSafe) |
static <T1,T2> boolean |
failSafeTest(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> func,
LBiObjLongPredicate<T1,T2> failSafe) |
default <C1,C2,C3> void |
filterForEach(IndexedRead<C1,aType.a<T1>> ia1,
C1 source1,
IndexedRead<C2,aType.a<T2>> ia2,
C2 source2,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LBiObjLongConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,C2,C3,I3> |
filterIterate(IndexedRead<C1,aType.a<T1>> ia1,
C1 source1,
IndexedRead<C2,aType.a<T2>> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LBiObjLongConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,C2,I2,C3> |
filterIterate(IndexedRead<C1,aType.a<T1>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.a<T2>> sa2,
C2 source2,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LBiObjLongConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,C2,I2,C3,I3> |
filterIterate(IndexedRead<C1,aType.a<T1>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.a<T2>> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LBiObjLongConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,I1,C2,C3> |
filterIterate(SequentialRead<C1,I1,aType.a<T1>> sa1,
C1 source1,
IndexedRead<C2,aType.a<T2>> ia2,
C2 source2,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LBiObjLongConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,I1,C2,C3,I3> |
filterIterate(SequentialRead<C1,I1,aType.a<T1>> sa1,
C1 source1,
IndexedRead<C2,aType.a<T2>> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LBiObjLongConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,I1,C2,I2,C3> |
filterIterate(SequentialRead<C1,I1,aType.a<T1>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.a<T2>> sa2,
C2 source2,
IndexedRead<C3,aType.aLong> ia3,
C3 source3,
LBiObjLongConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,I1,C2,I2,C3,I3> |
filterIterate(SequentialRead<C1,I1,aType.a<T1>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.a<T2>> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aLong> sa3,
C3 source3,
LBiObjLongConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
static <T1,T2> void |
fromTill(long min_a3,
long max_a3,
T1 a1,
T2 a2,
LBiObjLongPredicate<T1,T2> func)
From-To.
|
static <T1,T2> void |
fromTo(long min_a3,
long max_a3,
T1 a1,
T2 a2,
LBiObjLongPredicate<T1,T2> func)
From-To.
|
default String |
functionalInterfaceDescription()
Returns description of the functional interface.
|
default LBiObjLongPredicate<T1,T2> |
handling(HandlingInstructions<Throwable,RuntimeException> handling) |
default boolean |
handlingTest(T1 a1,
T2 a2,
long a3,
HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
|
static <T1,T2> boolean |
handlingTest(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <T1,T2> LBiObjLongPredicate<T1,T2> |
isEqual(T1 v1,
T2 v2,
long v3)
Creates predicate that evaluates if an object is equal with the argument one.
|
static <T1,T2> LBiObjLongPredicate.LLong2Obj0Obj1Pred<T1,T2> |
long2Obj0Obj1Pred(LBiObjLongPredicate.LLong2Obj0Obj1Pred<T1,T2> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T2,T1> LBiObjLongPredicate.LLong2Obj1Obj0Pred<T2,T1> |
long2Obj1Obj0Pred(LBiObjLongPredicate.LLong2Obj1Obj0Pred<T2,T1> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
default LObjLongPredicate<T2> |
lShrink(LObjLongFunction<T2,T1> left) |
default LObjLongPredicate<T2> |
lShrinkc(T1 a1) |
static <T2,T1> LObjLongPredicate<T2> |
lShrinked(LObjLongFunction<T2,T1> left,
LBiObjLongPredicate<T1,T2> func) |
static <T2,T1> LObjLongPredicate<T2> |
lShrinkedc(T1 a1,
LBiObjLongPredicate<T1,T2> func) |
default LBiObjLongPredicate<T1,T2> |
negate()
Returns a predicate that represents the logical negation of this predicate.
|
default boolean |
nestingTest(T1 a1,
T2 a2,
long a3)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
|
default boolean |
nonNullTest(T1 a1,
T2 a2,
long a3)
Just to mirror the method: Ensures the result is not null
|
static <T1,T2> LBiObjLongPredicate.LObj0Long2Obj1Pred<T1,T2> |
obj0Long2Obj1Pred(LBiObjLongPredicate.LObj0Long2Obj1Pred<T1,T2> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T2,T1> LBiObjLongPredicate.LObj1Long2Obj0Pred<T2,T1> |
obj1Long2Obj0Pred(LBiObjLongPredicate.LObj1Long2Obj0Pred<T2,T1> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T2,T1> LBiObjLongPredicate.LObj1Obj0Long2Pred<T2,T1> |
obj1Obj0Long2Pred(LBiObjLongPredicate.LObj1Obj0Long2Pred<T2,T1> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
default LBiObjLongPredicate<T1,T2> |
or(LBiObjLongPredicate<? super T1,? super T2> other)
Returns a predicate that represents the logical OR of evaluation of this predicate and the argument one.
|
static <T1,T2> LBiObjLongPredicate<T1,T2> |
recursive(LFunction<LBiObjLongPredicate<T1,T2>,LBiObjLongPredicate<T1,T2>> selfLambda) |
default LBiPredicate<T1,T2> |
rShrink(LToLongBiFunction<T1,T2> right) |
default LBiPredicate<T1,T2> |
rShrinkc(long a3) |
static <T1,T2> LBiPredicate<T1,T2> |
rShrinked(LToLongBiFunction<T1,T2> right,
LBiObjLongPredicate<T1,T2> func) |
static <T1,T2> LBiPredicate<T1,T2> |
rShrinkedc(long a3,
LBiObjLongPredicate<T1,T2> func) |
static <T1,T2> LBiObjLongPredicate<T1,T2> |
safe()
Safe instance.
|
static <T1,T2> LBiObjLongPredicate<T1,T2> |
safe(LBiObjLongPredicate<T1,T2> other)
Safe wrapping.
|
static <T1,T2> LSupplier<LBiObjLongPredicate<T1,T2>> |
safeSupplier()
Safe instance supplier.
|
static <T1,T2> LSupplier<LBiObjLongPredicate<T1,T2>> |
safeSupplier(LSupplier<LBiObjLongPredicate<T1,T2>> supplier)
Safe supplier.
|
default boolean |
shovingTest(T1 a1,
T2 a2,
long a3)
Function call that handles exceptions by always propagating them as is, even when they are undeclared checked ones.
|
default boolean |
test(T1 a1,
T2 a2,
long a3) |
default boolean |
test(T1 a1,
T2 a2,
long a3,
ExWF<RuntimeException> exF) |
default boolean |
test(T1 a1,
T2 a2,
long a3,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T1,T2> LBiObjLongPredicate<T1,T2> |
test1st(LPredicate<T1> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T1,T2> LBiObjLongPredicate<T1,T2> |
test2nd(LPredicate<T2> func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static <T1,T2> LBiObjLongPredicate<T1,T2> |
test3rd(LLongPredicate func)
Captures single parameter function into this interface where only 3rd parameter will be used.
|
default boolean |
testThen(T1 a1,
T2 a2,
long a3,
LPredicate<Throwable> handler) |
boolean |
testX(T1 a1,
T2 a2,
long a3)
Implement this, but call test(T1 a1,T2 a2,long a3)
|
static <T1,T2> void |
throwIf(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> pred,
ExMF<RuntimeException> factory,
String newMessage,
Object... messageParams) |
static <T1,T2> void |
throwIfNot(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> pred,
ExMF<RuntimeException> factory,
String newMessage,
Object... messageParams) |
static <T1,T2> void |
times(long max_a3,
T1 a1,
T2 a2,
LBiObjLongPredicate<T1,T2> func)
From-To.
|
default LBiObjLongPredicate<T1,T2> |
trying(ExWF<RuntimeException> exF) |
default LBiObjLongPredicate<T1,T2> |
trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LBiObjLongPredicate<T1,T2> |
tryingThen(LPredicate<Throwable> handler) |
static <T1,T2> boolean |
tryTest(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> func) |
static <T1,T2> boolean |
tryTest(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> func,
ExWF<RuntimeException> exF) |
static <T1,T2> boolean |
tryTest(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T1,T2> boolean |
tryTestThen(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> func,
LPredicate<Throwable> handler) |
default boolean |
tupleTest(LBiObjLongTriple<T1,T2> args) |
static <T1,T2> LBiObjLongPredicate<T1,T2> |
uncurry(LFunction<T1,LFunction<T2,LLongPredicate>> func) |
default LBiObjLongPredicate |
untyped()
Cast that removes generics.
|
default LBiObjLongPredicate<T1,T2> |
xor(LBiObjLongPredicate<? super T1,? super T2> other)
Returns a predicate that represents the logical XOR of evaluation of this predicate and the argument one.
|
isPredicateisFunctionformatTo, isAction, isConsumer, isOperator, isSupplierisThrowingisThrowingstatic final String DESCRIPTION
boolean testX(T1 a1, T2 a2, long a3) throws Throwable
Implement this, but call test(T1 a1,T2 a2,long a3)
Throwabledefault boolean tupleTest(LBiObjLongTriple<T1,T2> args)
default boolean handlingTest(T1 a1, T2 a2, long a3, HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
default LBiObjLongPredicate<T1,T2> handling(HandlingInstructions<Throwable,RuntimeException> handling)
default boolean test(T1 a1, T2 a2, long a3, @Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default LBiObjLongPredicate<T1,T2> trying(@Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default boolean test(T1 a1, T2 a2, long a3, @Nonnull ExWF<RuntimeException> exF)
default LBiObjLongPredicate<T1,T2> trying(@Nonnull ExWF<RuntimeException> exF)
default boolean testThen(T1 a1, T2 a2, long a3, @Nonnull LPredicate<Throwable> handler)
default LBiObjLongPredicate<T1,T2> tryingThen(@Nonnull LPredicate<Throwable> handler)
default boolean nestingTest(T1 a1, T2 a2, long a3)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
default boolean shovingTest(T1 a1, T2 a2, long a3)
Function call that handles exceptions by always propagating them as is, even when they are undeclared checked ones.
static <T1,T2> boolean handlingTest(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> func,
HandlingInstructions<Throwable,RuntimeException> handling)
static <T1,T2> boolean tryTest(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> func)
static <T1,T2> boolean tryTest(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> func,
@Nonnull
ExWMF<RuntimeException> exF,
@Nonnull
String newMessage,
@Nullable
Object... messageParams)
static <T1,T2> boolean tryTest(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> func,
@Nonnull
ExWF<RuntimeException> exF)
static <T1,T2> boolean tryTestThen(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> func,
@Nonnull
LPredicate<Throwable> handler)
default boolean failSafeTest(T1 a1, T2 a2, long a3, @Nonnull LBiObjLongPredicate<T1,T2> failSafe)
static <T1,T2> boolean failSafeTest(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> func,
@Nonnull
LBiObjLongPredicate<T1,T2> failSafe)
static <T1,T2> LBiObjLongPredicate<T1,T2> failSafe(LBiObjLongPredicate<T1,T2> func, @Nonnull LBiObjLongPredicate<T1,T2> failSafe)
static <T1,T2> boolean doIf(T1 a1,
T2 a2,
long a3,
@Nonnull
LBiObjLongPredicate<T1,T2> predicate,
@Nonnull
LAction action)
static <T1,T2> boolean doIf(T1 a1,
T2 a2,
long a3,
@Nonnull
LBiObjLongPredicate<T1,T2> predicate,
@Nonnull
LBiObjLongConsumer<? super T1,? super T2> consumer)
default boolean doIf(T1 a1, T2 a2, long a3, @Nonnull LBiObjLongConsumer<? super T1,? super T2> consumer)
static <T1,T2> void throwIf(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> pred,
ExMF<RuntimeException> factory,
@Nonnull
String newMessage,
@Nullable
Object... messageParams)
static <T1,T2> void throwIfNot(T1 a1,
T2 a2,
long a3,
LBiObjLongPredicate<T1,T2> pred,
ExMF<RuntimeException> factory,
@Nonnull
String newMessage,
@Nullable
Object... messageParams)
default boolean nonNullTest(T1 a1, T2 a2, long a3)
Just to mirror the method: Ensures the result is not null
default boolean doApplyAsBoolean(T1 a1, T2 a2, long a3)
For convenience, where “test()” makes things more confusing than “applyAsBoolean()”.
@Nonnull default String functionalInterfaceDescription()
Returns description of the functional interface.
functionalInterfaceDescription in interface MetaFunctionalInterfacestatic <T1,T2> void fromTo(long min_a3,
long max_a3,
T1 a1,
T2 a2,
LBiObjLongPredicate<T1,T2> func)
From-To. Intended to be used with non-capturing lambda.
static <T1,T2> void fromTill(long min_a3,
long max_a3,
T1 a1,
T2 a2,
LBiObjLongPredicate<T1,T2> func)
From-To. Intended to be used with non-capturing lambda.
static <T1,T2> void times(long max_a3,
T1 a1,
T2 a2,
LBiObjLongPredicate<T1,T2> func)
From-To. Intended to be used with non-capturing lambda.
default LObjLongPredicate<T2> lShrink(LObjLongFunction<T2,T1> left)
default LObjLongPredicate<T2> lShrinkc(T1 a1)
static <T2,T1> LObjLongPredicate<T2> lShrinked(LObjLongFunction<T2,T1> left, LBiObjLongPredicate<T1,T2> func)
static <T2,T1> LObjLongPredicate<T2> lShrinkedc(T1 a1, LBiObjLongPredicate<T1,T2> func)
default LBiPredicate<T1,T2> rShrink(LToLongBiFunction<T1,T2> right)
default LBiPredicate<T1,T2> rShrinkc(long a3)
static <T1,T2> LBiPredicate<T1,T2> rShrinked(LToLongBiFunction<T1,T2> right, LBiObjLongPredicate<T1,T2> func)
static <T1,T2> LBiPredicate<T1,T2> rShrinkedc(long a3, LBiObjLongPredicate<T1,T2> func)
static <T1,T2> LBiObjLongPredicate<T1,T2> uncurry(LFunction<T1,LFunction<T2,LLongPredicate>> func)
default LBiObjLongPredicate untyped()
Cast that removes generics.
default <V2,V3> LBiObjLongPredicate<V2,V3> cast()
Cast that replace generics.
static <V2,V3,T1,T2> LBiObjLongPredicate<V2,V3> cast(LBiObjLongPredicate<T1,T2> function)
Cast that replace generics.
default LBoolSupplier capture(T1 a1, T2 a2, long a3)
Captures arguments but delays the evaluation.
static <T1,T2> LBiObjLongPredicate<T1,T2> constant(boolean r)
Creates function that always returns the same value.
@Nonnull static <T1,T2> LBiObjLongPredicate<T1,T2> test1st(@Nonnull LPredicate<T1> func)
Captures single parameter function into this interface where only 1st parameter will be used.
@Nonnull static <T1,T2> LBiObjLongPredicate<T1,T2> test2nd(@Nonnull LPredicate<T2> func)
Captures single parameter function into this interface where only 2nd parameter will be used.
@Nonnull static <T1,T2> LBiObjLongPredicate<T1,T2> test3rd(@Nonnull LLongPredicate func)
Captures single parameter function into this interface where only 3rd parameter will be used.
@Nonnull static <T1,T2> LBiObjLongPredicate<T1,T2> biObjLongPred(@Nonnull LBiObjLongPredicate<T1,T2> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T1,T2> LBiObjLongPredicate<T1,T2> recursive(@Nonnull LFunction<LBiObjLongPredicate<T1,T2>,LBiObjLongPredicate<T1,T2>> selfLambda)
@Nonnull static <T1,T2> LBiObjLongPredicate<T1,T2> biObjLongPredThrowing(@Nonnull ExF<Throwable> exF)
@Nonnull static <T1,T2> LBiObjLongPredicate<T1,T2> biObjLongPredThrowing(String message, @Nonnull ExMF<Throwable> exF)
@Nonnull static <T1,T2> LBiObjLongPredicate.LObj0Long2Obj1Pred<T1,T2> obj0Long2Obj1Pred(@Nonnull LBiObjLongPredicate.LObj0Long2Obj1Pred<T1,T2> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T2,T1> LBiObjLongPredicate.LObj1Obj0Long2Pred<T2,T1> obj1Obj0Long2Pred(@Nonnull LBiObjLongPredicate.LObj1Obj0Long2Pred<T2,T1> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T2,T1> LBiObjLongPredicate.LObj1Long2Obj0Pred<T2,T1> obj1Long2Obj0Pred(@Nonnull LBiObjLongPredicate.LObj1Long2Obj0Pred<T2,T1> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T1,T2> LBiObjLongPredicate.LLong2Obj0Obj1Pred<T1,T2> long2Obj0Obj1Pred(@Nonnull LBiObjLongPredicate.LLong2Obj0Obj1Pred<T1,T2> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T2,T1> LBiObjLongPredicate.LLong2Obj1Obj0Pred<T2,T1> long2Obj1Obj0Pred(@Nonnull LBiObjLongPredicate.LLong2Obj1Obj0Pred<T2,T1> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
static <T1,T2> boolean call(T1 a1,
T2 a2,
long a3,
@Nonnull
LBiObjLongPredicate<T1,T2> lambda)
@Nonnull static <T1,T2> LBiObjLongPredicate<T1,T2> safe()
Safe instance. That always returns the same value (as alwaysFalse).
@Nonnull static <T1,T2> LSupplier<LBiObjLongPredicate<T1,T2>> safeSupplier()
Safe instance supplier. Returns supplier of safe() instance.
@Nonnull static <T1,T2> LBiObjLongPredicate<T1,T2> safe(@Nullable LBiObjLongPredicate<T1,T2> other)
Safe wrapping. Either argument function is returned (if it is not null) or safe() instance.
@Nonnull static <T1,T2> LSupplier<LBiObjLongPredicate<T1,T2>> safeSupplier(@Nullable LSupplier<LBiObjLongPredicate<T1,T2>> supplier)
Safe supplier. Either argument supplier is returned (if it is not null) or supplier of safe() instance.
@Nonnull default LBiObjLongPredicate<T1,T2> negate()
Returns a predicate that represents the logical negation of this predicate.
java.util.function.Predicate#negate}@Nonnull default LBiObjLongPredicate<T1,T2> and(@Nonnull LBiObjLongPredicate<? super T1,? super T2> other)
Returns a predicate that represents the logical AND of evaluation of this predicate and the argument one.
java.util.function.Predicate#and()}@Nonnull default LBiObjLongPredicate<T1,T2> or(@Nonnull LBiObjLongPredicate<? super T1,? super T2> other)
Returns a predicate that represents the logical OR of evaluation of this predicate and the argument one.
java.util.function.Predicate#or}@Nonnull default LBiObjLongPredicate<T1,T2> xor(@Nonnull LBiObjLongPredicate<? super T1,? super T2> other)
Returns a predicate that represents the logical XOR of evaluation of this predicate and the argument one.
java.util.function.Predicate#or}@Nonnull static <T1,T2> LBiObjLongPredicate<T1,T2> isEqual(T1 v1, T2 v2, long v3)
Creates predicate that evaluates if an object is equal with the argument one.
java.util.function.Predicate#isEqual()@Nonnull default <V1,V2> LBiObjLongPredicate<V1,V2> compose(@Nonnull LFunction<? super V1,? extends T1> before1, @Nonnull LFunction<? super V2,? extends T2> before2, @Nonnull LLongUnaryOperator before3)
Allows to manipulate the domain of the function.
static <V1,V2,T1,T2> LBiObjLongPredicate<V1,V2> composed(@Nonnull LFunction<? super V1,? extends T1> before1, @Nonnull LFunction<? super V2,? extends T2> before2, @Nonnull LLongUnaryOperator before3, LBiObjLongPredicate<T1,T2> after)
@Nonnull default <V1,V2,V3> LTriPredicate<V1,V2,V3> biObjLongPredCompose(@Nonnull LFunction<? super V1,? extends T1> before1, @Nonnull LFunction<? super V2,? extends T2> before2, @Nonnull LToLongFunction<? super V3> before3)
Allows to manipulate the domain of the function.
static <V1,V2,V3,T1,T2> LTriPredicate<V1,V2,V3> composed(@Nonnull LFunction<? super V1,? extends T1> before1, @Nonnull LFunction<? super V2,? extends T2> before2, @Nonnull LToLongFunction<? super V3> before3, LBiObjLongPredicate<T1,T2> after)
@Nonnull default <V> LBiObjLongFunction<T1,T2,V> boolToBiObjLongFunc(@Nonnull LBoolFunction<? extends V> after)
Combines two functions together in a order.
@Nonnull default LBiObjLongPredicate<T1,T2> boolToBiObjLongPred(@Nonnull LLogicalOperator after)
Combines two functions together in a order.
static <T1,T2> boolean alwaysTrue(T1 a1,
T2 a2,
long a3)
Returns TRUE.
static <T1,T2> boolean alwaysFalse(T1 a1,
T2 a2,
long a3)
Returns FALSE.
static <T1,T2> boolean alwaysTrue(T1 a1,
long a3,
T2 a2)
Returns TRUE.
static <T1,T2> boolean alwaysFalse(T1 a1,
long a3,
T2 a2)
Returns FALSE.
static <T1,T2> boolean alwaysTrue(long a3,
T1 a1,
T2 a2)
Returns TRUE.
static <T1,T2> boolean alwaysFalse(long a3,
T1 a1,
T2 a2)
Returns FALSE.
default <C1,C2,C3> void filterForEach(IndexedRead<C1,aType.a<T1>> ia1, C1 source1, IndexedRead<C2,aType.a<T2>> ia2, C2 source2, IndexedRead<C3,aType.aLong> ia3, C3 source3, LBiObjLongConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,I1,C2,C3> void filterIterate(SequentialRead<C1,I1,aType.a<T1>> sa1, C1 source1, IndexedRead<C2,aType.a<T2>> ia2, C2 source2, IndexedRead<C3,aType.aLong> ia3, C3 source3, LBiObjLongConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,C2,I2,C3> void filterIterate(IndexedRead<C1,aType.a<T1>> ia1, C1 source1, SequentialRead<C2,I2,aType.a<T2>> sa2, C2 source2, IndexedRead<C3,aType.aLong> ia3, C3 source3, LBiObjLongConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,I1,C2,I2,C3> void filterIterate(SequentialRead<C1,I1,aType.a<T1>> sa1, C1 source1, SequentialRead<C2,I2,aType.a<T2>> sa2, C2 source2, IndexedRead<C3,aType.aLong> ia3, C3 source3, LBiObjLongConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,C2,C3,I3> void filterIterate(IndexedRead<C1,aType.a<T1>> ia1, C1 source1, IndexedRead<C2,aType.a<T2>> ia2, C2 source2, SequentialRead<C3,I3,aType.aLong> sa3, C3 source3, LBiObjLongConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,I1,C2,C3,I3> void filterIterate(SequentialRead<C1,I1,aType.a<T1>> sa1, C1 source1, IndexedRead<C2,aType.a<T2>> ia2, C2 source2, SequentialRead<C3,I3,aType.aLong> sa3, C3 source3, LBiObjLongConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,C2,I2,C3,I3> void filterIterate(IndexedRead<C1,aType.a<T1>> ia1, C1 source1, SequentialRead<C2,I2,aType.a<T2>> sa2, C2 source2, SequentialRead<C3,I3,aType.aLong> sa3, C3 source3, LBiObjLongConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,I1,C2,I2,C3,I3> void filterIterate(SequentialRead<C1,I1,aType.a<T1>> sa1, C1 source1, SequentialRead<C2,I2,aType.a<T2>> sa2, C2 source2, SequentialRead<C3,I3,aType.aLong> sa3, C3 source3, LBiObjLongConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes. Thread safety, fail-fast, fail-safety of this method depends highly on the arguments.
Copyright © 2019. All rights reserved.