Searches the vector backwards for the specified object, starting from the specified index,
and returns an index to it.
The object equality is tested using the Java java.lang.Object.equals()
method.
Returns -1 if the object is not found.
Parameters:
v
The vector to be searched in.Note: The
null
value passed in this parameter will cause an error.
obj
The object to search for.If this parameter is
null
, the function will seek the occurence ofnull
element.
fromIndex
The index to start the search from. If not specified, the last element is assumed.
See Also:
indexOf()
Tip:
You may call this function in a method-like style:
v.lastIndexOf(obj,fromIndex)