org.archive.wayback.util.bdb
Class BDBRecordIterator
java.lang.Object
org.archive.wayback.util.bdb.BDBRecordIterator
- All Implemented Interfaces:
- Closeable, Iterator<BDBRecord>, CloseableIterator<BDBRecord>
public class BDBRecordIterator
- extends Object
- implements CloseableIterator<BDBRecord>
- Version:
- $Date: 2010-09-29 05:28:38 +0700 (Wed, 29 Sep 2010) $, $Revision: 3262 $
- Author:
- brad
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BDBRecordIterator
public BDBRecordIterator(com.sleepycat.je.Cursor cursor,
String search)
throws com.sleepycat.je.DatabaseException
- Parameters:
cursor - search -
- Throws:
com.sleepycat.je.DatabaseException
BDBRecordIterator
public BDBRecordIterator(com.sleepycat.je.Cursor cursor,
String search,
boolean backward)
throws com.sleepycat.je.DatabaseException
- Parameters:
cursor - search - backward -
- Throws:
com.sleepycat.je.DatabaseException
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<BDBRecord>
close
public void close()
- Specified by:
close in interface Closeable
next
public BDBRecord next()
- Specified by:
next in interface Iterator<BDBRecord>
remove
public void remove()
- Specified by:
remove in interface Iterator<BDBRecord>
Copyright © 2005-2011 Internet Archive. All Rights Reserved.