public class DoubleRange extends Object implements Comparable<DoubleRange>
Constructor and Description |
---|
DoubleRange() |
DoubleRange(Double low,
Double high) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DoubleRange other)
first sorts according to low-bound (ascending) then according to high-bound (descending)
|
boolean |
contains(double d) |
boolean |
equals(Object o) |
Double |
getHigh() |
Double |
getLow() |
void |
setHigh(Double high) |
void |
setLow(Double low) |
String |
toString() |
public Double getHigh()
public void setHigh(Double high)
high
- The high to set.public Double getLow()
public void setLow(Double low)
low
- The low to set.public int compareTo(DoubleRange other)
compareTo
in interface Comparable<DoubleRange>
public boolean contains(double d)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.