org.prevayler.demos.scalability
Class RecordIterator

java.lang.Object
  extended by org.prevayler.demos.scalability.RecordIterator
All Implemented Interfaces:
Serializable

public class RecordIterator
extends Object
implements Serializable

Generates Record objects with ids from 0 to numberOfRecords - 1.

See Also:
Serialized Form

Constructor Summary
RecordIterator(int numberOfRecords)
           
 
Method Summary
 boolean hasNext()
           
 Record next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordIterator

public RecordIterator(int numberOfRecords)
Method Detail

hasNext

public boolean hasNext()

next

public Record next()


Copyright © 2001-2013. All Rights Reserved.