Class CharStream


  • public class CharStream
    extends Object
    • Constructor Detail

      • CharStream

        public CharStream​(String input)
    • Method Detail

      • next

        public Character next()
        Returns:
        null if the end of the stream is reached
      • peek

        public Character peek()
        Returns:
        null if the end of the stream is reached
      • isEndReached

        public boolean isEndReached()
      • anyStringAhead

        public boolean anyStringAhead​(Set<String> strings)
      • nextMatchingString

        public String nextMatchingString​(Set<String> strings)
      • getPosition

        public Position getPosition()