com.waveset.adapter
Class DominoResourceAdapter.UpdateRowComparator

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

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

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


Constructor Summary
DominoResourceAdapter.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

DominoResourceAdapter.UpdateRowComparator

public DominoResourceAdapter.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