9 package com.google.ortools.constraintsolver;
12 private transient long swigCPtr;
13 protected transient boolean swigCMemOwn;
16 swigCMemOwn = cMemoryOwn;
20 protected static long getCPtr(
BaseObject obj) {
21 return (obj ==
null) ? 0 : obj.swigCPtr;
24 @SuppressWarnings(
"deprecation")
25 protected
void finalize() {
29 public synchronized void delete() {
33 mainJNI.delete_BaseObject(swigCPtr);
40 this(mainJNI.new_BaseObject(),
true);
44 return mainJNI.BaseObject_toString(swigCPtr,
this);