9 package com.google.ortools.constraintsolver;
12 private transient long swigCPtr;
21 return (obj ==
null) ? 0 : obj.swigCPtr;
28 public synchronized void delete() {
32 mainJNI.delete_IntTupleSet(swigCPtr);
39 this(mainJNI.new_IntTupleSet__SWIG_0(
arity),
true);
47 mainJNI.IntTupleSet_clear(swigCPtr,
this);
51 return mainJNI.IntTupleSet_insert__SWIG_0(swigCPtr,
this, tuple);
55 return mainJNI.IntTupleSet_insert__SWIG_1(swigCPtr,
this, tuple);
59 return mainJNI.IntTupleSet_insert2(swigCPtr,
this, v0, v1);
62 public int insert3(
long v0,
long v1,
long v2) {
63 return mainJNI.IntTupleSet_insert3(swigCPtr,
this, v0, v1, v2);
66 public int insert4(
long v0,
long v1,
long v2,
long v3) {
67 return mainJNI.IntTupleSet_insert4(swigCPtr,
this, v0, v1, v2, v3);
71 mainJNI.IntTupleSet_insertAll__SWIG_0(swigCPtr,
this, tuples);
75 mainJNI.IntTupleSet_insertAll__SWIG_1(swigCPtr,
this, tuples);
79 return mainJNI.IntTupleSet_contains__SWIG_0(swigCPtr,
this, tuple);
83 return mainJNI.IntTupleSet_contains__SWIG_1(swigCPtr,
this, tuple);
87 return mainJNI.IntTupleSet_numTuples(swigCPtr,
this);
90 public long value(
int tuple_index,
int pos_in_tuple) {
91 return mainJNI.IntTupleSet_value(swigCPtr,
this, tuple_index, pos_in_tuple);
95 return mainJNI.IntTupleSet_arity(swigCPtr,
this);
99 return mainJNI.IntTupleSet_numDifferentValuesInColumn(swigCPtr,
this, col);
103 return new IntTupleSet(mainJNI.IntTupleSet_sortedByColumn(swigCPtr,
this, col),
true);
107 return new IntTupleSet(mainJNI.IntTupleSet_sortedLexicographically(swigCPtr,
this),
true);