Terrier IR Platform
2.2.1

uk.ac.gla.terrier.terms
Class NoOp

java.lang.Object
  extended by uk.ac.gla.terrier.terms.NoOp
All Implemented Interfaces:
TermPipeline

public class NoOp
extends java.lang.Object
implements TermPipeline

A do-nothing term pipeline object. Simply passes the term onto the next component of the pipeline.

Version:
$Revision: 1.3 $
Author:
Craig Macdonald

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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOp

public NoOp(TermPipeline next)
Constructs an instance of the class, given the next component in the pipeline.

Parameters:
next - TermPipeline the next component in the term pipeline.
Method Detail

processTerm

public final void processTerm(java.lang.String t)
Pass the term onto the next term pipeline object, without making any changes to it.

Specified by:
processTerm in interface TermPipeline
Parameters:
t - The term

Terrier IR Platform
2.2.1

Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow