コード例 #1
0
 /**
  * @param vParam
  * @param index
  */
 public void setParam(Param vParam, int index) throws java.lang.IndexOutOfBoundsException {
   // -- check bounds for index
   if ((index < 0) || (index > _paramList.size())) {
     throw new IndexOutOfBoundsException();
   }
   _paramList.setElementAt(vParam, index);
 } // -- void setParam(Param, int)
コード例 #2
0
  /** @param index */
  public java.lang.String getValue(int index) throws java.lang.IndexOutOfBoundsException {
    // -- check bounds for index
    if ((index < 0) || (index > _valueList.size())) {
      throw new IndexOutOfBoundsException();
    }

    return (String) _valueList.elementAt(index);
  } // -- java.lang.String getValue(int)
コード例 #3
0
 /**
  * @param index
  * @param vValue
  */
 public void setValue(int index, java.lang.String vValue)
     throws java.lang.IndexOutOfBoundsException {
   // -- check bounds for index
   if ((index < 0) || (index > _valueList.size())) {
     throw new IndexOutOfBoundsException();
   }
   _valueList.setElementAt(vValue, index);
 } // -- void setValue(int, java.lang.String)
コード例 #4
0
 public java.lang.String[] getValue() {
   int size = _valueList.size();
   java.lang.String[] mArray = new java.lang.String[size];
   for (int index = 0; index < size; index++) {
     mArray[index] = (String) _valueList.elementAt(index);
   }
   return mArray;
 } // -- java.lang.String[] getValue()
コード例 #5
0
 public Param[] getParam() {
   int size = _paramList.size();
   Param[] mArray = new Param[size];
   for (int index = 0; index < size; index++) {
     mArray[index] = (Param) _paramList.elementAt(index);
   }
   return mArray;
 } // -- Param[] getParam()
コード例 #6
0
  /** @param index */
  public Param getParam(int index) throws java.lang.IndexOutOfBoundsException {
    // -- check bounds for index
    if ((index < 0) || (index > _paramList.size())) {
      throw new IndexOutOfBoundsException();
    }

    return (Param) _paramList.elementAt(index);
  } // -- Param getParam(int)
コード例 #7
0
 public int getValueCount() {
   return _valueList.size();
 } // -- int getValueCount()
コード例 #8
0
 public int getParamCount() {
   return _paramList.size();
 } // -- int getParamCount()