Collections:
Filter:
Overviews | Collections

Collections

A hierarchical overview of Collection subclasses

SuperCollider has a rich hierarchy of Collection subclasses, detailed below. Subclasses of a given class are indented (sub-lists) relative to the class. Classes labelled "abstract" are not for direct use, but classes lower down the tree may inherit methods from them. For this reason it is important to consult the helpfiles of classes farther up the tree in order to get a complete list of available methods.

Hierarchy

Notes

List
is an expandable SequenceableCollection (compare to ArrayedCollection and Array).
Array
is more efficient than List.
SparseArray
is an array of elements optimized for huge gaps between them.
TwoWayIdentityDictionary
is similar to IdentityDictionary and allows easy searching by both key and value. It is faster than IdentityDictionary on reverse lookup, but with more memory overhead.
Environment
is an IdentityDictionary, one of which is always current; useful for creating sets of persistent variables.
Event
is a dictionary mapping names of musical parameters to their values.
IdentitySet
is an unordered collection of unidentical objects (compare to Set).