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