FileDocCategorySizeDatePackage
TestTermdocPerf.javaAPI DocApache Lucene 2.1.03409Wed Feb 14 10:46:36 GMT 2007org.apache.lucene.index

RepeatingTokenStream

public class RepeatingTokenStream extends TokenStream
author
yonik
version
$Id$

Fields Summary
public int
num
Token
t
Constructors Summary
public RepeatingTokenStream(String val)

     t = new Token(val,0,val.length());
   
Methods Summary
public org.apache.lucene.analysis.Tokennext()

     return --num<0 ? null : t;