9 package com.google.ortools.constraintsolver;
12 private transient long swigCPtr;
14 protected BaseLns(
long cPtr,
boolean cMemoryOwn) {
15 super(mainJNI.BaseLns_SWIGUpcast(cPtr), cMemoryOwn);
20 return (obj ==
null) ? 0 : obj.swigCPtr;
23 @SuppressWarnings(
"deprecation")
28 public synchronized void delete() {
32 mainJNI.delete_BaseLns(swigCPtr);
46 mainJNI.BaseLns_change_ownership(
this, swigCPtr,
false);
51 mainJNI.BaseLns_change_ownership(
this, swigCPtr,
true);
55 this(mainJNI.new_BaseLns(vars),
true);
56 mainJNI.BaseLns_director_connect(
this, swigCPtr,
true,
true);
60 if (getClass() ==
BaseLns.class) mainJNI.BaseLns_initFragments(swigCPtr,
this);
else mainJNI.BaseLns_initFragmentsSwigExplicitBaseLns(swigCPtr,
this);
64 return mainJNI.BaseLns_nextFragment(swigCPtr,
this);
68 mainJNI.BaseLns_appendToFragment(swigCPtr,
this, index);
72 return mainJNI.BaseLns_fragmentSize(swigCPtr,
this);
76 return (getClass() ==
BaseLns.class) ? mainJNI.BaseLns_HasFragments(swigCPtr,
this) : mainJNI.BaseLns_HasFragmentsSwigExplicitBaseLns(swigCPtr,
this);