| Type Params | Return Type | Name and description |
|---|---|---|
|
static boolean |
isNewVersionGreaterThanCurrentVersion(java.lang.String currentVersion, java.lang.String newVersion)Compares two versions to find out if the newVersion is greater than the current one. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Compares two versions to find out if the newVersion is greater than the current one.
currentVersion - - the current version of the application, not nullnewVersion - - the new version, not null