public class JTSVersion extends Object
Versions consist of a 3-part version number: major.minor.patch
An optional release status string may be present in the string version of
the version.
Modifier and Type | Field and Description |
---|---|
static JTSVersion |
CURRENT_VERSION
The current version number of the JTS API.
|
static int |
MAJOR
The major version number.
|
static int |
MINOR
The minor version number.
|
static int |
PATCH
The patch version number.
|
Modifier and Type | Method and Description |
---|---|
int |
getMajor()
Gets the major number of the release version.
|
int |
getMinor()
Gets the minor number of the release version.
|
int |
getPatch()
Gets the patch number of the release version.
|
static void |
main(String[] args)
Prints the current JTS version to stdout.
|
String |
toString()
Gets the full version number, suitable for display.
|
public static final JTSVersion CURRENT_VERSION
public static final int MAJOR
public static final int MINOR
public static final int PATCH
public static void main(String[] args)
args
- the command-line arguments (none are required).public int getMajor()
public int getMinor()
public int getPatch()
Copyright © 2022. All rights reserved.