public class ReleaseIdComparator extends Object implements Comparator<ReleaseId>
Modifier and Type | Class and Description |
---|---|
static class |
ReleaseIdComparator.ComparableVersion |
static class |
ReleaseIdComparator.SortDirection |
Constructor and Description |
---|
ReleaseIdComparator() |
ReleaseIdComparator(ReleaseIdComparator.SortDirection sortDirection) |
Modifier and Type | Method and Description |
---|---|
int |
compare(ReleaseId o1,
ReleaseId o2) |
static ReleaseId |
getEarliest(List<ReleaseId> releaseIds) |
static ReleaseId |
getLatest(List<ReleaseId> releaseIds) |
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 ReleaseIdComparator()
public ReleaseIdComparator(ReleaseIdComparator.SortDirection sortDirection)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.