1 /** 2 * BSD-style license; for more info see http://pmd.sourceforge.net/license.html 3 */ 4 package net.sourceforge.pmd.util.filter; 5 6 /** 7 * A Filter interface, used for filtering arbitrary objects. 8 * 9 * @param <T> 10 * The underlying type on which the filter applies. 11 */ 12 public interface Filter<T> { 13 boolean filter(T obj); 14 }