Class KTaskArray


  • public class KTaskArray
    extends com.artelys.kalis.tasklist
    This class implements an array of KTask

    Example :
    
    KSchedule  s(...);
    
    // T is an array of KTask T0 T1 T2 T3 T4
    KTaskArray T(s,5,0,10,"T");
    

    Since:
    2016.1
    See Also:
    KIntVar

    • Field Summary

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

        swigCMemOwn
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        KTaskArray()
      default constructor
      protected KTaskArray​(long cPtr, boolean cMemoryOwn)  
        KTaskArray​(KSchedule schedule, int nbTask)
      This constructor allows to build an array of variables with the same bounds
        KTaskArray​(KSchedule schedule, int nbTask, java.lang.String name)
      This constructor allows to build an array of variables with the same bounds
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int check​(com.artelys.kalis.SWIGTYPE_p_KTask_I _ptr)  
      void delete()  
      protected void finalize()  
      protected static long getCPtr​(KTaskArray obj)  
      • Methods inherited from class com.artelys.kalis.tasklist

        add, add, check, emptyAndDelete, getCopyPtr, getCPtr, getElt, getNumberOfElements, initializeAsEmptyList, initializeListWithVa_list, insert, insert, isEmpty, makeList, print, removeLastElement, replace, replace
      • Methods inherited from class java.lang.Object

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

      • KTaskArray

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

        public KTaskArray()
        default constructor
      • KTaskArray

        public KTaskArray​(KSchedule schedule,
                          int nbTask,
                          java.lang.String name)
        This constructor allows to build an array of variables with the same bounds
      • KTaskArray

        public KTaskArray​(KSchedule schedule,
                          int nbTask)
        This constructor allows to build an array of variables with the same bounds
    • Method Detail

      • getCPtr

        protected static long getCPtr​(KTaskArray obj)
      • finalize

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

        public void delete()
        Overrides:
        delete in class com.artelys.kalis.tasklist
      • check

        public int check​(com.artelys.kalis.SWIGTYPE_p_KTask_I _ptr)