public static class UpdateCheckResults.VersionComparator
extends java.lang.Object
implements java.util.Comparator<java.lang.String>
VersionComparator
compares strings that represent dotted
version numbers (e.g. "1.1.2"). These string are compared using
the ordering laid out in the Specification
Versioning section of the Java Production Versioning Guide.Constructor and Description |
---|
VersionComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.String string1,
java.lang.String string2) |