private boolean streamHasMoreTokens ( ) { if ( streamTokenizer . ttype != StreamTokenizer . TT_EOF ) { try { streamTokenizer . nextToken ( ) ; } catch ( IOException e1 ) { throw new RuntimeException ( e1 ) ; } } return streamTokenizer . ttype != StreamTokenizer . TT_EOF && streamTokenizer . ttype != - 1 ; }
Checks if underlying stream has any tokens left