com.sparsity.sparksee.gdb
Class ResultSetList

java.lang.Object
  extended by com.sparsity.sparksee.gdb.ResultSetList

public class ResultSetList
extends java.lang.Object

ResultSet list.

It stores a ResultSet list.

Author:
Sparsity Technologies http://www.sparsity-technologies.com

Constructor Summary
ResultSetList()
          Constructor.
 
Method Summary
 void clear()
          Clears the list.
 int count()
          Number of elements in the list.
 ResultSet get(int index)
          Returns the ResultSet at the specified position in the list.
 ResultSetListIterator iterator()
          Gets a new ResultSetListIterator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultSetList

public ResultSetList()
Constructor.

This creates an empty list.

Method Detail

get

public ResultSet get(int index)
Returns the ResultSet at the specified position in the list.

Parameters:
index - [in] Index of the element to return, starting at 0.

clear

public void clear()
Clears the list.


iterator

public ResultSetListIterator iterator()
Gets a new ResultSetListIterator.

Returns:
ResultSetListIterator instance.

count

public int count()
Number of elements in the list.

Returns:
Number of elements in the list.