public class TreatmentLevelComparator extends Object implements Comparator<TreatmentStep>
Constructor and Description |
---|
TreatmentLevelComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(TreatmentStep step1,
TreatmentStep step2)
Compare treatment steps according to their treatment level.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(TreatmentStep step1, TreatmentStep step2)
compare
in interface Comparator<TreatmentStep>
step1
- the first step to be comparedstep2
- the second step to be comparedCopyright © 2022. All rights reserved.