SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A class representing a range.
Author: JANConstructor Summary | |
IWRange(minimum, maximum)
Creates a new range object. |
Method Summary | |
Boolean
|
contains()
Checks if value is in range. |
Number
|
getMax()
Returns the maximum value of this range. |
Number
|
getMin()
Returns the minimum value of this range. |
void
|
setMax(maxValue)
Sets the maximum value of this range. Number.MAX_VALUE .
|
void
|
setMin(minValue)
Sets the minimum value of this range. Number.MAX_VALUE .
|
String
|
toString()
Returns a string representation of this range. |
Constructor Detail |
IWRange(minimum, maximum)
Number minimum
- the min value
Number maximum
- the max value
Method Detail |
Boolean contains()
Number
Boolean
Number getMax()
Number
Number getMin()
Number
void setMax(maxValue)
Number.MIN_VALUE
and
Number.MAX_VALUE
.
Number maxValue
void
void setMin(minValue)
Number.MIN_VALUE
and
Number.MAX_VALUE
.
Number minValue
void
String toString()
String