9package com.google.ortools.constraintsolver;
15 private transient long swigCPtr;
24 return (obj ==
null) ? 0 : obj.swigCPtr;
31 throw new RuntimeException(
"Cannot release ownership as memory is not owned");
33 obj.swigCMemOwn =
false;
39 @SuppressWarnings({
"deprecation",
"removal"})
48 mainJNI.delete_RevPartialSequence(swigCPtr);
55 this(mainJNI.new_RevPartialSequence__SWIG_0(items),
true);
59 this(mainJNI.new_RevPartialSequence__SWIG_1(
size),
true);
63 return mainJNI.RevPartialSequence_numFirstRanked(swigCPtr,
this);
67 return mainJNI.RevPartialSequence_numLastRanked(swigCPtr,
this);
71 return mainJNI.RevPartialSequence_size(swigCPtr,
this);
75 mainJNI.RevPartialSequence_rankFirst(swigCPtr,
this,
Solver.
getCPtr(solver), solver, elt);
79 mainJNI.RevPartialSequence_rankLast(swigCPtr,
this,
Solver.
getCPtr(solver), solver, elt);
83 return mainJNI.RevPartialSequence_isRanked(swigCPtr,
this, elt);
87 return mainJNI.RevPartialSequence_toString(swigCPtr,
this);