public class Version extends java.lang.Object implements java.lang.Comparable<Version>
Modifier and Type | Field and Description |
---|---|
protected static int |
allowedVersionLevels |
protected int[] |
subversions |
protected java.lang.String |
versionString |
Constructor and Description |
---|
Version(java.lang.String versionID)
Create a Version object, setting sub version levels based on the given
version id.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Version anotherVersion)
Compare this Version object to another.
|
int |
getSubversion(int level) |
java.lang.String |
getVersionString() |
protected static int allowedVersionLevels
protected int[] subversions
protected java.lang.String versionString
public Version(java.lang.String versionID)
versionID
- public int compareTo(Version anotherVersion)
compareTo
in interface java.lang.Comparable<Version>
anotherVersion
- public int getSubversion(int level)
public java.lang.String getVersionString()
Copyright © 2020 Regents of the University of California. All Rights Reserved.