Package cern.colt
Class Version
java.lang.Object
cern.colt.Version
Information about the current release.
Use this class to distinguish releases and base runtime decisions upon.
Versions are of the form Major.Minor.Micro.Build, e.g. 1.0.0.52
You can most easily display version info by running java cern.colt.Version.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
asString()
Returns all version information as string.static String
Returns the time this release was build; for example "Tue Apr 11 11:50:39 CEST 2000".static int
Returns the build version of this release.static int
Returns the major version of this release.static int
Returns the micro version of this release.static int
Returns the minor version of this release.private static Package
static void
Prints asString on System.out.private static int[]
numbers()
Returns the major version of this release; for example version 1.2.3 returns 1.
-
Constructor Details
-
Version
private Version()Not yet commented.
-
-
Method Details
-
asString
Returns all version information as string. -
getBuildTime
Returns the time this release was build; for example "Tue Apr 11 11:50:39 CEST 2000". -
getBuildVersion
public static int getBuildVersion()Returns the build version of this release. -
getMajorVersion
public static int getMajorVersion()Returns the major version of this release. -
getMicroVersion
public static int getMicroVersion()Returns the micro version of this release. -
getMinorVersion
public static int getMinorVersion()Returns the minor version of this release. -
getPackage
-
main
Prints asString on System.out.- Parameters:
args
- ignored.
-
numbers
private static int[] numbers()Returns the major version of this release; for example version 1.2.3 returns 1.
-