Skip to content

Releases: k-libs/k-stack

v0.3.0

05 Feb 21:10
b45f557
Compare
Choose a tag to compare

Minor rewrite of the Stack type.

  • No longer implements Kotlin's Collection type due ambiguity around the iterator.
  • isEmpty & isNotEmpty are now inline class properties rather than methods.
  • iterator renamed to destructiveIterator
  • add lastIndex
  • add nonDesructiveIterator
  • add toArray
  • add popToArray

v0.2.0

29 Nov 21:13
1bbc47d
Compare
Choose a tag to compare

Features:

  • Adds get function for array-style access of the stack.
  • Adds clear function to clear the stack's contents

v0.1.0

22 Nov 14:15
c946f33
Compare
Choose a tag to compare

Initial release. Contains a basic, functioning stack implementation.