9package com.google.ortools.constraintsolver;
19 private transient long swigCPtr;
28 return (obj ==
null) ? 0 : obj.swigCPtr;
35 throw new RuntimeException(
"Cannot release ownership as memory is not owned");
37 obj.swigCMemOwn =
false;
43 @SuppressWarnings({
"deprecation",
"removal"})
52 mainJNI.delete_RevInteger(swigCPtr);
59 this(mainJNI.new_RevInteger(val),
true);
63 return mainJNI.RevInteger_value(swigCPtr,
this);
67 mainJNI.RevInteger_setValue(swigCPtr,
this,
Solver.
getCPtr(s), s, val);