public class BasicNodeManager<T> extends Object implements NodeManager<T>
NodeManager
.Constructor and Description |
---|
BasicNodeManager() |
Modifier and Type | Method and Description |
---|---|
void |
addNode(T n)
add a node to this graph
|
boolean |
containsNode(T N) |
int |
getNumberOfNodes() |
Iterator<T> |
iterator() |
void |
removeNode(T n)
remove a node from this graph
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public int getNumberOfNodes()
getNumberOfNodes
in interface NodeManager<T>
public void addNode(T n)
NodeManager
addNode
in interface NodeManager<T>
public void removeNode(T n)
NodeManager
removeNode
in interface NodeManager<T>
public boolean containsNode(T N)
containsNode
in interface NodeManager<T>