common/src/main/java/com/genexus/util/FastVector.java
/**
     * Returns the component at the specified index.
     *
     * @param      index   an index into this vector.
     * @return     the component at the specified index.
     * @exception  ArrayIndexOutOfBoundsException  if an invalid index was
     *               given.
     * @since      JDK1.0
     */
Returns the component at the specified index.
@param      index   an index into this vector.
@return     the component at the specified index.
@exception  ArrayIndexOutOfBoundsException  if an invalid index was
given.
Returns the component at the specified index . @param index an index into this vector . @return the component at the specified index . @exception ArrayIndexOutOfBoundsException if an invalid index was given .
public final Object elementAt(int index) 
    {
		if (index >= elementCount) 
		{
		    throw new ArrayIndexOutOfBoundsException(index + " >= " + elementCount);
		}
		/* Since try/catch is free, except when the exception is thrown,
		   put in this extra try/catch to catch negative indexes and
		   display a more informative error message.  This might not
		   be appropriate, especially if we have a decent debugging
		   environment - JP. */
		try 
		{
	    	return elementData[index];
		} 
		catch (ArrayIndexOutOfBoundsException e) 
		{
	    	throw new ArrayIndexOutOfBoundsException(index + " < 0");
		}
    }
public final Object elementAt ( int index ) { if ( index >= elementCount ) { throw new ArrayIndexOutOfBoundsException ( index + " >= " + elementCount ) ; } /* Since try/catch is free, except when the exception is thrown,
		   put in this extra try/catch to catch negative indexes and
		   display a more informative error message.  This might not
		   be appropriate, especially if we have a decent debugging
		   environment - JP. */ try { return elementData [ index ] ; } catch ( ArrayIndexOutOfBoundsException e ) { throw new ArrayIndexOutOfBoundsException ( index + " < 0" ) ; } }
Returns the component at the specified index.
Returns the component at the specified index .