public class SystemUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static int |
getJavaMajorVersion()
Parses the "java.version" system property and returns the first digit of
the version number of the Java Runtime Environment (e.g.
|
static int |
getJavaMinorVersion()
Parses the "java.version" system property and returns the second digit of
the version number of the Java Runtime Environment (e.g.
|
static int |
getJavaUpdateVersion()
Parses the "java.version" system property and returns the update release
number of the Java Runtime Environment (e.g.
|
static int |
hashCode(java.lang.Object... objects)
Computes the hash code of a set of objects.
|
public static int getJavaMajorVersion()
public static int getJavaMinorVersion()
public static int getJavaUpdateVersion()
public static int hashCode(java.lang.Object... objects)
objects
- the objects to compute the hashCodeCopyright © 2005-2012. All Rights Reserved.