List.indexOf

Syntax

indexOf (item);

Parameters

item. Collection item.

Description

The indexOf method gets index of the specified collection element.

Example

The example of method use is given in description of the contains method.

See also:

List