public static class ReceiverOperatingCharacteristic.DataPoint.Sorter extends AbstractCloneableSerializable implements java.util.Comparator<ReceiverOperatingCharacteristic.DataPoint>
Constructor and Description |
---|
Sorter() |
Modifier and Type | Method and Description |
---|---|
int |
compare(ReceiverOperatingCharacteristic.DataPoint o1,
ReceiverOperatingCharacteristic.DataPoint o2)
Sorts ROCDataPoints in ascending order according to their
falsePositiveRate (x-axis), used in Arrays.sort() method
|
clone
public int compare(ReceiverOperatingCharacteristic.DataPoint o1, ReceiverOperatingCharacteristic.DataPoint o2)
compare
in interface java.util.Comparator<ReceiverOperatingCharacteristic.DataPoint>
o1
- First datapointo2
- Second datapoint