Package com.atlassian.jira.util
Class NameComparator
java.lang.Object
com.atlassian.jira.util.NameComparator
- All Implemented Interfaces:
Comparator<Named>
Comparison function that sorts based on the name of a
Named
object.
That is, it sorts based on the value of the getName()
method.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
COMPARATOR
-
-
Constructor Details
-
NameComparator
public NameComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Named>
-