Constructor and Description |
---|
Comments() |
Comments(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
void |
add(Comment source) |
void |
clear() |
Comments |
copy()
This methods returns a shallow copy of the current object.
|
Comments |
first(int targetCount) |
Comment |
getByIndex(int index) |
boolean |
isEmpty() |
boolean |
isNotEmpty() |
java.util.Iterator<Comment> |
iterator() |
Comment |
last() |
long |
lastId() |
void |
remove(Comment message) |
Comments |
reverse() |
int |
size() |
public void add(Comment source)
log
- public void clear()
public Comments copy()
public Comments first(int targetCount)
targetCount
- public Comment getByIndex(int index)
index
- public boolean isEmpty()
public boolean isNotEmpty()
public java.util.Iterator<Comment> iterator()
iterator
in interface java.lang.Iterable<Comment>
public Comment last()
public long lastId()
public void remove(Comment message)
id
- public Comments reverse()
public int size()