Package io.anyline2.legacy
Class Version
- java.lang.Object
-
- io.anyline2.legacy.Version
-
public class Version extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getMajor()
java.lang.String
getMinor()
java.lang.String
getPatch()
int
hashCode()
void
setMajor(java.lang.String major)
void
setMinor(java.lang.String minor)
void
setPatch(java.lang.String patch)
java.lang.String
toString()
-
-
-
Field Detail
-
EMPTY
public static Version EMPTY
-
-
Method Detail
-
toString
@NonNull public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(@Nullable java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getMajor
public java.lang.String getMajor()
-
setMajor
public void setMajor(java.lang.String major)
-
getMinor
public java.lang.String getMinor()
-
setMinor
public void setMinor(java.lang.String minor)
-
getPatch
public java.lang.String getPatch()
-
setPatch
public void setPatch(java.lang.String patch)
-
-