public static class NetworkBuffer.DoubleInterval
extends java.lang.Object
| Constructor and Description |
|---|
DoubleInterval(double start,
double end)
Constructs a double interval.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getEnd()
Returns the end value of the interval.
|
double |
getStart()
Returns the start value of the interval.
|
boolean |
isBackward() |
boolean |
isForward()
Returns true if the end value is greater than the start value;
false otherwise.
|
boolean |
isPoint() |
double |
length()
Returns the length of the interval.
|
public DoubleInterval(double start,
double end)
start - end - public double getStart()
public double getEnd()
public double length()
public boolean isForward()
public boolean isBackward()
public boolean isPoint()