9package com.google.ortools.constraintsolver;
 
   23  private transient long swigCPtr;
 
   25  public Demon(
long cPtr, 
boolean cMemoryOwn) {
 
   26    super(mainJNI.Demon_SWIGUpcast(cPtr), cMemoryOwn);
 
 
   31    return (obj == 
null) ? 0 : obj.swigCPtr;
 
 
   38        throw new RuntimeException(
"Cannot release ownership as memory is not owned");
 
   40      obj.swigCMemOwn = 
false;
 
 
   46  @SuppressWarnings({
"deprecation", 
"removal"})
 
   55        mainJNI.delete_Demon(swigCPtr);
 
 
   75    return mainJNI.Demon_priority(swigCPtr, 
this);
 
 
   79    return mainJNI.Demon_toString(swigCPtr, 
this);
 
 
   94    mainJNI.Demon_desinhibit(swigCPtr, 
this, 
Solver.
getCPtr(s), s);