Package org.basex.util
Class Version
java.lang.Object
org.basex.util.Version
- All Implemented Interfaces:
Comparable<Version>
Version according to the SemVer syntax.
- Author:
- BaseX Team 2005-21, BSD License, Rositsa Shadura
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Version
Constructor.- Parameters:
version- according to semantic versioning
-
Version
public Version(byte[] version) Constructor.- Parameters:
version- according to semantic versioning
-
-
Method Details
-
isCompatible
Checks if this version is compatible with the given version template.- Parameters:
ver- version template- Returns:
- result
-
compareTo
- Specified by:
compareToin interfaceComparable<Version>
-
equals
-
hashCode
public int hashCode() -
toString
-