View Javadoc

1   package net.sourceforge.pmd.util.filter;
2   
3   /**
4    * A Filter interface, used for filtering arbitrary objects.
5    * 
6    * @param <T>
7    *            The underlying type on which the filter applies.
8    */
9   public interface Filter<T> {
10  	boolean filter(T obj);
11  }