List.findIndex

Overview | Methods | This Package | All Packages

List.findIndex

Searches the list for the specified item.

Syntax

public int findIndex( Object item )

public int findIndex( Object item, int minIndex )

Parameters

item

The item to search for.

minIndex

The index to start searching from.

Return Value

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