Class StdInLineIterator

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

    class StdInLineIterator
    extends com.google.common.collect.AbstractIterator<java.lang.String>
    Iterates over lines from standard input.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String computeNext()  
      • Methods inherited from class com.google.common.collect.AbstractIterator

        endOfData, hasNext, next, peek
      • Methods inherited from class com.google.common.collect.UnmodifiableIterator

        remove
      • 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

        forEachRemaining
    • Field Detail

      • reader

        private java.io.BufferedReader reader
    • Constructor Detail

      • StdInLineIterator

        public StdInLineIterator​(Serializer serializer)
    • Method Detail

      • computeNext

        protected java.lang.String computeNext()
        Specified by:
        computeNext in class com.google.common.collect.AbstractIterator<java.lang.String>