com.waveset.object
Class RepositoryResult.OrderByComparator

java.lang.Object
  extended bycom.waveset.object.RepositoryResult.OrderByComparator
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
RepositoryResult

public static class RepositoryResult.OrderByComparator
extends java.lang.Object
implements java.util.Comparator

Internal class that implenents the Comparator interface for sorting the rows in the table based on an ordered set of attributes.


Constructor Summary
RepositoryResult.OrderByComparator(Attribute[] orderBy)
           
 
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

RepositoryResult.OrderByComparator

public RepositoryResult.OrderByComparator(Attribute[] orderBy)
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