ontopoly.utils
Class IdentityComparator

java.lang.Object
  extended by ontopoly.utils.IdentityComparator
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator<java.lang.Object>

public class IdentityComparator
extends java.lang.Object
implements java.util.Comparator<java.lang.Object>, java.io.Serializable

See Also:
Serialized Form

Field Summary
static IdentityComparator INSTANCE
           
 
Constructor Summary
IdentityComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object 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
 

Field Detail

INSTANCE

public static final IdentityComparator INSTANCE
Constructor Detail

IdentityComparator

public IdentityComparator()
Method Detail

compare

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


Copyright © 2000-2012 Ontopia.