ccc.domain.sorting
Class AscendingIndexComparator

java.lang.Object
  extended by ccc.domain.sorting.AscendingIndexComparator
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator<ResourceEntity>

public final class AscendingIndexComparator
extends java.lang.Object
implements java.io.Serializable, java.util.Comparator<ResourceEntity>

Sort Resources in Ascending, Alphanumeric order, based on name.

Author:
Civic Computing Ltd.
See Also:
Serialized Form

Constructor Summary
AscendingIndexComparator()
           
 
Method Summary
 int compare(ResourceEntity o1, ResourceEntity o2)
          
 
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

AscendingIndexComparator

public AscendingIndexComparator()
Method Detail

compare

public int compare(ResourceEntity o1,
                   ResourceEntity o2)

Specified by:
compare in interface java.util.Comparator<ResourceEntity>


Copyright © 2010. All Rights Reserved.