public class BasicNodeSet extends Object implements NodeSet
NodeSet
that behaves as a collection
of pointers.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.
|
List |
getNodes()
Returns a list of nodes.
|
List |
getPointers()
Returns a list of pointers for all nodes in the set.
|
List |
getValues()
Returns a list of values of all contained pointers.
|
void |
remove(Pointer pointer)
Remove a pointer from this NodeSet.
|
String |
toString() |
public BasicNodeSet()
public void add(NodeSet nodeSet)
nodeSet
- to addpublic void remove(Pointer pointer)
pointer
- to removepublic List getPointers()
NodeSet
getPointers
in interface NodeSet
public List getValues()
NodeSet
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.