org.apache.openjpa.lib.rop
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
ResultObjectProviderIterator
public ResultObjectProviderIterator(ResultObjectProvider rop)
- Constructor. Supply object provider.
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-2011 Apache Software Foundation. All Rights Reserved.