com.atlassian.jira.issue.comparator
Class PriorityObjectComparator
java.lang.Object
com.atlassian.jira.issue.comparator.PriorityObjectComparator
- All Implemented Interfaces:
- Comparator<Priority>
public class PriorityObjectComparator
- extends Object
- implements Comparator<Priority>
Comparator
for Priority
based on sequence.
See also PriorityComparator
which is for
priority GenericValues
.
Priority Sequences are from highest priority to lowest
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRIORITY_OBJECT_COMPARATOR
public static final Comparator<Priority> PRIORITY_OBJECT_COMPARATOR
- A
Comparator
that orders Priority
objects by
their configured sequence.
compare
public int compare(Priority priority,
Priority priority1)
- Specified by:
compare
in interface Comparator<Priority>
Copyright © 2002-2011 Atlassian. All Rights Reserved.