com.sleepycat.persist
Class BasicIterator<V>
java.lang.Object
com.sleepycat.persist.BasicIterator<V>
- All Implemented Interfaces:
- Iterator<V>
class BasicIterator<V>
- extends Object
- implements Iterator<V>
Implements Iterator for an arbitrary EntityCursor.
- Author:
- Mark Hayes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicIterator
BasicIterator(EntityCursor<V> entityCursor,
LockMode lockMode)
- An EntityCursor is given and the remove() method is supported.
BasicIterator
BasicIterator(ForwardCursor<V> forwardCursor,
LockMode lockMode)
- A ForwardCursor is given and the remove() method is not supported.
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<V>
next
public V next()
- Specified by:
next
in interface Iterator<V>
remove
public void remove()
- Specified by:
remove
in interface Iterator<V>
Copyright (c) 2004-2012 Oracle. All rights reserved.