Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

List.findLastIndex

Searches for an item starting from the end of the list.

Syntax

public int findLastIndex( Object item )

public int findLastIndex( Object item**, int** maxIndex )

Parameters

item

The item to search for.

maxIndex

The index to start searching from.

Return Value

Returns the index of the item, or returns -1 if the item is not found.