com.vodafone360.people.datatypes
Class Identity.IdentityComparator

java.lang.Object
  extended by com.vodafone360.people.datatypes.Identity.IdentityComparator
All Implemented Interfaces:
java.util.Comparator<Identity>
Enclosing class:
Identity

public static class Identity.IdentityComparator
extends java.lang.Object
implements java.util.Comparator<Identity>

Comparator class used to compare Identities retrieved from server to remove duplicates from list passed to People client UI.


Constructor Summary
Identity.IdentityComparator()
           
 
Method Summary
 int compare(Identity object1, Identity object2)
           
 
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

Identity.IdentityComparator

public Identity.IdentityComparator()
Method Detail

compare

public int compare(Identity object1,
                   Identity object2)
Specified by:
compare in interface java.util.Comparator<Identity>


JavaDoc