|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.james.mime4j.field.address.MailboxList
public class MailboxList
An immutable, random-access list of Mailbox objects.
Constructor Summary | |
---|---|
MailboxList(java.util.ArrayList mailboxes,
boolean dontCopy)
|
Method Summary | |
---|---|
Mailbox |
get(int index)
Gets an address. |
void |
print()
Dumps a representation of this mailbox list to stdout, for debugging purposes. |
int |
size()
The number of elements in this list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MailboxList(java.util.ArrayList mailboxes, boolean dontCopy)
mailboxes
- An ArrayList that contains only Mailbox objects.dontCopy
- true iff it is not possible for the mailboxes ArrayList to be modified by someone else.Method Detail |
---|
public int size()
public Mailbox get(int index)
public void print()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |