Modifier and Type | Method and Description |
---|---|
static int |
lab0.compareTo(Range r1,
Range r2)
[Question 8]
Compares two
Range instances by their widths. |
static int |
lab0.contains1(double x,
Range range)
[Question 7]
Determine if a value
x is strictly inside the given
Range . |
static String |
lab0.toString(Range r)
Returns a string representation of a
Range that is different
than the one returned by Range.toString . |