dk.netarkivet.harvester.harvesting.frontier
Class FullFrontierReport.ReportIterator

java.lang.Object
  extended by dk.netarkivet.harvester.harvesting.frontier.FullFrontierReport.ReportIterator
All Implemented Interfaces:
java.util.Iterator<FrontierReportLine>
Enclosing class:
FullFrontierReport

public class FullFrontierReport.ReportIterator
extends java.lang.Object
implements java.util.Iterator<FrontierReportLine>


Constructor Summary
FullFrontierReport.ReportIterator(com.sleepycat.persist.EntityCursor<FullFrontierReport.PersistentLine> cursor)
          Returns an iterator on the given sort key.
 
Method Summary
 void close()
          Close method should be called explicitely to free underlying resources!
 boolean hasNext()
           
 FrontierReportLine next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullFrontierReport.ReportIterator

FullFrontierReport.ReportIterator(com.sleepycat.persist.EntityCursor<FullFrontierReport.PersistentLine> cursor)
Returns an iterator on the given sort key.

Parameters:
cursor - The cursor (sort key) to iterate on.
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<FrontierReportLine>

next

public FrontierReportLine next()
Specified by:
next in interface java.util.Iterator<FrontierReportLine>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<FrontierReportLine>

close

public void close()
Close method should be called explicitely to free underlying resources!