Go to the documentation of this file.
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);
19 protected static long getCPtr(
Demon obj) {
20 return (obj ==
null) ? 0 : obj.swigCPtr;
23 @SuppressWarnings(
"deprecation")
24 protected
void finalize() {
28 public synchronized void delete() {
32 mainJNI.delete_Demon(swigCPtr);
40 mainJNI.Demon_run(swigCPtr,
this,
Solver.getCPtr(s), s);
44 return mainJNI.Demon_priority(swigCPtr,
this);
48 return mainJNI.Demon_toString(swigCPtr,
this);
52 mainJNI.Demon_inhibit(swigCPtr,
this,
Solver.getCPtr(s), s);
56 mainJNI.Demon_desinhibit(swigCPtr,
this,
Solver.getCPtr(s), s);