public class

LocaleSensitiveProjectComponentNameComparator

extends Object
implements Comparator<T>
java.lang.Object
   ↳ com.atlassian.jira.bc.project.component.LocaleSensitiveProjectComponentNameComparator

Class Overview

Comparator for ProjectComponent objects that only compares the names, does not take into account the project id in the components, uses the constructed locale to correctly sort component names taking into account i18n strings.

Summary

Public Constructors
LocaleSensitiveProjectComponentNameComparator(Locale locale)
Public Methods
int compare(ProjectComponent projectComponent1, ProjectComponent projectComponent2)
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.Comparator

Public Constructors

public LocaleSensitiveProjectComponentNameComparator (Locale locale)

Public Methods

public int compare (ProjectComponent projectComponent1, ProjectComponent projectComponent2)