Package com.google.ortools.init
Class OrToolsVersion
- java.lang.Object
-
- com.google.ortools.init.OrToolsVersion
-
public class OrToolsVersion extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description OrToolsVersion()protectedOrToolsVersion(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()protected static longgetCPtr(OrToolsVersion obj)static intgetMajorNumber()Returns the major version of OR-Tools.static intgetMinorNumber()Returns the minor version of OR-Tools.static intgetPatchNumber()Returns the patch version of OR-Tools.static java.lang.StringgetVersionString()Returns the string version of OR-Tools.protected static longswigRelease(OrToolsVersion obj)
-
-
-
Method Detail
-
getCPtr
protected static long getCPtr(OrToolsVersion obj)
-
swigRelease
protected static long swigRelease(OrToolsVersion obj)
-
finalize
protected void finalize()
- Overrides:
finalizein classjava.lang.Object
-
delete
public void delete()
-
getMajorNumber
public static int getMajorNumber()
Returns the major version of OR-Tools.
-
getMinorNumber
public static int getMinorNumber()
Returns the minor version of OR-Tools.
-
getPatchNumber
public static int getPatchNumber()
Returns the patch version of OR-Tools.
-
getVersionString
public static java.lang.String getVersionString()
Returns the string version of OR-Tools.
-
-