Skip to content
Bill La Forge edited this page Oct 3, 2015 · 5 revisions

API

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:

  1. Atoms are used in place of synchronized. And
  2. 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]

source

Clone this wiki locally