public class BasicNode extends BasicPropertyContainer
| Constructor and Description |
|---|
BasicNode() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(BasicNode n)
Test if the node is a child of this node
|
int |
getNodeCount()
Return the number of child nodes
|
BasicNode |
getParent()
Return the parent node of this node
|
Iterator |
inEdges()
Return an iterator over the in edges of this
node.
|
Iterator |
nodes()
Return an iterator over the contained nodes.
|
Iterator |
outEdges()
Return an iterator over the out edges of this
node.
|
Iterator |
predecessors()
Return an iterator over the predecessor nodes of this
node.
|
void |
setParent(BasicNode parent)
Set the parent of this node.
|
Iterator |
successors()
Return an iterator over the successor nodes of this
node.
|
getProperty, properties, propertyNames, removeAllProperties, setPropertypublic boolean contains(BasicNode n)
public BasicNode getParent()
public int getNodeCount()
public Iterator inEdges()
public Iterator predecessors()
public Iterator nodes()
public Iterator outEdges()
public Iterator successors()
public void setParent(BasicNode parent)
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.