9 package com.google.ortools.constraintsolver;
12 private transient long swigCPtr;
15 super(mainJNI.SequenceVarElement_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_SequenceVarElement(swigCPtr);
40 this(mainJNI.new_SequenceVarElement__SWIG_0(),
true);
44 this(mainJNI.new_SequenceVarElement__SWIG_1(
SequenceVar.getCPtr(
var),
var),
true);
52 long cPtr = mainJNI.SequenceVarElement_clone(swigCPtr,
this);
57 mainJNI.SequenceVarElement_copy(swigCPtr,
this,
SequenceVarElement.getCPtr(element), element);
61 long cPtr = mainJNI.SequenceVarElement_var(swigCPtr,
this);
62 return (cPtr == 0) ? null :
new SequenceVar(cPtr,
false);
66 mainJNI.SequenceVarElement_store(swigCPtr,
this);
70 mainJNI.SequenceVarElement_restore(swigCPtr,
this);
74 return mainJNI.SequenceVarElement_forwardSequence(swigCPtr,
this);
78 return mainJNI.SequenceVarElement_backwardSequence(swigCPtr,
this);
82 return mainJNI.SequenceVarElement_unperformed(swigCPtr,
this);
86 mainJNI.SequenceVarElement_setSequence(swigCPtr,
this, forward_sequence, backward_sequence,
unperformed);
90 mainJNI.SequenceVarElement_setForwardSequence(swigCPtr,
this, forward_sequence);
94 mainJNI.SequenceVarElement_setBackwardSequence(swigCPtr,
this, backward_sequence);
98 mainJNI.SequenceVarElement_setUnperformed(swigCPtr,
this,
unperformed);
102 return mainJNI.SequenceVarElement_bound(swigCPtr,
this);
106 return mainJNI.SequenceVarElement_toString(swigCPtr,
this);