Interface ThrowingPredicate7<T1,T2,T3,T4,T5,T6,T7,E extends Throwable>

Type Parameters:
T1 - type of the first input argument
T2 - type of the second input argument
T3 - type of the third input argument
T4 - type of the fourth input argument
T5 - type of the fifth input argument
T6 - type of the sixth input argument
T7 - type of the seventh input argument
E - type of the throwing exception
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 ThrowingPredicate7<T1,T2,T3,T4,T5,T6,T7,E extends Throwable>
The Predicate specialization for 7 arguments that might throw an exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T1, T2, T3, T4, T5, T6, T7, E extends Throwable>
    ThrowingPredicate7<T1,T2,T3,T4,T5,T6,T7,E>
    of(ThrowingPredicate7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? extends E> block)
    Returns given predicate.
    boolean
    test(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7)
    Evaluates this predicate on the given arguments.
    static <T1, T2, T3, T4, T5, T6, T7>
    ThrowingPredicate7<T1,T2,T3,T4,T5,T6,T7,Error>
    unchecked(ThrowingPredicate7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,?> block)
    Returns given predicate as an unchecked function.
  • Method Details

    • test

      boolean test(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7) throws E
      Evaluates this predicate on the given arguments.
      Parameters:
      t1 - the first input argument
      t2 - the second input argument
      t3 - the third input argument
      t4 - the fourth input argument
      t5 - the fifth input argument
      t6 - the sixth input argument
      t7 - the seventh input argument
      Returns:
      true if the input arguments matches the predicate, otherwise false
      Throws:
      E - if predicate threw exception
    • of

      static <T1, T2, T3, T4, T5, T6, T7, E extends Throwable> ThrowingPredicate7<T1,T2,T3,T4,T5,T6,T7,E> of(ThrowingPredicate7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? extends E> block)
      Returns given predicate.
      Type Parameters:
      T1 - type of the first input argument
      T2 - type of the second input argument
      T3 - type of the third input argument
      T4 - type of the fourth input argument
      T5 - type of the fifth input argument
      T6 - type of the sixth input argument
      T7 - type of the seventh input argument
      E - type of the throwing exception
      Parameters:
      block - the predicate
      Returns:
      predicate
      Throws:
      NullPointerException - if block arg is null
    • unchecked

      static <T1, T2, T3, T4, T5, T6, T7> ThrowingPredicate7<T1,T2,T3,T4,T5,T6,T7,Error> unchecked(ThrowingPredicate7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,?> block)
      Returns given predicate as an unchecked function.
      Type Parameters:
      T1 - type of the first input argument
      T2 - type of the second input argument
      T3 - type of the third input argument
      T4 - type of the fourth input argument
      T5 - type of the fifth input argument
      T6 - type of the sixth input argument
      T7 - type of the seventh input argument
      Parameters:
      block - the origin predicate
      Returns:
      unchecked predicate
      Throws:
      NullPointerException - if block arg is null