Class KIntArray

java.lang.Object
com.artelys.kalis.intlist
com.artelys.kalis.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​(int nbElements)
     
    protected
    KIntArray​(long cPtr, boolean cMemoryOwn)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
     
    com.artelys.kalis.intlist
     
    protected static long
     
    void
     

    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 Details

    • KIntArray

      protected KIntArray(long cPtr, boolean cMemoryOwn)
    • KIntArray

      public KIntArray()
    • KIntArray

      public KIntArray(int nbElements)
  • Method Details

    • 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()