|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Immutable public interface Results
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. |
Node |
getNode(Location location)
Get the node at the supplied location. |
Node |
getNode(Path path)
Get the node at the supplied location. |
Node |
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()
getGraph
in interface Graph.BaseResults<Node>
Node getNode(String path)
getNode
in interface Graph.BaseResults<Node>
path
- the path of the node in these results
included
in these resultsNode getNode(Path path)
getNode
in interface Graph.BaseResults<Node>
path
- the path of the node in these results
included
in these resultsNode getNode(Location location)
getNode
in interface Graph.BaseResults<Node>
location
- the location of the node
included
in these resultsboolean includes(String path)
includes
in interface Graph.BaseResults<Node>
path
- the path of the node in these results
boolean includes(Path path)
includes
in interface Graph.BaseResults<Node>
path
- the path of the node in these results
boolean includes(Location location)
includes
in interface Graph.BaseResults<Node>
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 |