Serializable
, Comparator<Version>
public static final class Version.VersionComparator extends Object implements Comparator<Version>, Serializable
Constructor | Description |
---|---|
VersionComparator() |
|
VersionComparator(boolean ascending) |
Modifier and Type | Method | Description |
---|---|---|
int |
compare(Version a,
Version b) |
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public VersionComparator()
public VersionComparator(boolean ascending)
public int compare(Version a, Version b)
compare
in interface Comparator<Version>
Copyright © 2002–2019 itracker. All rights reserved.