public class Range
extends java.lang.Object
| Constructor and Description |
|---|
Range(double lowerbound,
double upperbound)
Specifies a continuous range.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getLowerbound()
Returns the lowerbound of the range.
|
double |
getUpperbound()
Returns the upperbound of the range.
|
void |
increaseUpperbound(double increment)
Increases the upperbound by the given increment.
|
void |
setLowerbound(double lowerbound)
Set the lowerbound of the range.
|
void |
setUpperbound(double upperbound)
Set the upperbound of the range.
|
public Range(double lowerbound,
double upperbound)
lowerbound - of the range.upperbound - of the range.public double getUpperbound()
public double getLowerbound()
public void setUpperbound(double upperbound)
upperbound - of the range.public void setLowerbound(double lowerbound)
lowerbound - of the range.public void increaseUpperbound(double increment)
increment - amount which should be added to the upperbound.