FixedSizeChangeQueue, UnlimitedChangeQueue, ZeroSizeChangeQueuepublic interface ChangeQueue<C>
| Modifier and Type | Interface | Description |
|---|---|---|
static interface |
ChangeQueue.QueuePosition |
| Modifier and Type | Method | Description |
|---|---|---|
void |
forgetHistory() |
|
ChangeQueue.QueuePosition |
getCurrentPosition() |
|
boolean |
hasNext() |
|
boolean |
hasPrev() |
|
C |
next() |
Returns the next item and increases the current position by 1.
|
C |
peekNext() |
Returns the next item.
|
C |
peekPrev() |
Returns the previous item.
|
C |
prev() |
Returns the previous item and decreases the current position by 1.
|
void |
push(C... changes) |
boolean hasNext()
boolean hasPrev()
C peekNext()
C peekPrev()
C next()
C prev()
void push(C... changes)
ChangeQueue.QueuePosition getCurrentPosition()
void forgetHistory()