java.lang.Comparable<CVersionType>, CVersionTypeCVersionStandard@Immutable public interface CVersionStandardType extends CVersionType
The type of standard version numbers of the form M.N.P-S, where
M is the major version, N is the minor version, P is
the patch number, and S is an arbitrary qualifier string.
| Modifier and Type | Method | Description |
|---|---|---|
default void |
checkPreconditions() |
Check preconditions for the type.
|
default int |
compareTo(CVersionType o) |
|
int |
major() |
|
int |
minor() |
|
int |
patch() |
|
java.lang.String |
qualifier() |
|
default java.lang.String |
toVersionString() |
|
default <A> A |
versionAccept(CVersionVisitorType<A> v) |
Accept a generic visitor.
|
default <A> A versionAccept(CVersionVisitorType<A> v) throws java.lang.Exception
CVersionTypeversionAccept in interface CVersionTypeA - The type of returned valuesv - The visitorjava.lang.Exception - If the visitor raises Exception@Check default void checkPreconditions()
default int compareTo(CVersionType o)
compareTo in interface java.lang.Comparable<CVersionType>@Parameter int major()
@Parameter int minor()
@Parameter int patch()
@Parameter java.lang.String qualifier()
default java.lang.String toVersionString()
toVersionString in interface CVersionTypeCopyright © 2017 <code@io7m.com> http://io7m.com