Class KTupleArray


  • public class KTupleArray
    extends java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      protected boolean swigCMemOwn  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        KTupleArray()  
      protected KTupleArray​(long cPtr, boolean cMemoryOwn)  
    • Field Detail

      • swigCMemOwn

        protected transient boolean swigCMemOwn
    • Constructor Detail

      • KTupleArray

        protected KTupleArray​(long cPtr,
                              boolean cMemoryOwn)
      • KTupleArray

        public KTupleArray()
    • Method Detail

      • getCPtr

        protected static long getCPtr​(KTupleArray obj)
      • finalize

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

        public void delete()
      • getCopyPtr

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

        public void print()