Class Version
java.lang.Object
org.opendaylight.ovsdb.lib.notation.Version
- All Implemented Interfaces:
Comparable<Version>
This class represents a version according to RFC 7047.
The default implementation assumes the left-most digit is most significant when performing comparisons.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
NULL
-
NULL_VERSION_STRING
- See Also:
-
-
Constructor Details
-
Version
public Version(int major, int minor, int patch)
-
-
Method Details
-
fromString
-
toString
-
getMajor
public int getMajor() -
getMinor
public int getMinor() -
getPatch
public int getPatch() -
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<Version>
-
createRangeOf
-