com.google.ortools.constraintsolver.LongLongToLong Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-or-tools Show documentation
Show all versions of google-or-tools Show documentation
A project to publish Google OR-Tools as a dependable dependency in Maven.
The newest version!
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.10
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.google.ortools.constraintsolver;
public class LongLongToLong {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected LongLongToLong(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(LongLongToLong obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
operations_research_constraint_solverJNI.delete_LongLongToLong(swigCPtr);
}
swigCPtr = 0;
}
}
protected void swigDirectorDisconnect() {
swigCMemOwn = false;
delete();
}
public void swigReleaseOwnership() {
swigCMemOwn = false;
operations_research_constraint_solverJNI.LongLongToLong_change_ownership(this, swigCPtr, false);
}
public void swigTakeOwnership() {
swigCMemOwn = true;
operations_research_constraint_solverJNI.LongLongToLong_change_ownership(this, swigCPtr, true);
}
public long run(long arg0, long arg1) {
return operations_research_constraint_solverJNI.LongLongToLong_run(swigCPtr, this, arg0, arg1);
}
public LongLongToLong() {
this(operations_research_constraint_solverJNI.new_LongLongToLong(), true);
operations_research_constraint_solverJNI.LongLongToLong_director_connect(this, swigCPtr, swigCMemOwn, true);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy