9package com.google.ortools.constraintsolver;
12 private transient long swigCPtr;
21 return (obj ==
null) ? 0 : obj.swigCPtr;
28 throw new RuntimeException(
"Cannot release ownership as memory is not owned");
30 obj.swigCMemOwn =
false;
36 @SuppressWarnings({
"deprecation",
"removal"})
45 mainJNI.delete_AssignmentIntContainer(swigCPtr);
52 this(mainJNI.new_AssignmentIntContainer(),
true);
56 long cPtr = mainJNI.AssignmentIntContainer_add(swigCPtr,
this,
IntVar.
getCPtr(var), var);
64 long cPtr = mainJNI.AssignmentIntContainer_fastAdd(swigCPtr,
this,
IntVar.
getCPtr(var), var);
73 long cPtr = mainJNI.AssignmentIntContainer_addAtPosition(swigCPtr,
this,
IntVar.
getCPtr(var), var, position);
78 mainJNI.AssignmentIntContainer_clear(swigCPtr,
this);
86 mainJNI.AssignmentIntContainer_resize(swigCPtr,
this,
size);
90 return mainJNI.AssignmentIntContainer_empty(swigCPtr,
this);
110 return mainJNI.AssignmentIntContainer_contains(swigCPtr,
this,
IntVar.
getCPtr(var), var);
114 long cPtr = mainJNI.AssignmentIntContainer_mutableElement__SWIG_0(swigCPtr,
this,
IntVar.
getCPtr(var), var);
123 long cPtr = mainJNI.AssignmentIntContainer_mutableElement__SWIG_1(swigCPtr,
this, index);
128 return new IntVarElement(mainJNI.AssignmentIntContainer_element__SWIG_1(swigCPtr,
this, index),
false);
132 return mainJNI.AssignmentIntContainer_size(swigCPtr,
this);
136 mainJNI.AssignmentIntContainer_store(swigCPtr,
this);
140 mainJNI.AssignmentIntContainer_restore(swigCPtr,
this);
144 return mainJNI.AssignmentIntContainer_AreAllElementsBound(swigCPtr,
this);