com.atlassian.confluence.util
Class SpaceComparator

java.lang.Object
  extended by com.atlassian.confluence.util.SpaceComparator
All Implemented Interfaces:
Comparator<Space>

public class SpaceComparator
extends Object
implements Comparator<Space>

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


Constructor Summary
SpaceComparator()
           
 
Method Summary
 int compare(Space space1, Space space2)
           
 
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(Space space1,
                   Space space2)
Specified by:
compare in interface Comparator<Space>


Copyright © 2003-2012 Atlassian. All Rights Reserved.