StringTokenizer.countTokens

Calculates the number of times that this tokenizer's <code>nextToken</code> method can be called before it generates an exception. The current position is not advanced.

@return the number of tokens remaining in the string using the current delimiter set. @see java.util.StringTokenizer#nextToken()

class StringTokenizer
int
countTokens
()

Meta