diff options
author | Rui Gonçalves <ruippeixotog@gmail.com> | 2015-11-27 00:36:57 +0000 |
---|---|---|
committer | Rui Gonçalves <ruippeixotog@gmail.com> | 2015-11-27 00:36:57 +0000 |
commit | 2f508a354bcf4028d146c11df30d4059e487e7eb (patch) | |
tree | 6c02484077cf3b13a0345328d26a263f4b49f99b /test/files/run/t4482.scala | |
parent | 2ef93ad2fe29766fbe09a3e921ad361b25abdeaf (diff) | |
download | scala-2f508a354bcf4028d146c11df30d4059e487e7eb.tar.gz scala-2f508a354bcf4028d146c11df30d4059e487e7eb.tar.bz2 scala-2f508a354bcf4028d146c11df30d4059e487e7eb.zip |
SI-9507 Make ArrayStack an IndexedSeqOptimized
Just like `ArraySeq`, `ArrayBuffer` and all other collections that use an array as underlying data structure, `ArrayStack` should also be an instance of `IndexedSeq` and `IndexedSeqOptimized`. As expected by both of the traits, `ArrayStack` has constant-time random element access and length computation.
Diffstat (limited to 'test/files/run/t4482.scala')
0 files changed, 0 insertions, 0 deletions