com.exigen.ie.constrainer.IntSetVarArray Maven / Gradle / Ivy
package com.exigen.ie.constrainer;
/**
* Title:
* Description:
* Copyright: Copyright (c) 2002
* Company:
* @author unascribed
* @version 1.0
*/
public class IntSetVarArray extends ConstrainerObjectImpl
{
IntSetVar[] _data;
public IntSetVarArray(Constrainer C, int size, String name)
{
super(C, name);
_data = new IntSetVar[size];
}
public IntSetVarArray(Constrainer C, int size){
this(C, size, "");
}
public IntSetVar get(int idx){
return _data[idx];
}
public void set(IntSetVar var, int idx){
_data[idx] = var;
}
public int size(){
return _data.length;
}
}