|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.uddi.datatypes.PhoneList
Corresponds to UDDI v2.0 sequence of 'phone' elements.
Encapsulates a Vector of Phone
objects.
Field Summary | |
static java.lang.String |
java_copyright
|
Constructor Summary | |
PhoneList()
Constructs a new, empty PhoneList. |
|
PhoneList(int initialSize)
Constructs a new, empty PhoneList, with the initial capacity specified. |
Method Summary | |
void |
add(Phone phone)
Adds a Phone to the PhoneList. |
Phone |
get(int index)
Returns the Phone at the specified index. |
int |
size()
Returns the number of Phone objects in the PhoneList. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String java_copyright
Constructor Detail |
public PhoneList()
public PhoneList(int initialSize)
initialSize
- the initial capacity of the PhoneList.Method Detail |
public void add(Phone phone)
Phone
to the PhoneList.phone
- the Phone to be added.public Phone get(int index)
Phone
at the specified index.int
- the index of the Phone to be retrieved.public int size()
Phone
objects in the PhoneList.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |