public class AddressList extends AbstractList<Address> implements Serializable
modCount
Constructor and Description |
---|
AddressList(List<? extends Address> addresses,
boolean dontCopy) |
Modifier and Type | Method and Description |
---|---|
MailboxList |
flatten()
Returns a flat list of all mailboxes represented in this address list.
|
Address |
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, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
public int size()
size
in interface Collection<Address>
size
in interface List<Address>
size
in class AbstractCollection<Address>
public Address get(int index)
public MailboxList flatten()
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.