org.apache.openjpa.lib.rop
Class ResultObjectProviderIterator

java.lang.Object
  extended by 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 Summary
ResultObjectProviderIterator(ResultObjectProvider rop)
          Constructor.
 
Method Summary
 void close()
          Close the underlying result object provider.
protected  void finalize()
           
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.