Class ResultObjectProviderIterator

java.lang.Object
org.apache.openjpa.lib.rop.ResultObjectProviderIterator
All Implemented Interfaces:
Iterator, Closeable

public class ResultObjectProviderIterator extends Object implements Iterator, Closeable
Iterator wrapped around a ResultObjectProvider.
Author:
Abe White
  • Constructor Details

    • ResultObjectProviderIterator

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

    • 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 Iterator
    • hasNext

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

      public Object next()
      Specified by:
      next in interface Iterator
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object