Provides the index of the given element in the collection.
The index of the given element or -1 if the element is not in the collection.
The element to find the index of.