|
IBM Rational Functional Tester Version 6.1 IBM Rational Functional Tester API Reference Project Version 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Used by the ITestDataList
interface to encapsulate the ordered
set of generic elements that make up the desired list. This interface is not typically
used directly, but instead is a shared implementation of a collection of generic elements
without specific higher-level control attributes. When used relative to the ITestDataList
interface, appropriate comparison attributes are available to
control use of the list.
Method Summary | |
void |
add(ITestDataElement element)
Appends an element to the end of the list. |
void |
add(ITestDataElement element,
int atIndex)
Inserts the specified element at the specified position in this list. |
ITestDataElement |
getElement(int index)
Returns the ITestDataElement at the specified
index. |
java.util.Vector |
getElements()
Returns an ordered vector of ITestDataElement
objects. |
int |
getLength()
Returns the number of elements that exist in the associated list. |
void |
remove(int atIndex)
Removes the element at the specified index from the list. |
void |
removeAll()
Removes all elements in the list. |
Method Detail |
public int getLength()
public ITestDataElement getElement(int index)
ITestDataElement
at the specified
index. The index is a zero-based index that must consist of less than
the number of elements in the list.
index
- the zero-based index of the desired elementpublic void add(ITestDataElement element, int atIndex)
element
- the element to add to the listatIndex
- the index of the element after being added to
the listpublic void add(ITestDataElement element)
element
- the element to add to the listpublic void remove(int atIndex)
atIndex
- the zero-based index of the desired elementpublic void removeAll()
public java.util.Vector getElements()
ITestDataElement
objects.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |