Skip navigation links

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


oracle.spatial.network.lod
Class NetworkBuffer.DoubleInterval

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

Enclosing class:
NetworkBuffer

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

This class defines a double interval.


Constructor Summary
NetworkBuffer.DoubleInterval(double start, double end)
          Constructs a double interval.

 

Method Summary
 double getEnd()
          Returns the end value of the interval.
 double getStart()
          Returns the start value of the interval.
 boolean isForward()
          Returns true if the end value is greater than or equal to the start value; false otherwise.
 double length()
          Returns the length of the interval.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

NetworkBuffer.DoubleInterval

public NetworkBuffer.DoubleInterval(double start,
                                    double end)
Constructs a double interval.
Parameters:
start -
end -

Method Detail

getStart

public double getStart()
Returns the start value of the interval.
Returns:

getEnd

public double getEnd()
Returns the end value of the interval.
Returns:

length

public double length()
Returns the length of the interval.
Returns:

isForward

public boolean isForward()
Returns true if the end value is greater than or equal to the start value; false otherwise.
Returns:

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.