All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jdsltools.testers.TesterArrays

java.lang.Object
   |
   +----jdsltools.testers.TesterArrays

public class TesterArrays
extends Object
Author:
Michael Boilen (mgb), Marco da Silva (mds)

Constructor Index

 o TesterArrays()
Class Constructor.

Method Index

 o append(TesterArrays)
Appends a TesterArray to this array and returns this array
 o argument(int)
Returns a single type at a specific index.
 o arguments()
Returns an array representing the declared argument list stored in the type array.
 o parameter(int)
Returns a single parameter at a specific index.
 o parameters()
Returns an array representing the parameters stored in the parameter array.
 o pushPair(Class, Object)
Adds both a type and parameter to their respective arrays.
 o pushPair(Class, Object, int)
 o pushParam(Object)
Adds a parameter the the parameter array.
 o pushParam(Object, int)
Adds a parameter to the parameter array at a specific index.
 o pushType(Class)
Adds a type to the type array.
 o pushType(Class, int)
Adds a type to the type array at a specific index.
 o toString()

Constructors

 o TesterArrays
 public TesterArrays()
Class Constructor.

Methods

 o pushType
 public final TesterArrays pushType(Class type)
Adds a type to the type array.

Parameters:
type - The Class representing a type to add.
Returns:
A reference to this
 o pushType
 public final TesterArrays pushType(Class type,
                                    int index)
Adds a type to the type array at a specific index. If the index is invalid an error message is printed.

Parameters:
type - The Class representing a type to add.
index - The location to insert type
Returns:
A reference to this
 o pushParam
 public final TesterArrays pushParam(Object param)
Adds a parameter the the parameter array.

Parameters:
param - The parameter to add.
Returns:
A reference to this
 o pushParam
 public final TesterArrays pushParam(Object param,
                                     int index)
Adds a parameter to the parameter array at a specific index. If the index is invalid an error message is printed.

Parameters:
param - The parameter to add.
index - The location to insert the parameter
Returns:
A reference to this
 o pushPair
 public final TesterArrays pushPair(Class type,
                                    Object param)
Adds both a type and parameter to their respective arrays.

Parameters:
type - The Class representing the type to add.
param - The parameter to add.
Returns:
A reference to this
 o pushPair
 public final TesterArrays pushPair(Class type,
                                    Object param,
                                    int index)
 o arguments
 public final Class[] arguments()
Returns an array representing the declared argument list stored in the type array.

Returns:
The formal argument list as an array.
 o parameters
 public final Object[] parameters()
Returns an array representing the parameters stored in the parameter array.

Returns:
The parameter list as an array.
 o parameter
 public final Object parameter(int index)
Returns a single parameter at a specific index. If the index was invalid an error message is printed and null is returned.

Parameters:
index - The location to grab the parameter
Returns:
The parameter at index
 o argument
 public final Class argument(int index)
Returns a single type at a specific index. If the index was invalid an error message is printed and null is returned.

Parameters:
index - The location to grab the type
Returns:
The requested Class
 o append
 public TesterArrays append(TesterArrays arrays)
Appends a TesterArray to this array and returns this array

 o toString
 public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index