org.postgresql.pljava.example
Class RandomInts

java.lang.Object
  extended by org.postgresql.pljava.example.RandomInts
All Implemented Interfaces:
Iterator

public class RandomInts
extends Object
implements Iterator


Constructor Summary
RandomInts(int rowCount)
           
 
Method Summary
static Iterator createIterator(int rowCount)
           
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomInts

public RandomInts(int rowCount)
           throws SQLException
Throws:
SQLException
Method Detail

createIterator

public static Iterator createIterator(int rowCount)
                               throws SQLException
Throws:
SQLException

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator