common/src/main/java/com/genexus/util/FastVector.java
/**
     * Searches backwards for the specified object, starting from the 
     * specified index, and returns an index to it. 
     *
     * @param   elem    the desired component.
     * @param   index   the index to start searching from.
     * @return  the index of the last occurrence of the specified object in this
     *          vector at position less than <code>index</code> in the vector;
     *          <code>-1</code> if the object is not found.
     * @since   JDK1.0
     */
Searches backwards for the specified object, starting from the
specified index, and returns an index to it.

@param   elem    the desired component.
@param   index   the index to start searching from.
@return  the index of the last occurrence of the specified object in this
vector at position less than index in the vector;
-1 if the object is not found.
Searches backwards for the specified object starting from the specified index and returns an index to it . @param elem the desired component . @param index the index to start searching from . @return the index of the last occurrence of the specified object in this vector at position less than index in the vector ; - 1 if the object is not found .
public final int lastIndexOf(Object elem, int index) 
    {
		for (int i = index ; i >= 0 ; i--) 
		{
		    if (elem.equals(elementData[i])) 
		    {
				return i;
		    }
		}
		return -1;
    }
public final int lastIndexOf ( Object elem , int index ) { for ( int i = index ; i >= 0 ; i -- ) { if ( elem . equals ( elementData [ i ] ) ) { return i ; } } return - 1 ; }
Searches backwards for the specified object, starting from the
 specified index, and returns an index to it.
Searches backwards for the specified object starting from the specified index and returns an index to it .