public class MailboxList extends java.util.AbstractList<Mailbox> implements java.io.Serializable
| Constructor and Description |
|---|
MailboxList(java.util.List<Mailbox> mailboxes,
boolean dontCopy) |
| Modifier and Type | Method and Description |
|---|---|
Mailbox |
get(int index)
Gets an address.
|
int |
size()
The number of elements in this list.
|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringpublic MailboxList(java.util.List<Mailbox> mailboxes, boolean dontCopy)
mailboxes - A List that contains only Mailbox objects.dontCopy - true iff it is not possible for the mailboxes list to be
modified by someone else.