public static class SemanticVersionChecker.Version extends java.lang.Object implements java.lang.Comparable<SemanticVersionChecker.Version>
| Constructor and Description |
|---|
Version(java.lang.String version)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SemanticVersionChecker.Version version)
Compares this object with the specified object for order.
|
public Version(java.lang.String version)
version - version numberjava.lang.NumberFormatException - if version contains anything else than digits and points (or underscores)public int compareTo(@NotNull SemanticVersionChecker.Version version)
compareTo in interface java.lang.Comparable<SemanticVersionChecker.Version>version - the object to be compared.java.lang.ClassCastException - if the specified object's type prevents it
from being compared to this object.