9 package com.google.ortools.constraintsolver;
12 private transient long swigCPtr;
15 super(mainJNI.ChangeValue_SWIGUpcast(cPtr), cMemoryOwn);
20 return (obj ==
null) ? 0 : obj.swigCPtr;
23 @SuppressWarnings(
"deprecation")
24 protected
void finalize() {
28 public synchronized void delete() {
32 mainJNI.delete_ChangeValue(swigCPtr);
46 mainJNI.ChangeValue_change_ownership(
this, swigCPtr,
false);
51 mainJNI.ChangeValue_change_ownership(
this, swigCPtr,
true);
55 this(mainJNI.new_ChangeValue(vars),
true);
56 mainJNI.ChangeValue_director_connect(
this, swigCPtr,
true,
true);
60 return mainJNI.ChangeValue_modifyValue(swigCPtr,
this, index,
value);
64 return (getClass() ==
ChangeValue.class) ? mainJNI.ChangeValue_oneNeighbor(swigCPtr,
this) : mainJNI.ChangeValue_oneNeighborSwigExplicitChangeValue(swigCPtr,
this);