public class ContactList
extends java.lang.Object
implements java.io.Serializable
Contact objects.| Constructor and Description |
|---|
ContactList()
Deprecated.
Constructs a new, empty ContactList.
|
ContactList(int initialSize)
Deprecated.
Constructs a new, empty ContactList, with the initial capacity specified.
|
public ContactList()
public ContactList(int initialSize)
initialSize - the initial capacity of the ContactList.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.