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