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;
27 public synchronized void delete() {
31 mainJNI.delete_BaseLns(swigCPtr);
45 mainJNI.BaseLns_change_ownership(
this, swigCPtr,
false);
50 mainJNI.BaseLns_change_ownership(
this, swigCPtr,
true);
54 this(mainJNI.new_BaseLns(vars),
true);
55 mainJNI.BaseLns_director_connect(
this, swigCPtr,
swigCMemOwn,
true);
59 if (getClass() ==
BaseLns.class) mainJNI.BaseLns_initFragments(swigCPtr,
this);
else mainJNI.BaseLns_initFragmentsSwigExplicitBaseLns(swigCPtr,
this);
63 return mainJNI.BaseLns_nextFragment(swigCPtr,
this);
67 mainJNI.BaseLns_appendToFragment(swigCPtr,
this, index);
71 return mainJNI.BaseLns_fragmentSize(swigCPtr,
this);
75 return (getClass() ==
BaseLns.class) ? mainJNI.BaseLns_HasFragments(swigCPtr,
this) : mainJNI.BaseLns_HasFragmentsSwigExplicitBaseLns(swigCPtr,
this);