public class OrFilter extends java.lang.Object implements Filter
IndexedFilter as well| Modifier and Type | Field and Description |
|---|---|
private java.util.ArrayList<Filter> |
allFilters |
| Constructor and Description |
|---|
OrFilter(Filter... filters)
Creates an OrFilter whose matches methods returns
true if at least one of the filters given returns
true.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(Descriptor d)
Returns true if this filter matches the
given object
|
private final java.util.ArrayList<Filter> allFilters
public OrFilter(Filter... filters)
filters - other filters to be considered in the
Or expressionpublic boolean matches(Descriptor d)
Filter