| Constructor and Description |
|---|
LogIterator(ILogMap logs)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
ILogEntry |
next() |
void |
remove()
The remove implemented in this way doesn't work because it modifies
the elements in the set and the keyIterator throws a ConcurrentModificationException
|
public LogIterator(ILogMap logs)
logs - The map containing the logs to iteratoe overpublic boolean hasNext()
hasNext in interface java.util.Iterator<ILogEntry>Iteratorpublic ILogEntry next()
next in interface java.util.Iterator<ILogEntry>Iteratorpublic void remove()
remove in interface java.util.Iterator<ILogEntry>Iterator