com.atlassian.jira.plugin.util
Class ModuleDescriptorComparator

java.lang.Object
  extended by com.atlassian.jira.plugin.util.ModuleDescriptorComparator
All Implemented Interfaces:
Comparator

public class ModuleDescriptorComparator
extends Object
implements Comparator

Compares Module Descriptors that implement OrderableModuleDescriptor


Field Summary
static ModuleDescriptorComparator COMPARATOR
           
 
Constructor Summary
ModuleDescriptorComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
           
 int newCompare(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
 

Field Detail

COMPARATOR

public static final ModuleDescriptorComparator COMPARATOR
Constructor Detail

ModuleDescriptorComparator

public ModuleDescriptorComparator()
Method Detail

compare

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

newCompare

public int newCompare(Object o1,
                      Object o2)


Copyright © 2002-2008 Atlassian. All Rights Reserved.