Constructor and Description |
---|
EditScript()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Diff |
add(Diff paramChange)
Adds a change to the edit script.
|
void |
clear()
Clears the edit script.
|
boolean |
containsNode(INode paramItem)
Checks if an item has been added(changed).
|
Diff |
get(INode paramItem)
Look up a change for the given item.
|
boolean |
hasNext() |
boolean |
isEmpty()
Checks if the edit script is empty.
|
Iterator<Diff> |
iterator() |
Diff |
next() |
void |
remove() |
int |
size()
Calculates the size of the edit script.
|
public int size()
public boolean isEmpty()
public boolean containsNode(INode paramItem)
paramItem
- IData
implementationList
already contains the node, false
otherwisepublic void clear()
public Diff get(INode paramItem)
paramItem
- (not) changed nodepublic Diff add(Diff paramChange)
paramChange
- Diff
referenceCopyright © 2013. All Rights Reserved.