Gets the value at the given index from this deque.
If the given index is less than zero or greater than lastIndex an exception will be thrown.
The item at the given index.
Index of the item to return in this deque.
If index is less than zero or greater than lastIndex.