|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Matcher<E>
Determines which values should be filtered.
For best safety, implementations of Matcher
should be
immutable. This
guarantees that FilterList
s can safely call
matches()
without synchronization.
In order to create dynamic filtering, use a
MatcherEditor
, which
can create immutable Matcher
Objects each time the matching constraints
change.
FilterList
,
MatcherEditor
Method Summary | |
---|---|
boolean |
matches(E item)
Return true if an item matches a filter. |
Method Detail |
---|
boolean matches(E item)
item
- The item possibly being filtered.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |