public class Version extends Object implements Comparable<Version>, Serializable
Constructor and Description |
---|
Version() |
Version(int major,
int minor) |
Version(int major2,
int minor2,
int build2) |
Version(int major2,
int minor2,
int build2,
Integer revision2) |
Version(String value) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Version other) |
boolean |
equals(Object obj) |
int |
getBuild() |
int |
getMajor() |
int |
getMinor() |
int |
getRevision() |
String |
getValue() |
int |
hashCode() |
static boolean |
OpEquality(Version v1,
Version v2) |
static boolean |
OpInequality(Version v1,
Version v2) |
void |
setValue(String value) |
String |
toString() |
String |
toString(int i) |
public Version(String value)
public Version()
public Version(int major, int minor)
public Version(int major2, int minor2, int build2)
public Version(int major2, int minor2, int build2, Integer revision2)
public String getValue()
public void setValue(String value)
public String toString(int i)
public int compareTo(Version other)
compareTo
in interface Comparable<Version>
public int getMajor()
public int getMinor()
public int getBuild()
public int getRevision()
Copyright © 2012. All Rights Reserved.