Class ListOfTrials

Class ListOfTrials

Warning, links to the API class, i.e., java.awt.*, java.lang.*, etc., do not exist. Only links to Poggendoff class exists: the "see also" links.
java.lang.Object
   |
   +----java.util.Vector
           |
           +----ListOfTrials

class ListOfTrials
extends Vector
This class creates a vector structure of 'TrialObject' objects.
See Also:
TrialObject

Constructor Index

 o ListOfTrials(int)
Constructor creates a vector of elements, which will hold objects of type 'TrialObject'

Method Index

 o append(TrialObject)
Appends a TrialObject at the end of the vector.
 o get(int)
Returns a TrialObject from the nth position in the vector.
 o set(TrialObject, int)
Inserts a TrialObject at some point in the vector.

Constructors

 o ListOfTrials
  public ListOfTrials(int initialCapacity)
Constructor creates a vector of elements, which will hold objects of type 'TrialObject'
Parameters:
initialCapacity - is the initial size of the vector

Methods

 o set
  public void set(TrialObject i,
                  int n)
Inserts a TrialObject at some point in the vector.
Parameters:
i - is a TrialObject
n - is where to insert the object
Returns:
void
 o append
  public void append(TrialObject i)
Appends a TrialObject at the end of the vector.
Parameters:
i - is a TrialObject
Returns:
void
 o get
  public TrialObject get(int n)
Returns a TrialObject from the nth position in the vector.
Parameters:
n - specifies where in the vector to retreive the object
Returns:
TrialObject

Back to StimuliCanvas class documentation page