Modifier and Type | Field and Description |
---|---|
private java.util.List |
nodes |
private java.util.List |
pointers |
private java.util.List |
readOnlyPointers |
private java.util.List |
values |
Constructor and Description |
---|
BasicNodeSet() |
Modifier and Type | Method and Description |
---|---|
void |
add(NodeSet nodeSet)
Add the specified NodeSet to this NodeSet.
|
void |
add(Pointer pointer)
Add a pointer to this NodeSet.
|
private void |
clearCacheLists()
Clear cache list members.
|
java.util.List |
getNodes()
Returns a list of nodes.
|
java.util.List |
getPointers()
Returns a list of pointers for all nodes in the set.
|
java.util.List |
getValues()
Returns a list of values of all contained pointers.
|
void |
remove(Pointer pointer)
Remove a pointer from this NodeSet.
|
java.lang.String |
toString() |
private java.util.List pointers
private java.util.List readOnlyPointers
private java.util.List nodes
private java.util.List values
public void add(Pointer pointer)
pointer
- to addpublic void add(NodeSet nodeSet)
nodeSet
- to addpublic void remove(Pointer pointer)
pointer
- to removepublic java.util.List getPointers()
NodeSet
getPointers
in interface NodeSet
public java.util.List getNodes()
NodeSet
public java.util.List getValues()
NodeSet
public java.lang.String toString()
toString
in class java.lang.Object
private void clearCacheLists()