|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rational.test.ft.value.NameSet
public class NameSet
Represents a set of names as a recognition property. For example, a tab control can use this class to specify the set of names on each tab.
| Constructor Summary | |
|---|---|
NameSet()
|
|
NameSet(java.lang.String[] names)
|
|
| Method Summary | |
|---|---|
void |
add(java.lang.String name)
Adds an element to the NameSet. |
boolean |
contains(java.lang.String name)
Determines whether a name in included in the NameSet. |
java.lang.String[] |
elementArray()
Returns the number of elements in the NameSet. |
java.util.Enumeration |
elements()
Lists the elements in the NameSet. |
boolean |
equals(java.lang.Object other)
Overloads the core java.lang.Object implementation to compare the entries in
the NameSet. |
int |
hashCode()
Overloads the core java.lang.Object implementation to hash the entries in
the NameSet. |
void |
remove(java.lang.String name)
Removes an element from the NameSet. |
void |
removeAll()
Removes all elements from the NameSet. |
void |
replace(int index,
java.lang.String name)
Replaces a name at a supplied index in the NameSet. |
int |
size()
Returns the size of the NameSet. |
java.lang.String |
toString()
Returns a String representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NameSet()
public NameSet(java.lang.String[] names)
| Method Detail |
|---|
public void add(java.lang.String name)
NameSet.
public void replace(int index,
java.lang.String name)
NameSet.
index - the index within the NameSet to replacename - the new name to add to the setpublic boolean contains(java.lang.String name)
NameSet.
public int size()
NameSet.
public java.util.Enumeration elements()
NameSet.
public java.lang.String[] elementArray()
NameSet.
public void remove(java.lang.String name)
NameSet.
public void removeAll()
NameSet.
public java.lang.String toString()
String representation of the object.
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
java.lang.Object implementation to compare the entries in
the NameSet.
equals in class java.lang.Objectpublic int hashCode()
java.lang.Object implementation to hash the entries in
the NameSet.
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||