public abstract class AbstractNodesList
extends java.lang.Object
Constructor and Description |
---|
AbstractNodesList() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
addNode(Node n)
Add a node to this NodeList.
|
abstract java.util.LinkedList<Node> |
getNodeList()
Return a set of Nodes.
|
abstract boolean |
removeNode(Node n)
Remove a node from this list.
|
abstract void |
setNodeList(java.util.LinkedList<Node> nodeList)
Sets the NodeList
|
abstract int |
size()
Returns the size of the NodeList
|
public abstract java.util.LinkedList<Node> getNodeList()
public abstract void setNodeList(java.util.LinkedList<Node> nodeList)
nodeList
- - The NodeList to be copied.public abstract boolean addNode(Node n)
n
- - the node to be addedpublic abstract boolean removeNode(Node n)
n
- - the node to be removedpublic abstract int size()