public class OrFilter extends Object implements Filter
IndexedFilter
as wellConstructor 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
|
public OrFilter(Filter... filters)
filters
- other filters to be considered in the
Or expressionpublic boolean matches(Descriptor d)
Filter
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.