org.apache.lucene.analysis.miscellaneous.EmptyTokenStream.incrementToken C# (CSharp) Method

incrementToken() public method

public incrementToken ( ) : bool
return bool
	  public override bool incrementToken()
	  {
		return false;
	  }

Usage Example

 //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
 //ORIGINAL LINE: public void testConsume() throws java.io.IOException
 public virtual void testConsume()
 {
     TokenStream ts = new EmptyTokenStream();
     ts.reset();
     assertFalse(ts.incrementToken());
     ts.end();
     ts.close();
     // try again with reuse:
     ts.reset();
     assertFalse(ts.incrementToken());
     ts.end();
     ts.close();
 }
All Usage Examples Of org.apache.lucene.analysis.miscellaneous.EmptyTokenStream::incrementToken
EmptyTokenStream