| Modifier and Type | Method and Description |
|---|---|
int |
getMajor()
The major version number.
|
int |
getMinor()
The minor version number.
|
int[] |
getVersion()
The version numbers.
|
int |
getVersionNumber(int i)
Returns the version number at the specified position in the
array. |
boolean |
isAtLeast(int... version) |
int getMajor()
int getMinor()
int[] getVersion()
int getVersionNumber(int i)
array. If the specified index greater or equal to
the length of the array, this method will return a 0 (zero).i - The index.boolean isAtLeast(int... version)
version - The versionCopyright ? Technia AB. All Rights Reserved.