|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.pmd.util.filter.AbstractCompoundFilter<T>
net.sourceforge.pmd.util.filter.OrFilter<T>
T - The underlying type on which the filter applies.public class OrFilter<T>
A logical OR of a list of Filters. This implementation is short circuiting.
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.pmd.util.filter.AbstractCompoundFilter |
|---|
filters |
| Constructor Summary | |
|---|---|
OrFilter()
|
|
OrFilter(Filter<T>... filters)
|
|
| Method Summary | |
|---|---|
boolean |
filter(T obj)
|
protected java.lang.String |
getOperator()
|
| Methods inherited from class net.sourceforge.pmd.util.filter.AbstractCompoundFilter |
|---|
addFilter, getFilters, setFilters, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OrFilter()
public OrFilter(Filter<T>... filters)
| Method Detail |
|---|
public boolean filter(T obj)
protected java.lang.String getOperator()
getOperator in class AbstractCompoundFilter<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||