public class VersionComparator extends Object implements Comparator<String>
| Modifier and Type | Field and Description |
|---|---|
static String |
LOWEST_VERSION |
| Constructor and Description |
|---|
VersionComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(String currentVersion,
String oldVersion) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final String LOWEST_VERSION
public int compare(String currentVersion, String oldVersion)
compare in interface Comparator<String>Copyright © 2017. All rights reserved.