org.openbp.guiclient.util
Class DisplayObjectComparator

java.lang.Object
  extended by org.openbp.guiclient.util.DisplayObjectComparator
All Implemented Interfaces:
java.util.Comparator

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

Display object comparator. This class is a singleton.

Author:
Heiko Erhardt

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


compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator


Copyright © 2011. All Rights Reserved.