Modifier and Type | Method and Description |
---|---|
void |
add(Topic topic) |
void |
clear() |
Topics |
copy()
This methods returns a shallow copy of the current object.
|
Topics |
first(int targetCount) |
Topic |
getByIndex(int index) |
boolean |
isEmpty() |
boolean |
isNotEmpty() |
java.util.Iterator<Topic> |
iterator() |
void |
remove(Topic topic) |
Topics |
reverse() |
int |
size() |
Topics |
sortById() |
Topics |
sortByLatestMessage() |
Topics |
sortBySticky() |
public void add(Topic topic)
log
- public void clear()
public Topics copy()
public Topics first(int targetCount)
targetCount
- public Topic getByIndex(int index)
index
- public boolean isEmpty()
public boolean isNotEmpty()
public java.util.Iterator<Topic> iterator()
iterator
in interface java.lang.Iterable<Topic>
public void remove(Topic topic)
id
- public Topics reverse()
public int size()
public Topics sortById()
public Topics sortByLatestMessage()
public Topics sortBySticky()