Class KIntArray


  • public class KIntArray
    extends com.artelys.kalis.intlist
    This class implements an array of integers

    Example :
    
    KIntArray intArray;
    intArray += 3;
    intArray += 5;
    // intArray = { 3,5 }
    intArray[0] = 2;
    // intArray = { 2,5 }
    

    Since:
    2016.1
    See Also:
    KDoubleArray
    • Field Summary

      • Fields inherited from class com.artelys.kalis.intlist

        swigCMemOwn
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        KIntArray()  
        KIntArray​(int nbElements)  
      protected KIntArray​(long cPtr, boolean cMemoryOwn)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete()  
      protected void finalize()  
      com.artelys.kalis.intlist getCopyPtr()  
      protected static long getCPtr​(KIntArray obj)  
      void print()  
      • Methods inherited from class com.artelys.kalis.intlist

        add, clear, empty, getCPtr, getElt, getNumberOfElements, initializeAsEmptyList, initializeListWithVa_list, makeList
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KIntArray

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

        public KIntArray()
      • KIntArray

        public KIntArray​(int nbElements)
    • Method Detail

      • getCPtr

        protected static long getCPtr​(KIntArray obj)
      • finalize

        protected void finalize()
        Overrides:
        finalize in class com.artelys.kalis.intlist
      • delete

        public void delete()
        Overrides:
        delete in class com.artelys.kalis.intlist
      • getCopyPtr

        public com.artelys.kalis.intlist getCopyPtr()
        Overrides:
        getCopyPtr in class com.artelys.kalis.intlist
      • print

        public void print()