public abstract class AbstractSingleTermFilter extends AbstractCloneableSerializable implements SingleTermFilter
SingleTermFilter
interface. It
makes the filterTerms method call the filterTerm on each term.Constructor and Description |
---|
AbstractSingleTermFilter()
Creates a new
AbstractSingleTermFilter . |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<TermOccurrence> |
filterTerms(java.lang.Iterable<? extends TermOccurrence> terms)
Filters the given list of terms into a new list of terms based on some
internal criteria for what constitutes a term.
|
clone
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
filterTerm
clone
public AbstractSingleTermFilter()
AbstractSingleTermFilter
.public java.lang.Iterable<TermOccurrence> filterTerms(java.lang.Iterable<? extends TermOccurrence> terms)
TermFilter
filterTerms
in interface TermFilter
terms
- The terms to filter.