9package com.google.ortools.constraintsolver;
12import com.google.ortools.constraintsolver.Constraint;
57 private transient long swigCPtr;
60 super(mainJNI.TypeRegulationsConstraint_SWIGUpcast(cPtr), cMemoryOwn);
65 return (obj ==
null) ? 0 : obj.swigCPtr;
72 throw new RuntimeException(
"Cannot release ownership as memory is not owned");
74 obj.swigCMemOwn =
false;
80 @SuppressWarnings({
"deprecation",
"removal"})
89 mainJNI.delete_TypeRegulationsConstraint(swigCPtr);
101 mainJNI.TypeRegulationsConstraint_post(swigCPtr,
this);
105 mainJNI.TypeRegulationsConstraint_initialPropagate(swigCPtr,
this);