org.postgresql.pljava.example
Class RandomInts
java.lang.Object
org.postgresql.pljava.example.RandomInts
- All Implemented Interfaces:
- Iterator
public class RandomInts
- extends Object
- implements Iterator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomInts
public RandomInts(int rowCount)
throws SQLException
- Throws:
SQLException
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