public class Version extends Object implements Comparable<Version>
| Modifier and Type | Method and Description |
|---|---|
static int |
compare(Version verA,
Version verB)
Compare two versions
|
int |
compareTo(Version that) |
boolean |
equals(Object that) |
static boolean |
equals(Version verA,
Version verB)
Check if a version is the same
|
String |
getTag()
Get the tag, eg.
|
int |
hashCode() |
String |
toString() |
public Version(String value)
public static int compare(Version verA, Version verB)
verA - The first versionverB - The secondpublic static boolean equals(Version verA, Version verB)
verA - The firstverB - The secondpublic int compareTo(Version that)
compareTo in interface Comparable<Version>public String getTag()
Copyright © 2016–2021. All rights reserved.