9 package com.google.ortools.constraintsolver;
15 private transient long swigCPtr;
18 super(mainJNI.ChangeValue_SWIGUpcast(cPtr), cMemoryOwn);
23 return (obj ==
null) ? 0 : obj.swigCPtr;
26 @SuppressWarnings(
"deprecation")
27 protected
void finalize() {
31 public synchronized void delete() {
35 mainJNI.delete_ChangeValue(swigCPtr);
49 mainJNI.ChangeValue_change_ownership(
this, swigCPtr,
false);
54 mainJNI.ChangeValue_change_ownership(
this, swigCPtr,
true);
58 this(mainJNI.new_ChangeValue(vars),
true);
59 mainJNI.ChangeValue_director_connect(
this, swigCPtr,
true,
true);
63 return mainJNI.ChangeValue_modifyValue(swigCPtr,
this, index,
value);
70 return (getClass() ==
ChangeValue.class) ? mainJNI.ChangeValue_oneNeighbor(swigCPtr,
this) : mainJNI.ChangeValue_oneNeighborSwigExplicitChangeValue(swigCPtr,
this);