public class Version extends Object implements Comparable<Version>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Version ver) |
boolean |
equals(Object o) |
int |
getBuild_major() |
int |
getBuild_minor() |
int |
getMajor() |
int |
getMinor() |
int |
getRevision() |
String |
getShortVersion() |
String |
getVersion(boolean showSnapshot) |
int |
hashCode() |
boolean |
isSnapshot() |
String |
toString() |
static Version |
version(String version) |
public Version(String version)
public int getMajor()
public int getMinor()
public int getRevision()
public int getBuild_major()
public int getBuild_minor()
public boolean isSnapshot()
public String getShortVersion()
public String getVersion(boolean showSnapshot)
public int compareTo(Version ver)
compareTo in interface Comparable<Version>Copyright © 2021. All rights reserved.