|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.terrier.terms.NoOp
public class NoOp
A do-nothing term pipeline object. Simply passes the term onto the next component of the pipeline.
Field Summary | |
---|---|
protected TermPipeline |
next
The implementation of a term pipeline. |
Constructor Summary | |
---|---|
NoOp(TermPipeline _next)
Constructs an instance of the class, given the next component in the pipeline. |
Method Summary | |
---|---|
void |
processTerm(java.lang.String t)
Pass the term onto the next term pipeline object, without making any changes to it. |
boolean |
reset()
Implements the default operation for all TermPipeline subclasses; By default do nothing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final TermPipeline next
Constructor Detail |
---|
public NoOp(TermPipeline _next)
_next
- TermPipeline the next component in
the term pipeline.Method Detail |
---|
public final void processTerm(java.lang.String t)
processTerm
in interface TermPipeline
t
- The termpublic boolean reset()
reset
in interface TermPipeline
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |