ca.odell.glazedlists.matchers
Interface Matcher

All Known Implementing Classes:
ThresholdMatcherEditor.MatchOperation

public interface Matcher

Determines which values should be filtered.

For best safety, implementations of Matcher should be immutable. This guarantees that FilterLists 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.

Author:
Rob Eden
See Also:
FilterList, MatcherEditor

Method Summary
 boolean matches(Object item)
          Return true if an item matches a filter.
 

Method Detail

matches

boolean matches(Object item)
Return true if an item matches a filter.

Parameters:
item - The item possibly being filtered.


Glazed Lists, Copyright © 2003-2005 publicobject.com, O'Dell Engineering.
Generated 2005-09-24 12:46