|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type of objects to be filteredpublic interface Filter<T>
Used by various "pluggable" classes to filter objects.
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Nested Class Summary | |
|---|---|
static class |
Filter.Disabled<S>
Singleton implemetation of the filter interface that throws an exception if called. |
static class |
Filter.Null<S>
Singleton implemetation of the filter interface that accepts all the objects (i.e. |
static class |
Filter.Opaque<S>
Singleton implemetation of the filter interface that accepts none of the objects (i.e. |
| Method Summary | |
|---|---|
boolean |
accept(T o)
Return whether the specified object is "accepted" by the filter. |
| Method Detail |
|---|
boolean accept(T o)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||