Package | Description |
---|---|
org.openmrs.util |
Shared utilities for OpenMRS classes
|
Modifier and Type | Method and Description |
---|---|
int |
DoubleRange.compareTo(DoubleRange other)
first sorts according to low-bound (ascending) then according to high-bound (descending)
Should return plus 1 if this low is greater than other low
Should return minus one if this low is lower than other low
Should return plus one if both lows are equal but other high is greater than this high
Should return minus one if both lows are equal but other high is less than this high
Should return zero if both lows and both highs are equal
Should return 1 if this range is wider than other range
|
Copyright © 2024 OpenMRS Inc.. All rights reserved.