|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LogicalHeavyPath
A LogicalHeavyPath is a logical path with detailed node and link information.
Method Summary | |
---|---|
LogicalHeavyPath |
append(LogicalHeavyPath path) Appends a path after this path. |
LogicalHeavyPath |
append(LogicalLink endLink, LogicalNode endNode) Appends a link at the end of this path. |
double |
getCost() Returns the cost of this path. |
LogicalNode |
getEndNode() Returns the last node on this path. |
LogicalLink |
getFirstLink() Returns the first link on this path. |
LogicalLink |
getLastLink() Returns the last link on this path. |
LogicalLink[] |
getLinks() Returns the logical links on this path. |
LogicalNode[] |
getNodes() Returns the logical nodes on this path. |
LogicalNode |
getStartNode() Returns the first node on this path. |
java.util.Map<java.lang.String,java.lang.Object> |
getUserData() Returns all the user data name value pairs. |
java.lang.Object |
getUserData(java.lang.String dataName) Returns the user data object for the specified data name. |
LogicalHeavyPath |
prepend(LogicalHeavyPath path) Appends a path before this path. |
LogicalHeavyPath |
prepend(LogicalLink startLink, LogicalNode startNode) Appends a link at the beginning of this path. |
void |
setCost(double cost) Sets the cost of this path. |
void |
setUserData(java.util.Map<java.lang.String,java.lang.Object> userDataMap) Sets the value of the user data. |
void |
setUserData(java.lang.String dataName, java.lang.Object dataValue) Sets the value of the user data. |
LogicalPath |
toLogicalPath() Converts the heavy-weight path to a light-weight path. |
Method Detail |
---|
LogicalLink[] getLinks()
LogicalNode[] getNodes()
LogicalNode getStartNode()
LogicalNode getEndNode()
LogicalLink getFirstLink()
LogicalLink getLastLink()
double getCost()
void setCost(double cost)
cost
- path costjava.lang.Object getUserData(java.lang.String dataName)
dataName
- name of the user datavoid setUserData(java.lang.String dataName, java.lang.Object dataValue)
dataName
- name of the user datadataValue
- value of the user datajava.util.Map<java.lang.String,java.lang.Object> getUserData()
void setUserData(java.util.Map<java.lang.String,java.lang.Object> userDataMap)
userDataMap
- a map of userdata name value pairsLogicalHeavyPath append(LogicalLink endLink, LogicalNode endNode)
endLink
- end link in the returned pathendNode
- end node in the returned pathLogicalHeavyPath append(LogicalHeavyPath path)
path
- path to append after this pathLogicalHeavyPath prepend(LogicalLink startLink, LogicalNode startNode)
startLink
- end link in the returned pathstartNode
- end node in the returned pathLogicalHeavyPath prepend(LogicalHeavyPath path)
path
- path to append before this pathLogicalPath toLogicalPath()
|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |