net.sourceforge.pmd.util.filter
Class AndFilter<T>
java.lang.Object
net.sourceforge.pmd.util.filter.AbstractCompoundFilter<T>
net.sourceforge.pmd.util.filter.AndFilter<T>
- Type Parameters:
T
- The underlying type on which the filter applies.
- All Implemented Interfaces:
- Filter<T>
public class AndFilter<T>
- extends AbstractCompoundFilter<T>
A logical AND of a list of Filters. This implementation is short circuiting.
AndFilter
public AndFilter()
AndFilter
public AndFilter(Filter<T>... filters)
filter
public boolean filter(T obj)
getOperator
protected String getOperator()
- Specified by:
getOperator
in class AbstractCompoundFilter<T>
Copyright © 2009-2011 SonarSource. All Rights Reserved.