|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
NodeType
- the type of node that tis results deals with@Immutable public static interface Graph.BaseResults<NodeType extends Node>
A set of nodes returned from a graph
, with methods to access the properties and children of the nodes in the
result. The Iterable.iterator()
method can be used to iterate all over the nodes in the result.
Method Summary | |
---|---|
Graph |
getGraph()
Get the graph containing the node. |
NodeType |
getNode(Location location)
Get the node at the supplied location. |
NodeType |
getNode(Path path)
Get the node at the supplied location. |
NodeType |
getNode(String path)
Get the node at the supplied location. |
boolean |
includes(Location location)
Return whether this subgraph has a node at the supplied location. |
boolean |
includes(Path path)
Return whether this subgraph has a node at the supplied location. |
boolean |
includes(String path)
Return whether these results include a node at the supplied location. |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
Graph getGraph()
NodeType getNode(String path)
path
- the path of the node in these results
included
in these resultsNodeType getNode(Path path)
path
- the path of the node in these results
included
in these resultsNodeType getNode(Location location)
location
- the location of the node
included
in these resultsboolean includes(String path)
path
- the path of the node in these results
boolean includes(Path path)
path
- the path of the node in these results
boolean includes(Location location)
location
- the location of the node in these results
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |