Interface ThrowingPredicate10<A,B,C,D,E,F,G,H,I,J,T extends Throwable>

Type Parameters:
A - The 1st input argument type for the predicate
B - The 2nd input argument type for the predicate
C - The 3rd input argument type for the predicate
D - The 4th input argument type for the predicate
E - The 5th input argument type for the predicate
F - The 6th input argument type for the predicate
G - The 7th input argument type for the predicate
H - The 8th input argument type for the predicate
I - The 9th input argument type for the predicate
J - The 10th input argument type for the predicate
T - The type of Throwable 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.

@FunctionalInterface public interface ThrowingPredicate10<A,B,C,D,E,F,G,H,I,J,T extends Throwable>
A predicate that takes ten arguments, returns a boolean, and may throw a Throwable.
Version:
Alpha v.0.3
Author:
Logan Ferree (Tadukoo)
  • Method Summary

    Modifier and Type
    Method
    Description
    default ThrowingPredicate10<A,B,C,D,E,F,G,H,I,J,T>
    and(ThrowingPredicate10<? super A,? super B,? super C,? super D,? super E,? super F,? super G,? super H,? super I,? super J,? extends T> other)
    Creates a ThrowingPredicate10 that will test the arguments with this ThrowingPredicate10 and with the given ThrowingPredicate10, returning true only if both results are true.
    default ThrowingPredicate10<A,B,C,D,E,F,G,H,I,J,T>
    Creates a ThrowingPredicate10 that will return the opposite result of this ThrowingPredicate10.
    default ThrowingPredicate10<A,B,C,D,E,F,G,H,I,J,T>
    or(ThrowingPredicate10<? super A,? super B,? super C,? super D,? super E,? super F,? super G,? super H,? super I,? super J,? extends T> other)
    Creates a ThrowingPredicate10 that will test the arguments with this ThrowingPredicate10 and with the given ThrowingPredicate10, returning true if either result is true.
    boolean
    test(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j)
    Takes ten arguments and returns a boolean.
  • Method Details

    • test

      boolean test(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j) throws T
      Takes ten arguments and returns a boolean.
      Parameters:
      a - The 1st argument
      b - The 2nd argument
      c - The 3rd argument
      d - The 4th argument
      e - The 5th argument
      f - The 6th argument
      g - The 7th argument
      h - The 8th argument
      i - The 9th argument
      j - The 10th argument
      Returns:
      A boolean
      Throws:
      T - Determined by the predicate, not required
    • and

      default ThrowingPredicate10<A,B,C,D,E,F,G,H,I,J,T> and(ThrowingPredicate10<? super A,? super B,? super C,? super D,? super E,? super F,? super G,? super H,? super I,? super J,? extends T> other)
      Creates a ThrowingPredicate10 that will test the arguments with this ThrowingPredicate10 and with the given ThrowingPredicate10, returning true only if both results are true.
      Parameters:
      other - The other ThrowingPredicate10 to test the arguments on
      Returns:
      The ThrowingPredicate10 that results from composing this one and the given one
    • or

      default ThrowingPredicate10<A,B,C,D,E,F,G,H,I,J,T> or(ThrowingPredicate10<? super A,? super B,? super C,? super D,? super E,? super F,? super G,? super H,? super I,? super J,? extends T> other)
      Creates a ThrowingPredicate10 that will test the arguments with this ThrowingPredicate10 and with the given ThrowingPredicate10, returning true if either result is true.
      Parameters:
      other - The other ThrowingPredicate10 to test the arguments on
      Returns:
      The ThrowingPredicate10 that results from composing this one and the given one
    • negate

      default ThrowingPredicate10<A,B,C,D,E,F,G,H,I,J,T> negate()
      Creates a ThrowingPredicate10 that will return the opposite result of this ThrowingPredicate10.
      Returns:
      A negated version of this ThrowingPredicate10