com.jtri.base
Class OuterEqual

java.lang.Object
  extended bycom.jtri.base.OuterEqual
All Implemented Interfaces:
java.util.Comparator

public class OuterEqual
extends java.lang.Object
implements java.util.Comparator

This comparator checks if two objects are the same by comparison of each property that exists in both objects.

Author:
atorres

Field Summary
static OuterEqual instance
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
static OuterEqual getInstance()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

instance

public static OuterEqual instance
Method Detail

getInstance

public static OuterEqual getInstance()

compare

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