Class KTaskArray

java.lang.Object
com.artelys.kalis.tasklist
com.artelys.kalis.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
     
    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, String name)
    This constructor allows to build an array of variables with the same bounds
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    check​(com.artelys.kalis.SWIGTYPE_p_KTask_I _ptr)
     
    void
     
    protected void
     
    protected static long
     

    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 Details

    • KTaskArray

      protected KTaskArray(long cPtr, boolean cMemoryOwn)
    • KTaskArray

      public KTaskArray()
      default constructor
    • KTaskArray

      public KTaskArray(KSchedule schedule, int nbTask, 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 Details

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