index
Description:
public int index (
G data)
Returns the position of the first element in this which contains data
.
Parameters:
this |
a Queue
|
data |
the data to find
|
Returns:
the position of the first element in this which contains data , or -1 if no element
in this contains data
|