Class JsonLineGenericIterator<T>

    • Constructor Summary

      Constructors 
      Constructor Description
      JsonLineGenericIterator​(java.io.InputStream inputStream, com.fasterxml.jackson.core.type.TypeReference<T> typeReference)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      boolean hasNext()  
      T next()  
      void skip()  
      java.util.stream.Stream<T> stream()  
      • 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, remove
    • Constructor Detail

      • JsonLineGenericIterator

        public JsonLineGenericIterator​(java.io.InputStream inputStream,
                                       com.fasterxml.jackson.core.type.TypeReference<T> typeReference)
    • Method Detail

      • hasNext

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

        public T next()
        Specified by:
        next in interface java.util.Iterator<T>
      • skip

        public void skip()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface VitamAutoCloseable
      • stream

        public java.util.stream.Stream<T> stream()