Package com.graphhopper.util
Class Constants
java.lang.Object
com.graphhopper.util.Constants
Defining several important constants for GraphHopper. Partially taken from Lucene.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final GitInfo
Details about the git commit this artifact was built for, can be null (if not built using maven)static final String
static final String
The value ofSystem.getProperty("java.version")
.static final boolean
static final String
static final boolean
True iff running on Linux.static final boolean
True iff running on Mac OS Xstatic final String
static final String
The value ofSystem.getProperty("os.name")
.static final String
static final boolean
static final String
The version without the snapshot stringstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final boolean
True iff running on Windows. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
JAVA_VERSION
The value ofSystem.getProperty("java.version")
. * -
OS_NAME
The value ofSystem.getProperty("os.name")
. * -
LINUX
public static final boolean LINUXTrue iff running on Linux. -
WINDOWS
public static final boolean WINDOWSTrue iff running on Windows. -
MAC_OS_X
public static final boolean MAC_OS_XTrue iff running on Mac OS X -
OS_ARCH
-
OS_VERSION
-
JAVA_VENDOR
-
JVM_SPEC_VERSION
-
JRE_IS_MINIMUM_JAVA9
public static final boolean JRE_IS_MINIMUM_JAVA9 -
VERSION_NODE
public static final int VERSION_NODE- See Also:
-
VERSION_EDGE
public static final int VERSION_EDGE- See Also:
-
VERSION_EM
public static final int VERSION_EM- See Also:
-
VERSION_SHORTCUT
public static final int VERSION_SHORTCUT- See Also:
-
VERSION_NODE_CH
public static final int VERSION_NODE_CH- See Also:
-
VERSION_GEOMETRY
public static final int VERSION_GEOMETRY- See Also:
-
VERSION_TURN_COSTS
public static final int VERSION_TURN_COSTS- See Also:
-
VERSION_LOCATION_IDX
public static final int VERSION_LOCATION_IDX- See Also:
-
VERSION_KV_STORAGE
public static final int VERSION_KV_STORAGE- See Also:
-
VERSION
The version without the snapshot string -
BUILD_DATE
-
GIT_INFO
Details about the git commit this artifact was built for, can be null (if not built using maven) -
SNAPSHOT
public static final boolean SNAPSHOT
-
-
Constructor Details
-
Constants
public Constants()
-
-
Method Details
-
getVersions
-
getMajorVersion
-