public class JTSVersion
extends java.lang.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 | 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 | 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(java.lang.String[] args) |
Prints the current JTS version to stdout.
|
java.lang.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(java.lang.String[] args)
args
- the command-line arguments (none are required).public int getMajor()
public int getMinor()
public int getPatch()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018. All rights reserved.