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 and Description |
|---|---|
default void |
checkPreconditions()
Check preconditions for the type.
|
default int |
compareTo(CVersionType o) |
int |
major() |
int |
minor() |
int |
patch() |
String |
qualifier() |
default String |
toVersionString() |
default <A> A |
versionAccept(CVersionVisitorType<A> v)
Accept a generic visitor.
|
default <A> A versionAccept(CVersionVisitorType<A> v) throws Exception
CVersionTypeversionAccept in interface CVersionTypeA - The type of returned valuesv - The visitorException - If the visitor raises Exceptiondefault void checkPreconditions()
default int compareTo(CVersionType o)
compareTo in interface Comparable<CVersionType>int major()
int minor()
int patch()
String qualifier()
default String toVersionString()
toVersionString in interface CVersionTypeCopyright © 2016 <code@io7m.com> http://io7m.com