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_AssignmentSequenceContainer(swigCPtr);
52 this(mainJNI.new_AssignmentSequenceContainer(),
true);
56 long cPtr = mainJNI.AssignmentSequenceContainer_add(swigCPtr,
this,
SequenceVar.
getCPtr(var), var);
64 long cPtr = mainJNI.AssignmentSequenceContainer_fastAdd(swigCPtr,
this,
SequenceVar.
getCPtr(var), var);
73 long cPtr = mainJNI.AssignmentSequenceContainer_addAtPosition(swigCPtr,
this,
SequenceVar.
getCPtr(var), var, position);
78 mainJNI.AssignmentSequenceContainer_clear(swigCPtr,
this);
86 mainJNI.AssignmentSequenceContainer_resize(swigCPtr,
this,
size);
90 return mainJNI.AssignmentSequenceContainer_empty(swigCPtr,
this);
110 return mainJNI.AssignmentSequenceContainer_contains(swigCPtr,
this,
SequenceVar.
getCPtr(var), var);
114 long cPtr = mainJNI.AssignmentSequenceContainer_mutableElement__SWIG_0(swigCPtr,
this,
SequenceVar.
getCPtr(var), var);
123 long cPtr = mainJNI.AssignmentSequenceContainer_mutableElement__SWIG_1(swigCPtr,
this, index);
128 return new SequenceVarElement(mainJNI.AssignmentSequenceContainer_element__SWIG_1(swigCPtr,
this, index),
false);
132 return mainJNI.AssignmentSequenceContainer_size(swigCPtr,
this);
136 mainJNI.AssignmentSequenceContainer_store(swigCPtr,
this);
140 mainJNI.AssignmentSequenceContainer_restore(swigCPtr,
this);
144 return mainJNI.AssignmentSequenceContainer_AreAllElementsBound(swigCPtr,
this);