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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final String LOWEST_VERSION
public int compare(String currentVersion, String oldVersion)
compare
in interface Comparator<String>
Copyright © 2019 TIBCO Software Inc.. All rights reserved.