Releases: k-libs/k-deque
Releases · k-libs/k-deque
v0.8.0
v0.7.0
Add ByteDeque
, ShortDeque
, IntDeque
, LongDeque
, UShortDeque
, UIntDeque
, ULongDeque
v0.6.2
Fixes
- Issue where the head position was not being reset in
trimToSize()
v0.6.1
Fixes
- Issue with
copyToArray
whereDeque
orUByteDeque
instances with a size of1
would throw an exception.
v0.6.0
Adds contentEquals
methods to Deque
and ByteDeque
.
The contentEquals
compares the contents of 2 deque instances to test if they are equal. Unlike the equals
method, this method does
not take into account deque specifics such as capacity.
v0.5.0
Adds trimToSize()
method to Deque
and UByteDeque
. This method trims the size of the underlying data container down to the actual number of elements in the deque.
v0.4.0
Breaking!
- Remove
Deque#toArray()
- Add
Deque#copyToArray(provider: ...)
- Rename
UByteDeque#toArray()
toUByteDeque#copyToArray()
v0.3.0
Add toArray()
method to deque types.