com.atlassian.jira.plugin.util
Class ModuleDescriptorComparator

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

public class ModuleDescriptorComparator
extends Object
implements Comparator<OrderableModuleDescriptor>

Compares Module Descriptors that implement OrderableModuleDescriptor


Field Summary
static ModuleDescriptorComparator COMPARATOR
           
 
Constructor Summary
ModuleDescriptorComparator()
           
 
Method Summary
 int compare(OrderableModuleDescriptor descriptor1, OrderableModuleDescriptor descriptor2)
           
 
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(OrderableModuleDescriptor descriptor1,
                   OrderableModuleDescriptor descriptor2)
Specified by:
compare in interface Comparator<OrderableModuleDescriptor>


Copyright © 2002-2012 Atlassian. All Rights Reserved.