public class Version extends Object
Constructor and Description |
---|
Version(int major,
int minor,
int revision) |
Version(String version) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object version) |
static String |
format(String version) |
int |
getMajor() |
int |
getMinor() |
int |
getRevision() |
boolean |
greaterThan(String version) |
boolean |
greaterThan(Version version) |
boolean |
greaterThanOrEqual(String version) |
boolean |
greaterThanOrEqual(Version version) |
int |
hashCode() |
String |
toString() |
public Version(int major, int minor, int revision)
public Version(String version)
public int getMajor()
public int getMinor()
public int getRevision()
public boolean greaterThan(String version)
public boolean greaterThanOrEqual(String version)
public boolean greaterThan(Version version)
public boolean greaterThanOrEqual(Version version)
Copyright © 2014–2018. All rights reserved.