ca.odell.glazedlists.matchers
Interface Matcher<E>
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.
boolean | matches(E item) - Return true if an item matches a filter.
|
matches
public boolean matches(E item)
Return true if an item matches a filter.
item
- The item possibly being filtered.
Glazed Lists, Copyright © 2003-2006 publicobject.com, O'Dell Engineering.
Documentation build by buildd at 2008-01-04 14:38