com.atlassian.confluence.util
Class SpaceComparator

java.lang.Object
  extended bycom.atlassian.confluence.util.SpaceComparator
All Implemented Interfaces:
Comparator

public class SpaceComparator
extends Object
implements Comparator

Order spaces by name, or by key if the names are the same.


Constructor Summary
SpaceComparator()
           
 
Method Summary
 int compare(Object o1, Object 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

SpaceComparator

public SpaceComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator


Confluence is developed by Atlassian.