All Packages Class Hierarchy This Package Previous Next Index
Class crw.data3.FloatRange
java.lang.Object
|
+----crw.data3.FloatRange
- public class FloatRange
- extends Object
A class for the Range of floating point values.
- Version:
- 1.0 2-11-1998
- Author:
- C.R.Wie
-
max
- The max-value of this point, usually used as the maximum value
if this FloatPoint is used to indicate the range for double values.
-
min
- The min-value of this point, usually used as the minimum value
if this FloatPoint is used to indicate the range for double values.
-
FloatRange()
- Default constructor, min=0.0 and max=0.0.
-
FloatRange(double, double)
- Sets the min- and max-values at the parameters.
-
FloatRange(FloatRange)
-
-
setOrder()
- Sets the smaller value of the current min and max as the
min-value and the larger as the max-value.
-
union(FloatRange)
-
min
public double min
- The min-value of this point, usually used as the minimum value
if this FloatPoint is used to indicate the range for double values.
max
public double max
- The max-value of this point, usually used as the maximum value
if this FloatPoint is used to indicate the range for double values.
FloatRange
public FloatRange()
- Default constructor, min=0.0 and max=0.0.
FloatRange
public FloatRange(double min,
double max)
- Sets the min- and max-values at the parameters.
- Parameters:
- min - the min-value
- max - the max-value
FloatRange
public FloatRange(FloatRange r)
setOrder
public void setOrder()
- Sets the smaller value of the current min and max as the
min-value and the larger as the max-value.
union
public void union(FloatRange r)
All Packages Class Hierarchy This Package Previous Next Index