public class ComparableVersion extends Object implements Comparable<ComparableVersion>
Modifier and Type | Field and Description |
---|---|
static String |
SNAPSHOT_SUFFIX |
Constructor and Description |
---|
ComparableVersion(String version) |
Modifier and Type | Method and Description |
---|---|
static Optional<ComparableVersion> |
buildComparableVersion(String version) |
int |
compareTo(ComparableVersion otherVersion) |
boolean |
equals(Object o) |
ArrayList<Integer> |
getItems() |
String |
getOriginal() |
int |
hashCode() |
boolean |
isSnapshot() |
String |
toString() |
public static final String SNAPSHOT_SUFFIX
public ComparableVersion(String version)
public static Optional<ComparableVersion> buildComparableVersion(String version)
public int compareTo(ComparableVersion otherVersion)
compareTo
in interface Comparable<ComparableVersion>
otherVersion
- public String getOriginal()
public boolean isSnapshot()
Copyright © 2016–2024. All rights reserved.