9 package com.google.ortools.constraintsolver;
15 private transient long swigCPtr;
18 super(mainJNI.SolutionPool_SWIGUpcast(cPtr), cMemoryOwn);
23 return (obj ==
null) ? 0 : obj.swigCPtr;
26 @SuppressWarnings(
"deprecation")
27 protected
void finalize() {
31 public synchronized void delete() {
35 mainJNI.delete_SolutionPool(swigCPtr);
46 mainJNI.SolutionPool_initialize(swigCPtr,
this,
Assignment.getCPtr(assignment), assignment);
53 mainJNI.SolutionPool_registerNewSolution(swigCPtr,
this,
Assignment.getCPtr(assignment), assignment);
60 mainJNI.SolutionPool_getNextSolution(swigCPtr,
this,
Assignment.getCPtr(assignment), assignment);
67 return mainJNI.SolutionPool_syncNeeded(swigCPtr,
this,
Assignment.getCPtr(local_assignment), local_assignment);