java.lang.Object
dev.qilletni.api.lib.qll.Version
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the version string of theVersion, such as1.0.0.inthashCode()intmajor()Gets the major version of theVersion.intminor()Gets the minor version of theVersion.parseVersionString(String versionString) Parses aVersionfrom a string, such as1.0.0.intpatch()Gets the patch version of theVersion.toString()
-
Constructor Details
-
Version
public Version(int major, int minor, int patch) Creates a newVersionwith the given major, minor, and patch versions.- Parameters:
major- The major versionminor- The minor versionpatch- The patch version
-
-
Method Details
-
parseVersionString
-
major
-
minor
-
patch
-
getVersionString
-
equals
-
hashCode
-
toString
-