public class Range extends Object
| Constructor and Description |
|---|
Range(long minimum,
long maximum)
Constructs an inclusive Range from the two values given.
|
Range(String minimum,
String maximum)
A convenience constructor which takes two longs encoded as strings and
creates a Range.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInRange(double test)
Test whether the given double value is within this range.
|
boolean |
isInRange(long test)
Test whether the given long value is within this range.
|
String |
toString()
Provide a formatted String describing this Range.
|
public Range(String minimum, String maximum)
minimum - maximum - public Range(long minimum,
long maximum)
minimum - maximum - Copyright © 2014 Quattor. All Rights Reserved.