public interface ChangeSet
| Modifier and Type | Method and Description |
|---|---|
void |
add(Change change)
Add the given change to the history.
|
Iterator<Change> |
backwardIterator()
Get a backward directed iterator that can be used for undo.
|
Iterator<Change> |
forwardIterator()
Get a forward directed iterator that can be used for redo.
|
int |
size()
Get the number of stored changes.
|
void add(Change change)
change - the changeIterator<Change> backwardIterator()
The iterator may return the changes out of order, as long as the final result after all changes have been applied is correct.
Iterator<Change> forwardIterator()
The iterator may return the changes out of order, as long as the final result after all changes have been applied is correct.
int size()
Copyright © 2010-2014. All Rights Reserved.