public class Version extends Object implements Comparable<Version>
| Constructor and Description |
|---|
Version() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Version other) |
int |
getMinor() |
int |
getPatch() |
int |
getQualifierVersion() |
boolean |
hasQualifier() |
boolean |
isReleaseCandidate() |
boolean |
isSnapshot() |
Version |
next() |
Version |
nextMajor() |
static Version |
parse(String version) |
static Version |
parse(org.osgi.framework.Version osgiVersion) |
Version |
prev() |
static Version |
random() |
String |
toString() |
static Version |
zero() |
public int getMinor()
public int getPatch()
public int getQualifierVersion()
public boolean hasQualifier()
public boolean isSnapshot()
public boolean isReleaseCandidate()
public Version next()
public Version prev()
public Version nextMajor()
public static Version parse(org.osgi.framework.Version osgiVersion)
public static Version random()
public static Version zero()
public int compareTo(Version other)
compareTo in interface Comparable<Version>Copyright © 2024 Suncode. All rights reserved.