public class AggrValModelComparator extends Object implements Comparator<AggregationValModel>
Constructor and Description |
---|
AggrValModelComparator(boolean sortNumerical,
boolean ascending)
Constructor for class AggrValModelComparator.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(AggregationValModel o1,
AggregationValModel o2) |
void |
setBinNumerical(boolean sortNumerical) |
void |
setSortAscending(boolean ascending) |
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 AggrValModelComparator(boolean sortNumerical, boolean ascending)
sortNumerical
- if numeric sorting enabledascending
- true
if the sections should be sorted in
ascending orderpublic int compare(AggregationValModel o1, AggregationValModel o2)
compare
in interface Comparator<AggregationValModel>
public void setSortAscending(boolean ascending)
ascending
- true
if the sections should be sorted in
ascending orderpublic void setBinNumerical(boolean sortNumerical)
sortNumerical
- true
if the name is a number
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.