Constructor and Description |
---|
EventLogs() |
EventLogs(EventLogs source)
This constructor does a shallow copy of parameter.
|
EventLogs(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
void |
add(EventLog eventLog) |
void |
clear() |
EventLogs |
copy()
This methods returns a shallow copy of the current object.
|
int |
countByCategory(EventLog.Category category) |
EventLogs |
first(int targetCount) |
EventLogs |
getByCategory(EventLog.Category category) |
EventLog |
getByIndex(int index) |
boolean |
isEmpty() |
boolean |
isNotEmpty() |
java.util.Iterator<EventLog> |
iterator() |
EventLogs |
lastest(int targetCount) |
long |
lastId() |
EventLogs |
reverse() |
int |
size() |
EventLogs |
sortByDate() |
EventLogs |
sortById() |
public EventLogs()
public EventLogs(EventLogs source)
public EventLogs(int initialCapacity)
public void add(EventLog eventLog)
eventLog
- public void clear()
public EventLogs copy()
public int countByCategory(EventLog.Category category)
category
- public EventLogs first(int targetCount)
targetCount
- public EventLogs getByCategory(EventLog.Category category)
category
- public EventLog getByIndex(int index)
index
- public boolean isEmpty()
public boolean isNotEmpty()
public java.util.Iterator<EventLog> iterator()
iterator
in interface java.lang.Iterable<EventLog>
public EventLogs lastest(int targetCount)
lastCount
- public long lastId()
public EventLogs reverse()
public int size()
public EventLogs sortByDate()
public EventLogs sortById()