public static interface SemVer.Prerelease.Identifier extends java.lang.Comparable<SemVer.Prerelease.Identifier>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SemVer.Prerelease.AlphanumericIdentifier identifier)
Compare this to an alphanumeric identifier.
|
int |
compareTo(SemVer.Prerelease.NumericIdentifier identifier)
Compare this to a numeric identifier.
|
int compareTo(@NotNull SemVer.Prerelease.NumericIdentifier identifier)
identifier - numeric identifierthis < identifier,this > identifier, and0 if (@code this == identifier}int compareTo(@NotNull SemVer.Prerelease.AlphanumericIdentifier identifier)
identifier - alphanumeric identifierthis < identifier,this > identifier, and0 if (@code this == identifier}