9 package com.google.ortools.constraintsolver;
12 private transient long swigCPtr;
14 protected Demon(
long cPtr,
boolean cMemoryOwn) {
15 super(mainJNI.Demon_SWIGUpcast(cPtr), cMemoryOwn);
20 return (obj ==
null) ? 0 : obj.swigCPtr;
23 @SuppressWarnings(
"deprecation")
28 public synchronized void delete() {
32 mainJNI.delete_Demon(swigCPtr);
44 return mainJNI.Demon_priority(swigCPtr,
this);
48 return mainJNI.Demon_toString(swigCPtr,
this);
56 mainJNI.Demon_desinhibit(swigCPtr,
this,
Solver.
getCPtr(s), s);