public class Version extends Object implements IVersion
Constructor and Description |
---|
Version(int major,
int minor,
int release,
int build) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IVersion o) |
static Version |
fromString(String raw) |
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.
|
public int compareTo(IVersion o)
compareTo
in interface Comparable<IVersion>
public int getMajor()
IVersion
public int getMinor()
IVersion
public int getRelease()
IVersion
getRelease
in interface IVersion
public int getBuild()
IVersion
public String toString()
IVersion
IVersion.getMajor()
+ "." + IVersion.getMinor()
+ "."
+ IVersion.getRelease()
+ "." + IVersion.getBuild()
.LumisXP 12.1.0.191010 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.