Skip to content

Releases: k-libs/k-deque

v0.8.0

10 Feb 04:39
4c6446c
Compare
Choose a tag to compare

Constructor functions for all deque types.

v0.7.0

09 Feb 00:24
85d435f
Compare
Choose a tag to compare

Add ByteDeque, ShortDeque, IntDeque, LongDeque, UShortDeque, UIntDeque, ULongDeque

v0.6.2

08 Feb 09:36
53259ec
Compare
Choose a tag to compare

Fixes

  • Issue where the head position was not being reset in trimToSize()

v0.6.1

08 Feb 03:49
d216db6
Compare
Choose a tag to compare

Fixes

  • Issue with copyToArray where Deque or UByteDeque instances with a size of 1 would throw an exception.

v0.6.0

08 Feb 03:22
2b1b32f
Compare
Choose a tag to compare

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

08 Feb 03:20
7fd882b
Compare
Choose a tag to compare

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

08 Feb 02:16
07ad72a
Compare
Choose a tag to compare

Breaking!

  • Remove Deque#toArray()
  • Add Deque#copyToArray(provider: ...)
  • Rename UByteDeque#toArray() to UByteDeque#copyToArray()

v0.3.0

25 Dec 18:11
cb39c60
Compare
Choose a tag to compare

Add toArray() method to deque types.