Interface TokenIterator

    • Method Detail

      • hasNext

        boolean hasNext()
        Indicates whether there is another token in this iteration.
        Specified by:
        hasNext in interface Iterator<Object>
        Returns:
        true if there is another token, false otherwise
      • nextToken

        String nextToken()
        Obtains the next token from this iteration. This method should only be called while hasNext is true.
        Returns:
        the next token in this iteration