9 package com.google.ortools.constraintsolver;
15 private transient long swigCPtr;
18 super(mainJNI.SequenceVarElement_SWIGUpcast(cPtr), cMemoryOwn);
23 return (obj ==
null) ? 0 : obj.swigCPtr;
26 @SuppressWarnings(
"deprecation")
27 protected
void finalize() {
31 public synchronized void delete() {
35 mainJNI.delete_SequenceVarElement(swigCPtr);
43 this(mainJNI.new_SequenceVarElement__SWIG_0(),
true);
47 this(mainJNI.new_SequenceVarElement__SWIG_1(
SequenceVar.getCPtr(
var),
var),
true);
55 long cPtr = mainJNI.SequenceVarElement_clone(swigCPtr,
this);
60 mainJNI.SequenceVarElement_copy(swigCPtr,
this,
SequenceVarElement.getCPtr(element), element);
64 long cPtr = mainJNI.SequenceVarElement_var(swigCPtr,
this);
65 return (cPtr == 0) ? null :
new SequenceVar(cPtr,
false);
69 mainJNI.SequenceVarElement_store(swigCPtr,
this);
73 mainJNI.SequenceVarElement_restore(swigCPtr,
this);
77 return mainJNI.SequenceVarElement_forwardSequence(swigCPtr,
this);
81 return mainJNI.SequenceVarElement_backwardSequence(swigCPtr,
this);
85 return mainJNI.SequenceVarElement_unperformed(swigCPtr,
this);
89 mainJNI.SequenceVarElement_setSequence(swigCPtr,
this, forward_sequence, backward_sequence,
unperformed);
93 mainJNI.SequenceVarElement_setForwardSequence(swigCPtr,
this, forward_sequence);
97 mainJNI.SequenceVarElement_setBackwardSequence(swigCPtr,
this, backward_sequence);
101 mainJNI.SequenceVarElement_setUnperformed(swigCPtr,
this,
unperformed);
105 return mainJNI.SequenceVarElement_bound(swigCPtr,
this);
109 return mainJNI.SequenceVarElement_toString(swigCPtr,
this);