Constructor and Description |
---|
Version(int major,
int minor,
int bugfix) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Integer major) |
int |
compareTo(java.lang.Integer major,
java.lang.Integer minor) |
int |
compareTo(java.lang.Integer major,
java.lang.Integer minor,
java.lang.Integer bugfix) |
int |
compareTo(Version version) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
is(java.lang.Integer major) |
boolean |
is(java.lang.Integer major,
java.lang.Integer minor) |
boolean |
is(java.lang.Integer major,
java.lang.Integer minor,
java.lang.Integer bugfix) |
boolean |
isOrGreaterThan(java.lang.Integer major) |
boolean |
isOrGreaterThan(java.lang.Integer major,
java.lang.Integer minor) |
boolean |
isOrGreaterThan(java.lang.Integer major,
java.lang.Integer minor,
java.lang.Integer bugfix) |
boolean |
lessThan(java.lang.Integer major) |
boolean |
lessThan(java.lang.Integer major,
java.lang.Integer minor) |
boolean |
lessThan(java.lang.Integer major,
java.lang.Integer minor,
java.lang.Integer bugfix) |
static Version |
parseVersion(java.lang.String versionString) |
java.lang.String |
toCompactString() |
static java.lang.String |
toCompactString(int major,
int minor,
int bugfix) |
java.lang.String |
toString() |
public final int major
public final int minor
public final int bugfix
public static Version parseVersion(java.lang.String versionString)
public boolean is(java.lang.Integer major)
public boolean is(java.lang.Integer major, java.lang.Integer minor)
public boolean is(java.lang.Integer major, java.lang.Integer minor, java.lang.Integer bugfix)
public boolean isOrGreaterThan(java.lang.Integer major)
public boolean isOrGreaterThan(java.lang.Integer major, java.lang.Integer minor)
public boolean isOrGreaterThan(java.lang.Integer major, java.lang.Integer minor, java.lang.Integer bugfix)
public boolean lessThan(java.lang.Integer major)
public boolean lessThan(java.lang.Integer major, java.lang.Integer minor)
public boolean lessThan(java.lang.Integer major, java.lang.Integer minor, java.lang.Integer bugfix)
public int compareTo(Version version)
compareTo
in interface java.lang.Comparable<Version>
public int compareTo(java.lang.Integer major)
public int compareTo(java.lang.Integer major, java.lang.Integer minor)
public int compareTo(java.lang.Integer major, java.lang.Integer minor, java.lang.Integer bugfix)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toCompactString()
public static java.lang.String toCompactString(int major, int minor, int bugfix)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object