Modifier and Type | Method and Description |
---|---|
void |
add(Mail mail) |
void |
clear() |
Mails |
copy()
This methods returns a shallow copy of the current object.
|
Mail |
first() |
Mails |
first(int targetCount) |
Mail |
getByIndex(int index) |
boolean |
isEmpty() |
boolean |
isNotEmpty() |
java.util.Iterator<Mail> |
iterator() |
long |
lastId() |
void |
remove(Mail wire) |
Mails |
reverse() |
int |
size() |
public void add(Mail mail)
eventLog
- public void clear()
public Mails copy()
public Mail first()
targetCount
- public Mails first(int targetCount)
targetCount
- public Mail getByIndex(int index)
index
- public boolean isEmpty()
public boolean isNotEmpty()
public java.util.Iterator<Mail> iterator()
iterator
in interface java.lang.Iterable<Mail>
public long lastId()
public void remove(Mail wire)
id
- public Mails reverse()
public int size()