9package com.google.ortools.constraintsolver;
19 private transient long swigCPtr;
22 protected RevLong(
long cPtr,
boolean cMemoryOwn) {
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_RevLong(swigCPtr);
59 this(mainJNI.new_RevLong(val),
true);
63 return mainJNI.RevLong_value(swigCPtr,
this);
67 mainJNI.RevLong_setValue(swigCPtr,
this,
Solver.
getCPtr(s), s, val);