Package io.anyline2.core
Class Version
- java.lang.Object
-
- io.anyline2.core.Version
-
public class Version extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Version other)
void
delete()
int
getMajor()
int
getMinor()
int
getPatch()
java.lang.String
getSuffix()
int
getSuffixIteration()
boolean
isDefinite()
boolean
isUndefined()
void
setMajor(int value)
void
setMinor(int value)
void
setPatch(int value)
void
setSuffix(java.lang.String value)
void
toDefinite()
java.lang.String
toString()
-
-
-
Method Detail
-
delete
public void delete()
-
setMajor
public void setMajor(int value)
-
getMajor
public int getMajor()
-
setMinor
public void setMinor(int value)
-
getMinor
public int getMinor()
-
setPatch
public void setPatch(int value)
-
getPatch
public int getPatch()
-
setSuffix
public void setSuffix(java.lang.String value)
-
getSuffix
public java.lang.String getSuffix()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
compare
public int compare(Version other)
-
getSuffixIteration
public int getSuffixIteration()
-
toDefinite
public void toDefinite()
-
isDefinite
public boolean isDefinite()
-
isUndefined
public boolean isUndefined()
-
-