Package com.complexible.common.version
Class Version
- java.lang.Object
-
- com.complexible.common.version.Version
-
-
Constructor Summary
Constructors Constructor Description Version(java.lang.String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Version o)
boolean
equals(java.lang.Object o)
int
getMajor()
int
getMinor()
int
getPatch()
int
hashCode()
void
setExtra(java.lang.String theExtra)
void
setMajor(int theMajor)
void
setMinor(int theMinor)
void
setPatch(int thePatch)
java.lang.String
toString()
-
-
-
Method Detail
-
getMajor
public int getMajor()
-
getMinor
public int getMinor()
-
getPatch
public int getPatch()
-
setMajor
public void setMajor(int theMajor)
-
setMinor
public void setMinor(int theMinor)
-
setPatch
public void setPatch(int thePatch)
-
setExtra
public void setExtra(java.lang.String theExtra)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-