Interface ObjectPredicate


public interface ObjectPredicate
A predicate that is able to say either true or false when presented with a generic object.
Author:
Simon Thoresen Hult
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Apply this predicate to the given object.
  • Method Details

    • check

      boolean check(Object obj)
      Apply this predicate to the given object.
      Parameters:
      obj - The object to check.
      Returns:
      True or false.