Class ReaderCharacterIterator

    • Constructor Detail

      • ReaderCharacterIterator

        public ReaderCharacterIterator​(Reader reader)
        Parameters:
        reader - a Reader, which is parsed
    • 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