get
Returns the element at the specified position in this queue.
Return
the element at position index
Parameters
index
the position of the element in the queue
Throws
if the requested position is outside the range [0, size)
Returns the element at the specified position in this queue.
the element at position index
the position of the element in the queue
if the requested position is outside the range [0, size)