public class EmailList
extends java.lang.Object
implements java.io.Serializable
Email
objects.Constructor and Description |
---|
EmailList()
Deprecated.
Constructs a new, empty EmailList.
|
EmailList(int initialSize)
Deprecated.
Constructs a new, empty EmailList, with the initial capacity specified.
|
public EmailList()
public EmailList(int initialSize)
initialSize
- the initial capacity of the EmailList.public void add(Email email)
Email
to the EmailList.email
- the Email to be added.public Email get(int index)
Email
at the specified index.int
- the index of the Email to be retrieved.public int size()
Email
objects in the EmailList.