Class KDoubleArray

java.lang.Object
com.artelys.kalis.doublelist
com.artelys.kalis.KDoubleArray

public class KDoubleArray extends com.artelys.kalis.doublelist
This class implements an array of doubles

Example :

KDoubleArray doubleArray;
doubleArray += 3.0;
doubleArray += 5.0;
// doubleArray = { 3.0 ,5.0 }
doubleArray[0] = 2.2;
// doubleArray = { 2.2 ,5.0 }


Since:
2016.1
See Also:
KIntArray
  • Field Summary

    Fields inherited from class com.artelys.kalis.doublelist

    swigCMemOwn
  • Constructor Summary

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

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

    Methods inherited from class com.artelys.kalis.doublelist

    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

    • KDoubleArray

      protected KDoubleArray(long cPtr, boolean cMemoryOwn)
    • KDoubleArray

      public KDoubleArray()
  • Method Details

    • getCPtr

      protected static long getCPtr(KDoubleArray obj)
    • finalize

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

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

      public com.artelys.kalis.doublelist getCopyPtr()
      Overrides:
      getCopyPtr in class com.artelys.kalis.doublelist