public virtual Object elementAt(int i) { if ((i >= arity()) || (i < 0)) return null; return elems[i]; }