org.inria.ns.reflex.structures
Interface Acceptor


public interface Acceptor

An instance of this class indicates if an item have to be accepted or rejected.

Author:
Philippe Poulard
See Also:
FilteredIterator

Method Summary
 boolean accept(Object item)
          Indicates whether the item have to be accepted or rejected.
 

Method Detail

accept

boolean accept(Object item)
Indicates whether the item have to be accepted or rejected.

Parameters:
item - The item to test.
Returns:
true if the item has to be accepted, false if it has to be rejected.