Class ResultObjectProviderIterator

  • All Implemented Interfaces:
    java.util.Iterator, Closeable

    public class ResultObjectProviderIterator
    extends java.lang.Object
    implements java.util.Iterator, Closeable
    Iterator wrapped around a ResultObjectProvider.
    Author:
    Abe White
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Close the underlying result object provider.
      protected void finalize()  
      boolean hasNext()  
      java.lang.Object next()  
      void remove()  
      • Methods inherited from class java.lang.Object

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

        forEachRemaining
    • Constructor Detail

      • ResultObjectProviderIterator

        public ResultObjectProviderIterator​(ResultObjectProvider rop)
        Constructor. Supply object provider.
    • Method Detail

      • close

        public void close()
        Close the underlying result object provider.
        Specified by:
        close in interface Closeable
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator
      • hasNext

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

        public java.lang.Object next()
        Specified by:
        next in interface java.util.Iterator
      • finalize

        protected void finalize()
        Overrides:
        finalize in class java.lang.Object