Package | Description |
---|---|
com.mgnt.utils | |
com.mgnt.utils.textutils |
Modifier and Type | Method and Description |
---|---|
static int |
TextUtils.compareVersions(java.lang.String ver1,
Version ver2)
This method compares a String that represents a version to a Version
|
static int |
TextUtils.compareVersions(Version ver1,
java.lang.String ver2)
This method compares a Version to a String that represents a version
|
static int |
TextUtils.compareVersions(Version ver1,
Version ver2)
This method compares two Version instances
|
Modifier and Type | Method and Description |
---|---|
Version |
VersionRange.getFromVersion() |
Version |
VersionRange.getToVersion() |
Modifier and Type | Method and Description |
---|---|
int |
VersionComparator.compare(Version ver1,
Version ver2) |
int |
Version.compareTo(Version otherVersion) |
boolean |
VersionRange.isAboveRange(Version ver)
Checks if the ver is above the range
|
boolean |
VersionRange.isBellowRange(Version ver)
Checks if the ver is below the range
|
boolean |
VersionRange.isInRange(Version ver)
This method checks if the version falls within range.
|
Constructor and Description |
---|
VersionRange(java.lang.String fromVersion,
Version toVersion)
This constructor constructs the Range with its lower and upper limits.
|
VersionRange(Version ver)
This constructor creates the Range with the same lower and upper limits
|
VersionRange(Version fromVersion,
java.lang.String toVersion)
This constructor constructs the Range with its lower and upper limits.
|
VersionRange(Version fromVersion,
Version toVersion)
This constructor constructs the Range with its lower and upper limits
|