Class KResourceArray

java.lang.Object
com.artelys.kalis.resourcelist
com.artelys.kalis.KResourceArray

public class KResourceArray extends com.artelys.kalis.resourcelist
This class implements an array of KResource

Example :

KSchedule  s(...);

// R is an array of KResource R0 R1 R2 R3 R4
KResourceArray R(s,5,0,10,"T");


Since:
2016.1
See Also:
KResource

  • Field Summary

    Fields inherited from class com.artelys.kalis.resourcelist

    swigCMemOwn
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    default constructor
    protected
    KResourceArray​(long cPtr, boolean cMemoryOwn)
     
     
    KResourceArray​(KSchedule schedule, int nbResource)
    This constructor allows to build an array of variables with the same bounds
     
    KResourceArray​(KSchedule schedule, int nbResource, 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_KResource_I _ptr)
     
    void
     
    protected void
     
    protected static long
     

    Methods inherited from class com.artelys.kalis.resourcelist

    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

    • KResourceArray

      protected KResourceArray(long cPtr, boolean cMemoryOwn)
    • KResourceArray

      public KResourceArray()
      default constructor
    • KResourceArray

      public KResourceArray(KSchedule schedule, int nbResource, String name)
      This constructor allows to build an array of variables with the same bounds
    • KResourceArray

      public KResourceArray(KSchedule schedule, int nbResource)
      This constructor allows to build an array of variables with the same bounds
  • Method Details

    • getCPtr

      protected static long getCPtr(KResourceArray obj)
    • finalize

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

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

      public int check(com.artelys.kalis.SWIGTYPE_p_KResource_I _ptr)