public T next ( ) { if ( nextToken == null ) { nextToken = getNext ( ) ; } T result = nextToken ; nextToken = null ; if ( result == null ) { throw new NoSuchElementException ( ) ; } return result ; }
Returns the next token from this Tokenizer .