Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-02


oracle.spatial.network.lod
Class NetworkBuffer.Elements

java.lang.Object
  extended by oracle.spatial.network.lod.NetworkBuffer.Elements

Enclosing class:
NetworkBuffer

public static class NetworkBuffer.Elements
extends java.lang.Object

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

NetworkBuffer.Elements

public NetworkBuffer.Elements()

Method Detail

addLinkIntervals

public void addLinkIntervals(NetworkBuffer.LinkIntervals linkIntervals)

addNode

public void addNode(LogicalNode node)
Adds a node to the network elements.
Parameters:
node -

getLinkIntervals

public NetworkBuffer.LinkIntervals[] getLinkIntervals()
Returns the link intervals in the network elements.
Returns:

getLinkIntervals

public NetworkBuffer.LinkIntervals getLinkIntervals(long linkId)
Returns the link intervals of the specified link.
Parameters:
linkId - ID of the link
Returns:

getNodes

public LogicalNode[] getNodes()
Returns the nodes in the network elements.
Returns:

getNode

public LogicalNode getNode(long nodeId)
Returns the node object of the specified node.
Parameters:
nodeId - ID of the node
Returns:

getNumberOfNodes

public int getNumberOfNodes()
Returns the number of nodes in the network elements.
Returns:

getNumberOfLinks

public int getNumberOfLinks()
Returns the number of links in the network elements.
Returns:

hasLink

public boolean hasLink(long linkId)
Checks whether the network elements contains the specified link.
Parameters:
linkId - ID of the link
Returns:

hasNode

public boolean hasNode(long nodeId)
Checks whether the network elements contains the specified node.
Parameters:
nodeId - ID of the node
Returns:

removeLink

public void removeLink(long linkId)
Removes the specified link from the network elements.
Parameters:
linkId - ID of the link

removeNode

public void removeNode(long nodeId)
Removes the specified node from the network elements.
Parameters:
nodeId - ID of the node

Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-02


Copyright © 2007, 2011, Oracle and/or its affiliates. All Rights Reserved.