public class VersionStringComparator extends Object implements Comparator<String>
Comparing different schemas e.g. "r10e-rc4" vs "4.2.2" is undefined.
Constructor and Description |
---|
VersionStringComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(String a,
String b) |
static boolean |
isValidVersionString(String str) |
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