org.ceryle.wiki.plugin.aggregate
Class ReverseAlphaPageComparator

java.lang.Object
  extended by org.ceryle.wiki.plugin.aggregate.ReverseAlphaPageComparator
All Implemented Interfaces:
Comparator

public class ReverseAlphaPageComparator
extends Object
implements Comparator

Comparator for two WikiPages that does the comparison based on the page name to get a reverse alphabetical sort. E.g. Zzzz, Bbbb, Aaaa...

Author:
John Volkar (john.volkar at gmail.com)

Constructor Summary
ReverseAlphaPageComparator()
           
 
Method Summary
 int compare(Object arg0, Object arg1)
           
 
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

ReverseAlphaPageComparator

public ReverseAlphaPageComparator()
Method Detail

compare

public int compare(Object arg0,
                   Object arg1)
Specified by:
compare in interface Comparator
See Also:
Comparator.compare(java.lang.Object, java.lang.Object)


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.