|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.uddi.datatypes.ContactList
Corresponds to UDDI v2.0 sequence of 'contact' elements.
Encapsulates a Vector of Contact
objects.
Field Summary | |
static java.lang.String |
java_copyright
|
Constructor Summary | |
ContactList()
Constructs a new, empty ContactList. |
|
ContactList(int initialSize)
Constructs a new, empty ContactList, with the initial capacity specified. |
Method Summary | |
void |
add(Contact contact)
Adds a Contact to the ContactList. |
Contact |
get(int index)
Returns the Contact at the specified index. |
int |
size()
Returns the number of Contact objects in the ContactList. |
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 ContactList()
public ContactList(int initialSize)
initialSize
- the initial capacity of the ContactList.Method Detail |
public void add(Contact contact)
Contact
to the ContactList.contact
- the Contact to be added.public Contact get(int index)
Contact
at the specified index.int
- the index of the Contact to be retrieved.public int size()
Contact
objects in the ContactList.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |