public class Version extends Object implements Comparable<Version>
Modifier and Type | Field and Description |
---|---|
static Version |
NULL |
static String |
NULL_VERSION_STRING |
Constructor and Description |
---|
Version(int major,
int minor,
int patch) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Version version) |
boolean |
equals(Object object) |
static Version |
fromString(String version) |
int |
getMajor() |
int |
getMinor() |
int |
getPatch() |
int |
hashCode() |
void |
setMajor(int major) |
void |
setMinor(int minor) |
void |
setPatch(int patch) |
String |
toString() |
public static final Version NULL
public static final String NULL_VERSION_STRING
public int getMajor()
public void setMajor(int major)
public int getMinor()
public void setMinor(int minor)
public int getPatch()
public void setPatch(int patch)
public int compareTo(Version version)
compareTo
in interface Comparable<Version>
Copyright © 2018 OpenDaylight. All rights reserved.