public class IndexedFilterImpl extends Object implements IndexedFilter
| Constructor and Description |
|---|
IndexedFilterImpl(String contract,
String name)
Created by the builder
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAdvertisedContract()
If this returns non-null then this index will
be used to limit the set of Descriptors that
will be passed to the matches method.
|
String |
getName()
If this returns non-null then this name will
be used to limit the set of Descriptors that
will be passed to the matches method.
|
boolean |
matches(Descriptor d)
Returns true if this filter matches the
given object
|
String |
toString() |
public boolean matches(Descriptor d)
Filterpublic String getAdvertisedContract()
IndexedFiltergetAdvertisedContract in interface IndexedFilterpublic String getName()
IndexedFiltergetName in interface IndexedFilterCopyright © 2009–2019 Oracle Corporation. All rights reserved.