|
Oracle® Spatial Java API Reference 11g Release 2 (11.2) E11829-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.spatial.network.lod.NetworkBuffer.Elements
public static class NetworkBuffer.Elements
This class contains elements in a network buffer.
Constructor Summary | |
---|---|
NetworkBuffer.Elements() |
Method Summary | |
---|---|
void |
addLinkIntervals(NetworkBuffer.LinkIntervals linkIntervals) |
void |
addNode(LogicalNode node) Adds a node to the network elements. |
NetworkBuffer.LinkIntervals[] |
getLinkIntervals() Returns the link intervals in the network elements. |
NetworkBuffer.LinkIntervals |
getLinkIntervals(long linkId) Returns the link intervals of the specified link. |
LogicalNode |
getNode(long nodeId) Returns the node object of the specified node. |
LogicalNode[] |
getNodes() Returns the nodes in the network elements. |
int |
getNumberOfLinks() Returns the number of links in the network elements. |
int |
getNumberOfNodes() Returns the number of nodes in the network elements. |
boolean |
hasLink(long linkId) Checks whether the network elements contains the specified link. |
boolean |
hasNode(long nodeId) Checks whether the network elements contains the specified node. |
void |
removeLink(long linkId) Removes the specified link from the network elements. |
void |
removeNode(long nodeId) Removes the specified node from the network elements. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NetworkBuffer.Elements()
Method Detail |
---|
public void addLinkIntervals(NetworkBuffer.LinkIntervals linkIntervals)
public void addNode(LogicalNode node)
node
-public NetworkBuffer.LinkIntervals[] getLinkIntervals()
public NetworkBuffer.LinkIntervals getLinkIntervals(long linkId)
linkId
- ID of the linkpublic LogicalNode[] getNodes()
public LogicalNode getNode(long nodeId)
nodeId
- ID of the nodepublic int getNumberOfNodes()
public int getNumberOfLinks()
public boolean hasLink(long linkId)
linkId
- ID of the linkpublic boolean hasNode(long nodeId)
nodeId
- ID of the nodepublic void removeLink(long linkId)
linkId
- ID of the linkpublic void removeNode(long nodeId)
nodeId
- ID of the node
|
Oracle® Spatial Java API Reference 11g Release 2 (11.2) E11829-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |