Java Reference

Java Reference

RoutingModelVisitor.java
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 4.0.2
4  *
5  * Do not make changes to this file unless you know what you are doing--modify
6  * the SWIG interface file instead.
7  * ----------------------------------------------------------------------------- */
8 
9 package com.google.ortools.constraintsolver;
10 
11 public class RoutingModelVisitor extends BaseObject {
12  private transient long swigCPtr;
13 
14  protected RoutingModelVisitor(long cPtr, boolean cMemoryOwn) {
15  super(mainJNI.RoutingModelVisitor_SWIGUpcast(cPtr), cMemoryOwn);
16  swigCPtr = cPtr;
17  }
18 
19  protected static long getCPtr(RoutingModelVisitor obj) {
20  return (obj == null) ? 0 : obj.swigCPtr;
21  }
22 
23  @SuppressWarnings("deprecation")
24  protected void finalize() {
25  delete();
26  }
27 
28  public synchronized void delete() {
29  if (swigCPtr != 0) {
30  if (swigCMemOwn) {
31  swigCMemOwn = false;
32  mainJNI.delete_RoutingModelVisitor(swigCPtr);
33  }
34  swigCPtr = 0;
35  }
36  super.delete();
37  }
38 
39  public static String getKLightElement() {
40  return mainJNI.RoutingModelVisitor_kLightElement_get();
41  }
42 
43  public static String getKLightElement2() {
44  return mainJNI.RoutingModelVisitor_kLightElement2_get();
45  }
46 
47  public static String getKRemoveValues() {
48  return mainJNI.RoutingModelVisitor_kRemoveValues_get();
49  }
50 
52  this(mainJNI.new_RoutingModelVisitor(), true);
53  }
54 
55 }
static String getKLightElement()
static String getKRemoveValues()
RoutingModelVisitor(long cPtr, boolean cMemoryOwn)
static String getKLightElement2()
Definition: BaseObject.java:11
RoutingModelVisitor()