9package com.google.ortools.constraintsolver;
12 private transient long swigCPtr;
21 return (obj ==
null) ? 0 : obj.swigCPtr;
28 throw new RuntimeException(
"Cannot release ownership as memory is not owned");
30 obj.swigCMemOwn =
false;
36 @SuppressWarnings({
"deprecation",
"removal"})
45 mainJNI.delete_PathsMetadata(swigCPtr);
56 return mainJNI.PathsMetadata_IsStart(swigCPtr,
this, node);
59 public boolean IsEnd(
long node) {
60 return mainJNI.PathsMetadata_IsEnd(swigCPtr,
this, node);
63 public int GetPath(
long start_or_end_node) {
64 return mainJNI.PathsMetadata_GetPath(swigCPtr,
this, start_or_end_node);
68 return mainJNI.PathsMetadata_NumPaths(swigCPtr,
this);
72 return mainJNI.PathsMetadata_Paths(swigCPtr,
this);
76 return mainJNI.PathsMetadata_Starts(swigCPtr,
this);
80 return mainJNI.PathsMetadata_Ends(swigCPtr,
this);