public interface INode
Modifier and Type | Method and Description |
---|---|
void |
addEdge(EdgeBuilder edge)
Adds edge to the edge list.
|
void |
addNeighbor(NodeBuilder node)
Adds neighbor to the Neighbors List.
|
int |
countNeighbors()
Returns Neighbors count.
|
AtomMatcher |
getAtomMatcher()
Returns Query Atom.
|
java.util.List<IEdge> |
getEdges()
Returns List of Edges.
|
java.lang.Iterable<INode> |
neighbors()
Returns neighbors.
|
int countNeighbors()
java.lang.Iterable<INode> neighbors()
AtomMatcher getAtomMatcher()
java.util.List<IEdge> getEdges()
void addEdge(EdgeBuilder edge)
edge
- add an edge.void addNeighbor(NodeBuilder node)
node
- add a node.