Interface Predicate<T>

Type Parameters:
T - the type of input objects provided to test.

public interface Predicate<T>
Determines if the input object matches some criteria. *
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(T t)
    Return true if the input object matches some criteria.
  • Method Details

    • test

      boolean test(T t)
      Return true if the input object matches some criteria.
      Parameters:
      t - the input object.
      Returns:
      true if the input object matched some criteria.