Modifier and Type | Method and Description |
---|---|
void |
add(Wire wire) |
void |
clear() |
Wires |
copy()
This methods returns a shallow copy of the current object.
|
Wire |
first() |
Wires |
first(int targetCount) |
Wire |
getByIndex(int index) |
boolean |
isEmpty() |
boolean |
isNotEmpty() |
java.util.Iterator<Wire> |
iterator() |
Wire |
last() |
long |
lastId() |
Wire |
latestPublishedWire(java.util.Locale locale) |
Wires |
latestPublishedWires(int targetCount) |
Wires |
latestPublishedWires(int targetCount,
java.util.Locale locale) |
Wires |
publishedWires() |
Wires |
publishedWires(java.util.Locale locale) |
void |
remove(Wire wire) |
Wires |
reverse() |
int |
size() |
Wires |
sortById() |
Wires |
sortByPublicationDate() |
public void add(Wire wire)
eventLog
- public void clear()
public Wires copy()
public Wire first()
targetCount
- public Wires first(int targetCount)
targetCount
- public Wire getByIndex(int index)
index
- public boolean isEmpty()
public boolean isNotEmpty()
public java.util.Iterator<Wire> iterator()
iterator
in interface java.lang.Iterable<Wire>
public Wire last()
targetCount
- public long lastId()
public Wire latestPublishedWire(java.util.Locale locale)
targetCount
- public Wires latestPublishedWires(int targetCount)
targetCount
- public Wires latestPublishedWires(int targetCount, java.util.Locale locale)
targetCount
- public Wires publishedWires()
public Wires publishedWires(java.util.Locale locale)
public void remove(Wire wire)
id
- public Wires reverse()
public int size()
public Wires sortById()
public Wires sortByPublicationDate()