Class KNumVarArray

java.lang.Object
com.artelys.kalis.numvarlist
com.artelys.kalis.KNumVarArray

public class KNumVarArray extends com.artelys.kalis.numvarlist
This class implements an array of KNumVar.

Example :

KProblem  p(...);
KNumVarArray T;
T += KIntVar(p, "X");


Since:
2016.1
See Also:
KIntVar

  • Field Summary

    Fields inherited from class com.artelys.kalis.numvarlist

    swigCMemOwn
  • Constructor Summary

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

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

    Methods inherited from class com.artelys.kalis.numvarlist

    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

    • KNumVarArray

      protected KNumVarArray(long cPtr, boolean cMemoryOwn)
    • KNumVarArray

      public KNumVarArray()
      default constructor
  • Method Details

    • getCPtr

      protected static long getCPtr(KNumVarArray obj)
    • finalize

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

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

      public int check(com.artelys.kalis.SWIGTYPE_p_KNumVar_I var)