
Public Member Functions | |
| LogIterator (ILogMap logs) | |
| boolean | hasNext () |
| ILogEntry | next () |
| void | remove () |
Private Attributes | |
| ILogMap | logs = null |
| Integer | lastReadKey = null |
| Integer | firstKey = null |
| Integer | lastKey = null |
|
|
Constructor
|
|
|
|
|
|
|
|
|
The remove implemented in this way doesn't work because it modifies the elements in the set and the keyIterator throws a ConcurrentModificationException
|
|
|
|
|
|
|
|
|
The key read with the last call to next() This value is needed to implement the remove() |
|
|
The map of the logs |
1.3.8