Interface TextIterator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      java.lang.String next()  
      void remove()
      Unsupported operation.
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Method Detail

      • next

        java.lang.String next()
        Specified by:
        next in interface java.util.Iterator<java.lang.String>
        Returns:
        next segment in text, or null if end of text has been reached.
      • hasNext

        boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<java.lang.String>
        Returns:
        true if there are more segments
      • remove

        void remove()
        Unsupported operation.
        Specified by:
        remove in interface java.util.Iterator<java.lang.String>
        Throws:
        java.lang.UnsupportedOperationException