org.knime.base.node.viz.aggregation.util
Class AggrValModelComparator
java.lang.Object
org.knime.base.node.viz.aggregation.util.AggrValModelComparator
- All Implemented Interfaces:
- Comparator<AggregationValModel>
public class AggrValModelComparator
- extends Object
- implements Comparator<AggregationValModel>
- Author:
- Tobias Koetter, University of Konstanz
Constructor Summary |
AggrValModelComparator(boolean sortNumerical,
boolean ascending)
Constructor for class AggrValModelComparator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggrValModelComparator
public AggrValModelComparator(boolean sortNumerical,
boolean ascending)
- Constructor for class AggrValModelComparator.
- Parameters:
sortNumerical
- if numeric sorting enabledascending
- true
if the sections should be sorted in
ascending order
compare
public int compare(AggregationValModel o1,
AggregationValModel o2)
-
- Specified by:
compare
in interface Comparator<AggregationValModel>
setSortAscending
public void setSortAscending(boolean ascending)
- Parameters:
ascending
- true
if the sections should be sorted in
ascending order
setBinNumerical
public void setBinNumerical(boolean sortNumerical)
- Parameters:
sortNumerical
- true
if the name is a number
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
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.