common/src/main/java/com/genexus/util/FastVector.java
/**
     * Searches for the first occurence of the given argument, beginning 
     * the search at <code>index</code>, and testing for equality using 
     * the <code>equals</code> method. 
     *
     * @param   elem    an object.
     * @param   index   the index to start searching from.
     * @return  the index of the first occurrence of the object argument in
     *          this vector at position <code>index</code> or later in the
     *          vector; returns <code>-1</code> if the object is not found.
     * @see     java.lang.Object#equals(java.lang.Object)
     * @since   JDK1.0
     */
Searches for the first occurence of the given argument, beginning
the search at index, and testing for equality using
the equals method.

@param   elem    an object.
@param   index   the index to start searching from.
@return  the index of the first occurrence of the object argument in
this vector at position index or later in the
vector; returns -1 if the object is not found.
Searches for the first occurence of the given argument beginning the search at index and testing for equality using the equals method . @param elem an object . @param index the index to start searching from . @return the index of the first occurrence of the object argument in this vector at position index or later in the vector ; returns - 1 if the object is not found .
public final int indexOf(Object elem, int index) 
    {
		for (int i = index ; i < elementCount ; i++) 
		{
		    if (elem.equals(elementData[i])) 
		    {
				return i;
		    }
		}
		return -1;
    }
public final int indexOf ( Object elem , int index ) { for ( int i = index ; i < elementCount ; i ++ ) { if ( elem . equals ( elementData [ i ] ) ) { return i ; } } return - 1 ; }
Searches for the first occurence of the given argument, beginning
 the search at <code>index</code>, and testing for equality using
 the <code>equals</code> method.
Searches for the first occurence of the given argument beginning the search at <code > index< / code > and testing for equality using the <code > equals< / code > method .