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 String
lowerCaseValue
protected boolean
preRelease
protected String
value
-
Constructor Summary
Constructors Constructor Description StringVersionComponant(boolean preRelease, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Version.StringVersionComponant o)
boolean
equals(Object o)
String
getValue()
int
hashCode()
boolean
isPreRelease()
-
-
-
Constructor Detail
-
StringVersionComponant
public StringVersionComponant(boolean preRelease, String value)
-
-
Method Detail
-
getValue
public String getValue()
- Specified by:
getValue
in interfaceVersion.VersionComponant<String,Version.StringVersionComponant>
-
isPreRelease
public boolean isPreRelease()
-
compareTo
public int compareTo(Version.StringVersionComponant o)
- Specified by:
compareTo
in interfaceComparable<Version.StringVersionComponant>
-
-