org.knime.base.node.viz.crosstable
Class CrosstabProperties.PropertyComparator

java.lang.Object
  extended by org.knime.base.node.viz.crosstable.CrosstabProperties.PropertyComparator
All Implemented Interfaces:
Comparator<String>
Enclosing class:
CrosstabProperties

 class CrosstabProperties.PropertyComparator
extends Object
implements Comparator<String>

Compare to properties by their weights or by the lexical order if the weights are equal.

Author:
Heiko Hofer

Constructor Summary
CrosstabProperties.PropertyComparator()
           
 
Method Summary
 int compare(String o1, String o2)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

CrosstabProperties.PropertyComparator

CrosstabProperties.PropertyComparator()
Method Detail

compare

public int compare(String o1,
                   String o2)

Specified by:
compare in interface Comparator<String>


Copyright, 2003 - 2012. 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.