com.atlassian.jira.util
Class NameComparator
java.lang.Object
com.atlassian.jira.util.NameComparator
- All Implemented Interfaces:
- Comparator<Named>
public class NameComparator
- extends Object
- implements 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPARATOR
public static final Comparator<Named> COMPARATOR
NameComparator
public NameComparator()
compare
public int compare(Named o1,
Named o2)
- Specified by:
compare
in interface Comparator<Named>
Copyright © 2002-2013 Atlassian. All Rights Reserved.