@PublicApi public class ProjectComponentComparator extends Object implements Comparator<ProjectComponent>
Modifier and Type | Field and Description |
---|---|
static Comparator<String> |
COMPONENT_NAME_COMPARATOR |
static ProjectComponentComparator |
INSTANCE
Compares two ProjectComponents, grouping them by project and then
by case-insensitive component name.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(ProjectComponent projectComponent1,
ProjectComponent projectComponent2) |
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 ProjectComponentComparator INSTANCE
public static final Comparator<String> COMPONENT_NAME_COMPARATOR
public int compare(ProjectComponent projectComponent1, ProjectComponent projectComponent2)
compare
in interface Comparator<ProjectComponent>
Copyright © 2002-2021 Atlassian. All Rights Reserved.