9 package com.google.ortools.constraintsolver;
15 private transient long swigCPtr;
16 protected transient boolean swigCMemOwn;
18 protected RevBool(
long cPtr,
boolean cMemoryOwn) {
19 swigCMemOwn = cMemoryOwn;
23 protected static long getCPtr(
RevBool obj) {
24 return (obj ==
null) ? 0 : obj.swigCPtr;
27 @SuppressWarnings(
"deprecation")
28 protected
void finalize() {
32 public synchronized void delete() {
36 mainJNI.delete_RevBool(swigCPtr);
43 this(mainJNI.new_RevBool(val),
true);
47 return mainJNI.RevBool_value(swigCPtr,
this);
51 mainJNI.RevBool_setValue(swigCPtr,
this,
Solver.getCPtr(s), s, val);