public class VersionStringComparator extends Object implements Comparator<String>
Modifier and Type | Field and Description |
---|---|
private LexicographicComparator<Integer> |
lxc |
private static String |
SEPARATOR_PATTERN |
Constructor and Description |
---|
VersionStringComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(String arg0,
String arg1) |
private static Integer |
parseInt(String s) |
private static Integer[] |
parseVersionString(String s) |
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
private static final String SEPARATOR_PATTERN
private final LexicographicComparator<Integer> lxc