Class 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
        KDoubleArray()  
      protected KDoubleArray​(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.doublelist getCopyPtr()  
      protected static long getCPtr​(KDoubleArray obj)  
      • 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 Detail

      • KDoubleArray

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

        public KDoubleArray()
    • Method Detail

      • 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