Collections.List.lastIndexOf()

Signature

int lastIndexOf ( Object list ,Object element )

Domain

ACTION

Description

Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element.

Parameters

NameTypeDescription
listObjectThe List object
elementObjectElement to search for

Returns

TypeDescription
intThe index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element

Cautions

none