com.vodafone360.people.engine.contactsync
Class NativeImporter.NCCComparator

java.lang.Object
  extended by com.vodafone360.people.engine.contactsync.NativeImporter.NCCComparator
All Implemented Interfaces:
java.util.Comparator<ContactChange>
Enclosing class:
NativeImporter

private static class NativeImporter.NCCComparator
extends java.lang.Object
implements java.util.Comparator<ContactChange>

Native ContactChange Comparator class. This class compares ContactChange and tells which one is greater depending on the key and then the native detail id.


Constructor Summary
private NativeImporter.NCCComparator()
           
 
Method Summary
 int compare(ContactChange change1, ContactChange change2)
           
 
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

NativeImporter.NCCComparator

private NativeImporter.NCCComparator()
Method Detail

compare

public int compare(ContactChange change1,
                   ContactChange change2)
Specified by:
compare in interface java.util.Comparator<ContactChange>


JavaDoc