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.

Author:
Yvonne Wang

Method Summary
 List<T> filter(Collection<?> target)
          Filters a given collection.
 

Method Detail

filter

List<T> filter(Collection<?> target)
Filters a given collection.

Parameters:
target - the collection to filter.
Returns:
a list containing the filtered elements.


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.