9package com.google.ortools.constraintsolver;
 
   19  private transient long swigCPtr;
 
   22  public RevBool(
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_RevBool(swigCPtr);
 
 
   59    this(mainJNI.new_RevBool(val), 
true);
 
 
   63    return mainJNI.RevBool_value(swigCPtr, 
this);
 
 
   67    mainJNI.RevBool_setValue(swigCPtr, 
this, 
Solver.
getCPtr(s), s, val);