9package com.google.ortools.constraintsolver;
27 private transient long swigCPtr;
30 super(mainJNI.SequenceVarElement_SWIGUpcast(cPtr), cMemoryOwn);
35 return (obj ==
null) ? 0 : obj.swigCPtr;
42 throw new RuntimeException(
"Cannot release ownership as memory is not owned");
44 obj.swigCMemOwn =
false;
50 @SuppressWarnings({
"deprecation",
"removal"})
59 mainJNI.delete_SequenceVarElement(swigCPtr);
67 this(mainJNI.new_SequenceVarElement__SWIG_0(),
true);
79 long cPtr = mainJNI.SequenceVarElement_clone(swigCPtr,
this);
88 long cPtr = mainJNI.SequenceVarElement_var(swigCPtr,
this);
89 return (cPtr == 0) ? null :
new SequenceVar(cPtr,
false);
93 mainJNI.SequenceVarElement_store(swigCPtr,
this);
97 mainJNI.SequenceVarElement_restore(swigCPtr,
this);
101 return mainJNI.SequenceVarElement_forwardSequence(swigCPtr,
this);
105 return mainJNI.SequenceVarElement_backwardSequence(swigCPtr,
this);
109 return mainJNI.SequenceVarElement_unperformed(swigCPtr,
this);
113 mainJNI.SequenceVarElement_setSequence(swigCPtr,
this, forward_sequence, backward_sequence,
unperformed);
117 mainJNI.SequenceVarElement_setForwardSequence(swigCPtr,
this, forward_sequence);
121 mainJNI.SequenceVarElement_setBackwardSequence(swigCPtr,
this, backward_sequence);
125 mainJNI.SequenceVarElement_setUnperformed(swigCPtr,
this,
unperformed);
129 return mainJNI.SequenceVarElement_bound(swigCPtr,
this);
133 return mainJNI.SequenceVarElement_toString(swigCPtr,
this);