Interface ThrowingPredicate9<A,B,C,D,E,F,G,H,I,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 predicateD
- The 4th input argument type for the predicateE
- The 5th input argument type for the predicateF
- The 6th input argument type for the predicateG
- The 7th input argument type for the predicateH
- The 8th input argument type for the predicateI
- The 9th input argument type for the predicateT
- The type ofThrowable
thrown 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 nine arguments, returns a boolean,
and may throw a
Throwable
.- Version:
- Alpha v.0.3
- Author:
- Logan Ferree (Tadukoo)
-
Method Summary
Modifier and TypeMethodDescriptionand
(ThrowingPredicate9<? super A, ? super B, ? super C, ? super D, ? super E, ? super F, ? super G, ? super H, ? super I, ? extends T> other) Creates a ThrowingPredicate9 that will test the arguments with this ThrowingPredicate9 and with the given ThrowingPredicate9, returning true only if both results are true.negate()
Creates a ThrowingPredicate9 that will return the opposite result of this ThrowingPredicate9.or
(ThrowingPredicate9<? super A, ? super B, ? super C, ? super D, ? super E, ? super F, ? super G, ? super H, ? super I, ? extends T> other) Creates a ThrowingPredicate9 that will test the arguments with this ThrowingPredicate9 and with the given ThrowingPredicate9, returning true if either result is true.boolean
Takes nine arguments and returns a boolean.
-
Method Details
-
test
Takes nine arguments and returns a boolean.- Parameters:
a
- The 1st argumentb
- The 2nd argumentc
- The 3rd argumentd
- The 4th argumente
- The 5th argumentf
- The 6th argumentg
- The 7th argumenth
- The 8th argumenti
- The 9th argument- Returns:
- A boolean
- Throws:
T
- Determined by the predicate, not required
-
and
default ThrowingPredicate9<A,B, andC, D, E, F, G, H, I, T> (ThrowingPredicate9<? super A, ? super B, ? super C, ? super D, ? super E, ? super F, ? super G, ? super H, ? super I, ? extends T> other) Creates a ThrowingPredicate9 that will test the arguments with this ThrowingPredicate9 and with the given ThrowingPredicate9, returning true only if both results are true.- Parameters:
other
- The other ThrowingPredicate9 to test the arguments on- Returns:
- The ThrowingPredicate9 that results from composing this one and the given one
-
or
default ThrowingPredicate9<A,B, orC, D, E, F, G, H, I, T> (ThrowingPredicate9<? super A, ? super B, ? super C, ? super D, ? super E, ? super F, ? super G, ? super H, ? super I, ? extends T> other) Creates a ThrowingPredicate9 that will test the arguments with this ThrowingPredicate9 and with the given ThrowingPredicate9, returning true if either result is true.- Parameters:
other
- The other ThrowingPredicate9 to test the arguments on- Returns:
- The ThrowingPredicate9 that results from composing this one and the given one
-
negate
Creates a ThrowingPredicate9 that will return the opposite result of this ThrowingPredicate9.- Returns:
- A negated version of this ThrowingPredicate9
-