StringTokenizer.hasMoreTokens

Tests if there are more tokens available from this tokenizer's string. If this method returns <tt>true</tt>, then a subsequent call to <tt>nextToken</tt> with no argument will successfully return a token.

@return <code>true</code> if and only if there is at least one token in the string after the current position; <code>false</code> otherwise.

class StringTokenizer
bool
hasMoreTokens
()

Meta