public class JiraWorkflowComparator extends Object implements Comparator<JiraWorkflow>
Modifier and Type | Field and Description |
---|---|
static Comparator<JiraWorkflow> |
COMPARATOR |
Constructor and Description |
---|
JiraWorkflowComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(JiraWorkflow workflow1,
JiraWorkflow workflow2)
The natural order of JiraWorkflow objects should be:
1) All instances of DefaultJiraWorkflow (sorted alphabetically ignoring case); followed by
2) all other instances of JiraWorkflow (also sorted alphabetically ignoring case).
|
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<JiraWorkflow> COMPARATOR
public int compare(JiraWorkflow workflow1, JiraWorkflow workflow2)
compare
in interface Comparator<JiraWorkflow>
Copyright © 2002-2016 Atlassian. All Rights Reserved.