Go to the documentation of this file.
9 package com.google.ortools.constraintsolver;
17 private transient long swigCPtr;
18 protected transient boolean swigCMemOwn;
21 swigCMemOwn = cMemoryOwn;
25 protected static long getCPtr(
BaseObject obj) {
26 return (obj ==
null) ? 0 : obj.swigCPtr;
29 @SuppressWarnings(
"deprecation")
30 protected
void finalize() {
34 public synchronized void delete() {
38 mainJNI.delete_BaseObject(swigCPtr);
45 this(mainJNI.new_BaseObject(),
true);
49 return mainJNI.BaseObject_toString(swigCPtr,
this);