9package com.google.ortools.util;
19 private transient long swigCPtr;
28 return (obj ==
null) ? 0 : obj.swigCPtr;
35 throw new RuntimeException(
"Cannot release ownership as memory is not owned");
37 obj.swigCMemOwn =
false;
43 @SuppressWarnings({
"deprecation",
"removal"})
52 mainJNI.delete_SortedDisjointIntervalList(swigCPtr);
59 this(mainJNI.new_SortedDisjointIntervalList__SWIG_0(),
true);
68 this(mainJNI.new_SortedDisjointIntervalList__SWIG_1(starts, ends),
true);
72 this(mainJNI.new_SortedDisjointIntervalList__SWIG_2(starts, ends),
true);
79 return new SortedDisjointIntervalList(mainJNI.SortedDisjointIntervalList_buildComplementOnInterval(swigCPtr,
this, start, end),
true);
89 mainJNI.SortedDisjointIntervalList_insertIntervals__SWIG_0(swigCPtr,
this, starts, ends);
93 mainJNI.SortedDisjointIntervalList_insertIntervals__SWIG_1(swigCPtr,
this, starts, ends);
100 return mainJNI.SortedDisjointIntervalList_numIntervals(swigCPtr,
this);
104 return mainJNI.SortedDisjointIntervalList_toString(swigCPtr,
this);
108 mainJNI.SortedDisjointIntervalList_insertInterval(swigCPtr,
this, start, end);