Package org.apache.openjpa.lib.rop
Class ResultObjectProviderIterator
- java.lang.Object
-
- org.apache.openjpa.lib.rop.ResultObjectProviderIterator
-
- All Implemented Interfaces:
java.util.Iterator
,Closeable
public class ResultObjectProviderIterator extends java.lang.Object implements java.util.Iterator, Closeable
Iterator wrapped around aResultObjectProvider
.- Author:
- Abe White
-
-
Constructor Summary
Constructors Constructor Description ResultObjectProviderIterator(ResultObjectProvider rop)
Constructor.
-
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()
-
-
-
Constructor Detail
-
ResultObjectProviderIterator
public ResultObjectProviderIterator(ResultObjectProvider rop)
Constructor. Supply object provider.
-
-
Method Detail
-
close
public void close()
Close the underlying result object provider.
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator
-
next
public java.lang.Object next()
- Specified by:
next
in interfacejava.util.Iterator
-
finalize
protected void finalize()
- Overrides:
finalize
in classjava.lang.Object
-
-