Returns the position of the first element in queue which contains data.
the data to find
the position of the first element in queue which contains data, or -1 if no element in queue contains data
2.4
Returns the position of the first element in queue which contains data.