last Index Of
Returns the index in this queue of the last occurrence of the specified element, or -1 if the queue does not contain this element. More formally, returns the lowest index i such that (o==null ? get(i)==null : o.equals(get(i))), or -1 if there is no such index.
Return
The (zero based) index or -1 if not found.
Parameters
q Obj
The object to be found