|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<Mailbox>
org.apache.james.mime4j.field.address.MailboxList
public class MailboxList
An immutable, random-access list of Mailbox objects.
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
MailboxList(java.util.List<Mailbox> 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.util.AbstractList |
|---|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
| Constructor Detail |
|---|
public 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.| Method Detail |
|---|
public int size()
size in interface java.util.Collection<Mailbox>size in interface java.util.List<Mailbox>size in class java.util.AbstractCollection<Mailbox>public Mailbox get(int index)
get in interface java.util.List<Mailbox>get in class java.util.AbstractList<Mailbox>public void print()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||