Go to the documentation of this file.
9 package com.google.ortools.constraintsolver;
12 private transient long swigCPtr;
13 protected transient boolean swigCMemOwn;
15 protected RevBool(
long cPtr,
boolean cMemoryOwn) {
16 swigCMemOwn = cMemoryOwn;
20 protected static long getCPtr(
RevBool obj) {
21 return (obj ==
null) ? 0 : obj.swigCPtr;
24 @SuppressWarnings(
"deprecation")
25 protected
void finalize() {
29 public synchronized void delete() {
33 mainJNI.delete_RevBool(swigCPtr);
40 this(mainJNI.new_RevBool(val),
true);
44 return mainJNI.RevBool_value(swigCPtr,
this);
48 mainJNI.RevBool_setValue(swigCPtr,
this,
Solver.getCPtr(s), s, val);