com.atlassian.confluence.util
Class SpaceComparator

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

public class SpaceComparator
extends java.lang.Object
implements java.util.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 java.util.Comparator<Space>


Copyright © 2003-2014 Atlassian. All Rights Reserved.