Gets the position of the element containing the given data (starting from 0).
the data to find
the index of the element containing the data, or -1 if the data is not found
Gets the position of the element containing the given data (starting from 0).