public abstract class AbstractNode extends Object implements Node
Constructor and Description |
---|
AbstractNode(ContextNode contextNode) |
Modifier and Type | Method and Description |
---|---|
ContextNode |
getContextNode()
Every node has a parent context node, except the root context node.
|
ContextNode |
getContextNode(int arcs)
Every node has ancestor context nodes, except the root context node.
|
XDIAddress |
getXDIAddress()
Gets the address of this node.
|
public AbstractNode(ContextNode contextNode)
public ContextNode getContextNode()
Node
getContextNode
in interface Node
public ContextNode getContextNode(int arcs)
Node
getContextNode
in interface Node
arcs
- The number of arcs to follow up the graph.public XDIAddress getXDIAddress()
Node
getXDIAddress
in interface Node
Copyright © 2017. All rights reserved.