edu.stanford.nlp.util
Interface Filter<T>

All Superinterfaces:
java.io.Serializable

public interface Filter<T>
extends java.io.Serializable

Filter is an interface for predicate objects which respond to the accept method.


Method Summary
 boolean accept(T obj)
          Checks if the given object passes the filter.
 

Method Detail

accept

boolean accept(T obj)
Checks if the given object passes the filter.

Parameters:
obj - an object to test