CountedSequence - laforge49/aatree GitHub Wiki
aatree.CountedSequence is the sequence returned by the clojure.core/seq function when passed an aatree data structure. It has two small advantages over other sequence implementations:
- Atoms are used in place of synchronized. And
- The Counted interface is implemented, with the count method returning the number of items in the sequence without having to process the sequence contents.
extends clojure.lang.ASeq
implements [clojure.lang.Counted]