public class NavuChange extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
add(NavuNode e)
Adds a node.
|
boolean |
contains(NavuNode node)
Checks if a node is already contained by the change.
|
NavuNode |
get(int index)
Returns a node at a certain position.
|
DiffIterateOperFlag |
getChange() |
ConfKey |
getKey() |
boolean |
isEmpty() |
Iterator<NavuNode> |
iterator() |
void |
setChange(DiffIterateOperFlag op)
Sets the change type.
|
int |
size() |
List<NavuNode> |
subList(int startIndex,
int stopindex) |
Object[] |
toArray()
Converts the list of changes to an array.
|
<T> T[] |
toArray(T[] a) |
public boolean add(NavuNode e)
e
- changed node.public boolean contains(NavuNode node)
node
- a node to check.public NavuNode get(int index)
index
- the index to usepublic DiffIterateOperFlag getChange()
public ConfKey getKey()
public boolean isEmpty()
public void setChange(DiffIterateOperFlag op)
op
- change type.public int size()
public List<NavuNode> subList(int startIndex, int stopindex)
startIndex
- first index of the sub-liststopindex
- stop index (exclusive)public Object[] toArray()
public <T> T[] toArray(T[] a)
T
- a
-