com.atlassian.jira.plugin.report
Class ReportModuleDescriptorComparators

java.lang.Object
  extended by com.atlassian.jira.plugin.report.ReportModuleDescriptorComparators

public class ReportModuleDescriptorComparators
extends Object

Comparators for ReportModuleDescriptor.

Since:
6.0.7

Method Summary
static Comparator<ReportModuleDescriptor> byName()
          Returns a comparator that can be used to sort ReportModuleDescriptor instances by name (case insensitive) using the default locale.
static Comparator<ReportModuleDescriptor> byName(Locale locale)
          Returns a comparator that can be used to sort ReportModuleDescriptor instances by name (case insensitive) using the given locale.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

byName

public static Comparator<ReportModuleDescriptor> byName()
Returns a comparator that can be used to sort ReportModuleDescriptor instances by name (case insensitive) using the default locale.

Returns:
a Comparator
Since:
6.0.7

byName

public static Comparator<ReportModuleDescriptor> byName(@Nullable
                                                        Locale locale)
Returns a comparator that can be used to sort ReportModuleDescriptor instances by name (case insensitive) using the given locale.

Parameters:
locale - a Locale to use for sorting, or null to use the default Locale
Returns:
a Comparator
Since:
6.0.7


Copyright © 2002-2014 Atlassian. All Rights Reserved.