Interface ThrowingPredicate3<A,B,C,T extends Throwable>
- Type Parameters:
A- The 1st input argument type for the predicateB- The 2nd input argument type for the predicateC- The 3rd input argument type for the predicateT- The type ofThrowablethrown by the predicate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A predicate that takes three arguments, returns a boolean,
and may throw a
Throwable.- Version:
- 0.1-Alpha-SNAPSHOT
- Author:
- Logan Ferree (Tadukoo)
-
Method Summary
Modifier and TypeMethodDescriptiondefault ThrowingPredicate3<A,B, C, T> Creates a ThrowingPredicate3 that will test the arguments with this ThrowingPredicate3 and with the given ThrowingPredicate3, returning true only if both results are true.default ThrowingPredicate3<A,B, C, T> negate()Creates a ThrowingPredicate3 that will return the opposite result of this ThrowingPredicate3.default ThrowingPredicate3<A,B, C, T> Creates a ThrowingPredicate3 that will test the arguments with this ThrowingPredicate3 and with the given ThrowingPredicate3, returning true if either result is true.booleanTakes three arguments and returns a boolean.
-
Method Details
-
test
Takes three arguments and returns a boolean.- Parameters:
a- The 1st argumentb- The 2nd argumentc- The 3rd argument- Returns:
- A boolean
- Throws:
T- Determined by the predicate, not required
-
and
default ThrowingPredicate3<A,B, andC, T> (ThrowingPredicate3<? super A, ? super B, ? super C, ? extends T> other) Creates a ThrowingPredicate3 that will test the arguments with this ThrowingPredicate3 and with the given ThrowingPredicate3, returning true only if both results are true.- Parameters:
other- The other ThrowingPredicate3 to test the arguments on- Returns:
- The ThrowingPredicate3 that results from composing this one and the given one
-
or
default ThrowingPredicate3<A,B, orC, T> (ThrowingPredicate3<? super A, ? super B, ? super C, ? extends T> other) Creates a ThrowingPredicate3 that will test the arguments with this ThrowingPredicate3 and with the given ThrowingPredicate3, returning true if either result is true.- Parameters:
other- The other ThrowingPredicate3 to test the arguments on- Returns:
- The ThrowingPredicate3 that results from composing this one and the given one
-
negate
Creates a ThrowingPredicate3 that will return the opposite result of this ThrowingPredicate3.- Returns:
- A negated version of this ThrowingPredicate3
-