Code example for Vector

Methods: elementAt, size

0
   *  
   * @param n The argument number index. 
   * @return The Expression object at the given index. 
   */     
  public Expression getArg(int n) {
    if (n >= 0 && n < m_argVec.size())
      return (Expression) m_argVec.elementAt(n);
    else 
      return null; 
  } 
 
  /** 
   * Return the number of arguments that were passed 
   * into this extension function. 
   * 
   * @return The number of arguments. 
   */     
  public int getArgCount() { 
    return m_argVec.size();
  }