org.openbp.swing.components.treetable
Class TreeTableNodeComparator

java.lang.Object
  extended by org.openbp.swing.components.treetable.TreeTableNodeComparator
All Implemented Interfaces:
java.util.Comparator

public final class TreeTableNodeComparator
extends java.lang.Object
implements java.util.Comparator

Tree table node comparator. This class is a singleton.

Author:
Heiko Erhardt

Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Conmpares two elements.
static TreeTableNodeComparator getInstance()
          Gets the singleton instance of this class.
 
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
 

Method Detail

getInstance

public static TreeTableNodeComparator getInstance()
Gets the singleton instance of this class.


compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Conmpares two elements.

Specified by:
compare in interface java.util.Comparator


Copyright © 2011. All Rights Reserved.