Skip to content

Releases: k-libs/k-queue

v0.4.0

06 Feb 22:57
2dbf0e0
Compare
Choose a tag to compare
  • Add method copyToArray which copies the contents of the Queue into an array constructed by a given provider.
  • Add method flushToArray which flushes the contents of the Queue into an array constructed by the given provider.

v0.3.0

06 Feb 14:21
a119755
Compare
Choose a tag to compare

Breaking Release:

  • No longer implements Kotlin's Collection due to ambiguity over the intent of the iterator method.
  • No longer implements Kotlin's Iterator due to ambiguity over whether the iteration is expected to be destructive.
  • Removed method isEmpty().
  • Removed method hasNext().
  • Removed method iterator().
  • Removed method peekNext().
  • Added inline val isEmpty
  • Added inline val isNotEmpty
  • Added inline val lastIndex
  • Added inline val indices
  • Added method peek()
  • Added method containsAll(vararg T)
  • Added method destructiveIterator()
  • Added method nonDestructiveIterator()
  • Added inline method destructiveForEach(fn)
  • Added inline method nonDestructiveForEach(fn)

v0.2.0

14 Dec 18:46
f55f353
Compare
Choose a tag to compare

Adds clear() method to Queue.

v0.1.0

22 Nov 14:06
7c0836d
Compare
Choose a tag to compare

Initial release. Contains a basic, functioning queue implementation.