int indexOf ( Object list ,Object element )int indexOf ( Object list ,Object element )| Name | Type | Description |
|---|---|---|
list | Object | The List object |
element | Object | Element to search for |
| Type | Description |
|---|---|
int | The index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element |