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

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ArabicTreeNormalizer.ArabicEmptyFilter, BobChrisTreeNormalizer.AOverAFilter, BobChrisTreeNormalizer.EmptyFilter, Dependencies.DependentPuncTagRejectFilter, Dependencies.DependentPuncWordRejectFilter

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

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

Author:
Dan Klein

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


Stanford NLP Group