@StableMinor(version="12.1", sinceVersion="7.1") public interface IVersion extends Comparable<IVersion>, Serializable
"."
to compose the string
representation.comparable
with other version accordingly
to the following definition:X
is greater than a version Y
if:
getMajor()
is greater than Y.getMajor()
getMajor()
is equal to Y.getMajor()
and X.
getMinor()
is greater than Y.getMinor()
getMajor()
is equal to Y.getMajor()
and X.
getMinor()
is equal to Y.getMinor()
and X.
getRelease()
is greater than Y.getRelease()
getMajor()
is equal to Y.getMajor()
and X.
getMinor()
is equal to Y.getMinor()
and X.
getRelease()
is equal to Y.getRelease()
and X.
getBuild()
is greater than Y.getBuild()
X
is equal to a version Y
if X.getMajor()
is equal to Y.getMajor()
and X.getMinor()
is equal to Y.
getMinor()
and X.getRelease()
is equal to Y.
getRelease()
. and X. getBuild()
is equal to Y.
getBuild()
X
is less than a version Y
if X is not greater than
nor equal to Y.Modifier and Type | Method and Description |
---|---|
int |
getBuild()
Returns the build version number.
|
int |
getMajor()
Returns the major version number.
|
int |
getMinor()
Returns the minor version number.
|
int |
getRelease()
Returns the release version number.
|
String |
toString()
Returns the string representation of this version.
|
compareTo
int getMajor()
int getMinor()
int getRelease()
int getBuild()
String toString()
getMajor()
+ "." + getMinor()
+ "."
+ getRelease()
+ "." + getBuild()
.LumisXP 12.1.0.191010 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.