com.penguinwerks.jodene
Class ResultSet

java.lang.Object
  extended bycom.penguinwerks.jodene.ResultSet
All Implemented Interfaces:
java.io.Serializable

public class ResultSet
extends java.lang.Object
implements java.io.Serializable

A result set is a collection of inputs and their returned results.

Author:
Paul Hoehne
See Also:
Serialized Form

Constructor Summary
ResultSet()
          Creates a new instance of ResultSet
 
Method Summary
 void addResult(Result result)
          Add a result to the result set.
 Result getResult(int index)
          Returns the result at the given index.
 int getSize()
          Returns the size of the result set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultSet

public ResultSet()
Creates a new instance of ResultSet

Method Detail

addResult

public void addResult(Result result)
Add a result to the result set.

Parameters:
result - A new result

getResult

public Result getResult(int index)
Returns the result at the given index.

Parameters:
index - The index of the result.
Returns:
The result.

getSize

public int getSize()
Returns the size of the result set.

Returns:
The size.