public class DoubleComparer extends Comparer
Constructor and Description |
---|
DoubleComparer() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object a,
Object b)
Compare two String objects according to their numeric values
|
setDataType, setOrder
public int compare(Object a, Object b)
compare
in class Comparer
ClassCastException
- if the objects are of the wrong type for this Comparer