Package com.thecoderscorner.menu.persist
Class VersionInfo
java.lang.Object
com.thecoderscorner.menu.persist.VersionInfo
This class represents a version number in standard form, such as 1.2.3, it can parse from text and determine which
is the newer of two versions.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic VersionInfofromString(String sel) intgetMajor()intgetMinor()intgetPatch()inthashCode()booleanisSameOrNewerThan(VersionInfo other) toString()
-
Field Details
-
ERROR_VERSION
-
-
Constructor Details
-
VersionInfo
public VersionInfo(int major, int minor) -
VersionInfo
-
-
Method Details