Interface CollectionUtils.CollectionFilter<T>

Type Parameters:
T - The type of object to be filtered.
Enclosing class:
CollectionUtils

public static interface CollectionUtils.CollectionFilter<T>
Since:
1.7
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(T t)
    Checks if an object should be allowed past this filter.
  • Method Details

    • accept

      boolean accept(T t)
      Checks if an object should be allowed past this filter.
      Parameters:
      t - The object to be checked.
      Returns:
      true if this object should be kept in the Collection.
      Since:
      1.7