Package org.nuiton.version
Class Version.StringVersionComponant
- java.lang.Object
-
- org.nuiton.version.Version.StringVersionComponant
-
- All Implemented Interfaces:
Serializable,Comparable<Version.StringVersionComponant>,Version.VersionComponant<String,Version.StringVersionComponant>
- Enclosing class:
- Version
public static class Version.StringVersionComponant extends Object implements Version.VersionComponant<String,Version.StringVersionComponant>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringlowerCaseValueprotected booleanpreReleaseprotected Stringvalue
-
Constructor Summary
Constructors Constructor Description StringVersionComponant(boolean preRelease, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Version.StringVersionComponant o)booleanequals(Object o)StringgetValue()inthashCode()booleanisPreRelease()
-
-
-
Constructor Detail
-
StringVersionComponant
public StringVersionComponant(boolean preRelease, String value)
-
-
Method Detail
-
getValue
public String getValue()
- Specified by:
getValuein interfaceVersion.VersionComponant<String,Version.StringVersionComponant>
-
isPreRelease
public boolean isPreRelease()
-
compareTo
public int compareTo(Version.StringVersionComponant o)
- Specified by:
compareToin interfaceComparable<Version.StringVersionComponant>
-
-