Releases: k-libs/k-queue
Releases · k-libs/k-queue
v0.4.0
v0.3.0
Breaking Release:
- No longer implements Kotlin's
Collection
due to ambiguity over the intent of theiterator
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
Adds clear()
method to Queue
.
v0.1.0
Initial release. Contains a basic, functioning queue implementation.