com.waveset.adapter
Class PeopleSoftComponentActiveSyncAdapter.UpdateRowComparator

java.lang.Object
  extended bycom.waveset.adapter.PeopleSoftComponentActiveSyncAdapter.UpdateRowComparator
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
PeopleSoftComponentActiveSyncAdapter

public static class PeopleSoftComponentActiveSyncAdapter.UpdateRowComparator
extends java.lang.Object
implements java.util.Comparator

Internal class that implements the Comparator interface for sorting the UpdateRow elements in a list by a named attribute


Constructor Summary
PeopleSoftComponentActiveSyncAdapter.UpdateRowComparator(java.lang.String keyName)
          Pass in the key to sort on.
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 boolean equals(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PeopleSoftComponentActiveSyncAdapter.UpdateRowComparator

public PeopleSoftComponentActiveSyncAdapter.UpdateRowComparator(java.lang.String keyName)
Pass in the key to sort on.

Method Detail

compare

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

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface java.util.Comparator