Closed szeiger closed 6 years ago
This also affects subclasses like mutable.Queue.
from
requireBounds
copyToSlice
insert
insertAll
ArrayDeque
className
Queue
Fixes https://github.com/scala/collection-strawman/issues/506
This also affects subclasses like mutable.Queue.
from
paramter inrequireBounds
.copyToSlice
directly beyond the end of a target array for a no-op. This is required to make it work for empty arrays.insert
andinsertAll
directly beyond the end of theArrayDeque
for appending to the end.className
inArrayDeque
to have it computed correctly for subclasses likeQueue
.Fixes https://github.com/scala/collection-strawman/issues/506