org.ceryle.wiki.plugin.aggregate
Class ReverseAlphaPageComparator
java.lang.Object
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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReverseAlphaPageComparator
public ReverseAlphaPageComparator()
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.