Class KTupleArray

java.lang.Object
com.artelys.kalis.KTupleArray

public class KTupleArray extends Object
This class implements an array of tuples of fixed arity

Example :

KTupleArray tupleArray(3);
KIntArray tuple(3, 1, 2, 3);
tupleArray += tuple;
// tupleArray = { (1,2,3) }
tuple[0] = 3;
tuple[2] = 2;
tuple[3] = 1;
// tupleArray = { (1,2,3), (3,2,1) }


Since:
2016.1
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • KTupleArray

      protected KTupleArray(long cPtr, boolean cMemoryOwn)
    • KTupleArray

      public KTupleArray()
  • Method Details

    • getCPtr

      protected static long getCPtr(KTupleArray obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • delete

      public void delete()
    • getCopyPtr

      public com.artelys.kalis.SWIGTYPE_p_ArtelysListT_KIntArray_t getCopyPtr()
    • print

      public void print()