>>-removeItem(item)--------------------------------------------><
Removes an item from the queue. If the target item exists at more than one index, the first located item is removed. The return value is the removed item. Item equality is determined by using the == method of item.