9 package com.google.ortools.constraintsolver;
12 private transient long swigCPtr;
15 super(mainJNI.SolutionPool_SWIGUpcast(cPtr), cMemoryOwn);
20 return (obj ==
null) ? 0 : obj.swigCPtr;
23 @SuppressWarnings(
"deprecation")
24 protected
void finalize() {
28 public synchronized void delete() {
32 mainJNI.delete_SolutionPool(swigCPtr);
40 mainJNI.SolutionPool_initialize(swigCPtr,
this,
Assignment.getCPtr(assignment), assignment);
44 mainJNI.SolutionPool_registerNewSolution(swigCPtr,
this,
Assignment.getCPtr(assignment), assignment);
48 mainJNI.SolutionPool_getNextSolution(swigCPtr,
this,
Assignment.getCPtr(assignment), assignment);
52 return mainJNI.SolutionPool_syncNeeded(swigCPtr,
this,
Assignment.getCPtr(local_assignment), local_assignment);