operator fun set(index: Int, value: T) Sets 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.
Parameters
Index of the item in this deque that will be replaced with value.
Value to set at the given index.
Throws