Class QuotedTokenizer.TokenIterator

  • All Implemented Interfaces:
    java.util.Iterator<java.lang.String>
    Enclosing class:
    QuotedTokenizer

    static final class QuotedTokenizer.TokenIterator
    extends java.lang.Object
    implements java.util.Iterator<java.lang.String>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean hasNext  
      private java.lang.String next  
      private QuotedTokenizer qt  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void forEachRemaining​(java.util.function.Consumer<? super java.lang.String> action)  
      boolean hasNext()  
      java.lang.String next()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        remove
    • Field Detail

      • hasNext

        private boolean hasNext
      • next

        private java.lang.String next
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<java.lang.String>
      • next

        public java.lang.String next()
        Specified by:
        next in interface java.util.Iterator<java.lang.String>
      • forEachRemaining

        public void forEachRemaining​(java.util.function.Consumer<? super java.lang.String> action)
        Specified by:
        forEachRemaining in interface java.util.Iterator<java.lang.String>