Package org.fest.util

Interface CollectionFilter<T>

Type Parameters:
T - the generic type of the elements to return by the filter.
All Known Implementing Classes:
TypeFilter

public interface CollectionFilter<T>
Understands a filter for elements in a collection.
  • Method Summary

    Modifier and Type
    Method
    Description
    filter(Collection<?> target)
    Filters a given collection.
  • Method Details

    • filter

      List<T> filter(Collection<?> target)
      Filters a given collection.
      Parameters:
      target - the collection to filter.
      Returns:
      a list containing the filtered elements.