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
Modifier and Type | Field and Description |
---|---|
static Comparator<Priority> |
PRIORITY_OBJECT_COMPARATOR
A
Comparator that orders Priority objects by
their configured sequence. |
Modifier and Type | Method and Description |
---|---|
int |
compare(Priority priority,
Priority priority1) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final Comparator<Priority> PRIORITY_OBJECT_COMPARATOR
Comparator
that orders Priority
objects by
their configured sequence.public int compare(Priority priority, Priority priority1)
compare
in interface Comparator<Priority>
Copyright © 2002-2024 Atlassian. All Rights Reserved.