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;
27 public synchronized void delete() {
31 mainJNI.delete_SequenceVarElement(swigCPtr);
39 this(mainJNI.new_SequenceVarElement__SWIG_0(),
true);
51 long cPtr = mainJNI.SequenceVarElement_clone(swigCPtr,
this);
60 long cPtr = mainJNI.SequenceVarElement_var(swigCPtr,
this);
61 return (cPtr == 0) ? null :
new SequenceVar(cPtr,
false);
65 mainJNI.SequenceVarElement_store(swigCPtr,
this);
69 mainJNI.SequenceVarElement_restore(swigCPtr,
this);
73 return mainJNI.SequenceVarElement_forwardSequence(swigCPtr,
this);
77 return mainJNI.SequenceVarElement_backwardSequence(swigCPtr,
this);
81 return mainJNI.SequenceVarElement_unperformed(swigCPtr,
this);
85 mainJNI.SequenceVarElement_setSequence(swigCPtr,
this, forward_sequence, backward_sequence,
unperformed);
89 mainJNI.SequenceVarElement_setForwardSequence(swigCPtr,
this, forward_sequence);
93 mainJNI.SequenceVarElement_setBackwardSequence(swigCPtr,
this, backward_sequence);
97 mainJNI.SequenceVarElement_setUnperformed(swigCPtr,
this,
unperformed);
101 return mainJNI.SequenceVarElement_bound(swigCPtr,
this);
105 return mainJNI.SequenceVarElement_toString(swigCPtr,
this);