All Implemented Interfaces:
implements Comparable< DoubleRange>
Represents a bounded or unbounded numeric range. By default the range is closed (ake inclusive)
on the low end and open (aka exclusive) on the high end: mathematically "[low, high)". (I'm not
using the similarly-named class from Apache commons because it doesn't implement comparable, and
because it only allows inclusive bounds.)
Expected Behaviour: Should return null low and high if accessors are not called
Returns: Returns the high.
Expected Behaviour: Should return correct value of high if it high was set previously
Should return positive infinity if high was not set previously
Returns: Returns the low.
Expected Behaviour: Should return correct value of low if low was set previously
Should return negative infinity if low was not set previously
Returns: a String representation of the DoubleRange
Expected Behaviour: Should print the range if high and low are not null and not infinite
Should print empty high if high is infinite
Should print empty low if low is infinite
Should print empty string if low and high are infinite
public int hashCode()
Expected Behaviour: Should return the same hashCode for objects representing the same interval
Copyright © 2017 OpenMRS Inc.. All rights reserved.