Package org.nuiton.version
Class Version.NumberVersionComponant
- java.lang.Object
-
- org.nuiton.version.Version.NumberVersionComponant
-
- All Implemented Interfaces:
Serializable
,Comparable<Version.NumberVersionComponant>
,Version.VersionComponant<Integer,Version.NumberVersionComponant>
- Enclosing class:
- Version
public static class Version.NumberVersionComponant extends Object implements Version.VersionComponant<Integer,Version.NumberVersionComponant>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NumberVersionComponant(Integer value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Version.NumberVersionComponant o)
boolean
equals(Object o)
Integer
getValue()
int
hashCode()
-
-
-
Field Detail
-
value
protected final Integer value
-
-
Constructor Detail
-
NumberVersionComponant
public NumberVersionComponant(Integer value)
-
-
Method Detail
-
getValue
public Integer getValue()
- Specified by:
getValue
in interfaceVersion.VersionComponant<Integer,Version.NumberVersionComponant>
-
compareTo
public int compareTo(Version.NumberVersionComponant o)
- Specified by:
compareTo
in interfaceComparable<Version.NumberVersionComponant>
-
-