public static final class SemVer.Suffix extends Object implements Comparable<SemVer.Suffix>
Modifier and Type | Field and Description |
---|---|
static SemVer.Suffix |
ALPHA |
static SemVer.Suffix |
BETA |
static SemVer.Suffix |
DELTA |
static SemVer.Suffix |
GAMMA |
static SemVer.Suffix |
SNAPSHOT |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(@NonNull SemVer.Suffix o) |
boolean |
equals(Object o) |
String |
getText() |
int |
getWeight() |
int |
hashCode() |
static SemVer.Suffix |
of(String text) |
String |
toString() |
public static final SemVer.Suffix SNAPSHOT
public static final SemVer.Suffix ALPHA
public static final SemVer.Suffix BETA
public static final SemVer.Suffix GAMMA
public static final SemVer.Suffix DELTA
public Suffix(int weight, String text)
public int getWeight()
public String getText()
public int compareTo(@NonNull SemVer.Suffix o)
compareTo
in interface Comparable<SemVer.Suffix>
public static SemVer.Suffix of(String text)