Interface Filter<T>

  • All Known Implementing Classes:
    ListRandomIterator.IndexFilter

    public interface Filter<T>
    Indicates a class that determines whether a given object will pass through the filter or be filtered out.
    Author:
    Garret Wilson
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isPass​(T object)
      Determines whether a given object should pass through the filter or be filtered out.
    • Method Detail

      • isPass

        boolean isPass​(T object)
        Determines whether a given object should pass through the filter or be filtered out.
        Parameters:
        object - The object to filter.
        Returns:
        true if the object should pass through the filter, else false if the object should be filtered out.