Class StringCharacterIterator

    • Constructor Detail

      • StringCharacterIterator

        public StringCharacterIterator​(String src)
        Parameters:
        src - - encapsulated String
    • Method Detail

      • charAt

        public char charAt​(int pos)
        Specified by:
        charAt in interface CharacterIterator
        Returns:
        a character at the specified position.
      • isEnd

        public boolean isEnd​(int pos)
        Specified by:
        isEnd in interface CharacterIterator
        Returns:
        true iff if the specified index is after the end of the character stream