public class ParameterModelComparator extends Object implements Comparator<ParameterModel>
Comparator
for sorting objects of type ParameterModel
Constructor and Description |
---|
ParameterModelComparator(boolean infrastructureFirst)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
int |
compare(ParameterModel left,
ParameterModel right) |
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 ParameterModelComparator(boolean infrastructureFirst)
infrastructureFirst
- whether infrastructure parameters should be at the beginning or the endpublic int compare(ParameterModel left, ParameterModel right)
compare
in interface Comparator<ParameterModel>
Copyright © 2018. All rights reserved.