T
- object to test for acceptancepublic interface IFilter<T>
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.lang.String id)
Checks if the given object passes the filter.
|
boolean |
accept(T obj)
Checks if the given object passes the filter.
|
java.util.Collection<java.lang.String> |
keys()
Get keys
|
boolean accept(T obj)
obj
- an object to testboolean accept(java.lang.String id)
id
- id to testjava.util.Collection<java.lang.String> keys()