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)
Filter
public String getAdvertisedContract()
IndexedFilter
getAdvertisedContract
in interface IndexedFilter
public String getName()
IndexedFilter
getName
in interface IndexedFilter
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.