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_AssignmentIntervalContainer(swigCPtr);
52 this(mainJNI.new_AssignmentIntervalContainer(),
true);
56 long cPtr = mainJNI.AssignmentIntervalContainer_add(swigCPtr,
this,
IntervalVar.
getCPtr(var), var);
64 long cPtr = mainJNI.AssignmentIntervalContainer_fastAdd(swigCPtr,
this,
IntervalVar.
getCPtr(var), var);
73 long cPtr = mainJNI.AssignmentIntervalContainer_addAtPosition(swigCPtr,
this,
IntervalVar.
getCPtr(var), var, position);
78 mainJNI.AssignmentIntervalContainer_clear(swigCPtr,
this);
86 mainJNI.AssignmentIntervalContainer_resize(swigCPtr,
this,
size);
90 return mainJNI.AssignmentIntervalContainer_empty(swigCPtr,
this);
110 return mainJNI.AssignmentIntervalContainer_contains(swigCPtr,
this,
IntervalVar.
getCPtr(var), var);
114 long cPtr = mainJNI.AssignmentIntervalContainer_mutableElement__SWIG_0(swigCPtr,
this,
IntervalVar.
getCPtr(var), var);
123 long cPtr = mainJNI.AssignmentIntervalContainer_mutableElement__SWIG_1(swigCPtr,
this, index);
128 return new IntervalVarElement(mainJNI.AssignmentIntervalContainer_element__SWIG_1(swigCPtr,
this, index),
false);
132 return mainJNI.AssignmentIntervalContainer_size(swigCPtr,
this);
136 mainJNI.AssignmentIntervalContainer_store(swigCPtr,
this);
140 mainJNI.AssignmentIntervalContainer_restore(swigCPtr,
this);
144 return mainJNI.AssignmentIntervalContainer_AreAllElementsBound(swigCPtr,
this);