- All Implemented Interfaces:
- Iterator<String>
public abstract class TokenStream
extends Object
implements Iterator<String>
Represents a stream of tokens found by a tokeniser.
It is of note that a TokenStream may return null
for a next() method, even if hasNext() previously returned
true.
- Since:
- 3.5
- Author:
- Craig Macdonald