9package com.google.ortools.constraintsolver;
26 private transient long swigCPtr;
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_BoundCost(swigCPtr);
66 mainJNI.BoundCost_bound_set(swigCPtr,
this, value);
70 return mainJNI.BoundCost_bound_get(swigCPtr,
this);
74 mainJNI.BoundCost_cost_set(swigCPtr,
this, value);
78 return mainJNI.BoundCost_cost_get(swigCPtr,
this);
82 this(mainJNI.new_BoundCost__SWIG_0(),
true);
86 this(mainJNI.new_BoundCost__SWIG_1(bound, cost),
true);