|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodePool
Maps between the Long identifier and a Node (globalized value) or from a String to a Long (local value).
Method Summary | |
---|---|
Node |
getNodeById(Long id)
Package method to find a node in the node pool by its id. |
Long |
getNodeIdByString(String str)
Package method to find a node id based on its string representation. |
Long[] |
localize(Node first,
Node second,
Node third)
Converts a globalized set of triple objects to an array of longs. |
Method Detail |
---|
Node getNodeById(Long id)
id
- The id of the node to search for.
Long getNodeIdByString(String str)
str
- The string representation of a node.
Long[] localize(Node first, Node second, Node third) throws GraphException
first
- The first node.second
- The second node.third
- The last node.
GraphException
- If there was an error adding the statement.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |