polymorphism: better names for .binaryValue and .booleanValue are .asInteger and...
[supercollider.git] / Help / Collections / Collections.html
blob0b29c44e10ed86557da71be041d60308f113eff3
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <title></title>
7 <meta name="Generator" content="Cocoa HTML Writer">
8 <meta name="CocoaVersion" content="949.43">
9 <style type="text/css">
10 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px Helvetica}
11 p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px}
12 p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}
13 span.s1 {color: #0021e7}
14 span.s2 {color: #0000ff}
15 ul.ul1 {list-style-type: disc}
16 ul.ul2 {list-style-type: circle}
17 ul.ul3 {list-style-type: square}
18 </style>
19 </head>
20 <body>
21 <p class="p1"><b>Collections</b></p>
22 <p class="p2"><br></p>
23 <p class="p3">SuperCollider has a rich hierarchy of Collection subclasses, detailed below. Subclasses of a given class are indented (sub-lists) relative to the class. Most of these subclasses have their own helpfiles. 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.</p>
24 <p class="p2"><br></p>
25 <p class="p2"><br></p>
26 <p class="p3"><span class="s1"><a href="Collection.html"><b>Collection</b></a></span> - abstract superclass of all Collection subclasses; many methods are inherited from this class</p>
27 <ul class="ul1">
28 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="SequenceableCollection.html"><span class="s1"><b>SequenceableCollection</b></span></a> - abstract superclass of collections whose objects can be indexed by integer</li>
29 <ul class="ul2">
30 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="ArrayedCollection.html"><span class="s1"><b>ArrayedCollection</b></span></a> - abstract superclass of Collections of fixed maximum size whose elements are held in a vector of slots</li>
31 <ul class="ul3">
32 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="Array.html"><span class="s1"><b>Array</b></span></a> - an ArrayedCollection whose slots may contain any object; more efficient than List</li>
33 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="RawArray.html"><span class="s1"><b>RawArray</b></span></a> - abstract superclass of array classes that hold raw data values</li>
34 <ul class="ul3">
35 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="FloatArray.html"><span class="s1"><b>FloatArray</b></span></a> - a RawArray of floats</li>
36 <ul class="ul3">
37 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="Wavetable.html"><span class="s1"><b>Wavetable</b></span></a> - a special format FloatArray</li>
38 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="Signal.html"><span class="s1"><b>Signal</b></span></a> - a FloatArray that represents a sampled function of time buffer</li>
39 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="DoubleArray.html"><span class="s1"><b>DoubleArray</b></span></a> - a RawArray of double precision floats</li>
40 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="String.html"><span class="s1"><b>String</b></span></a> - an array of characters</li>
41 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="SymbolArray.html"><span class="s1"><b>SymbolArray</b></span></a> - a RawArray of symbols</li>
42 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="Int32Array.html"><span class="s1"><b>Int32Array</b></span></a> - a RawArray of 32 bit Integers</li>
43 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="Int16Array.html"><span class="s1"><b>Int16Array</b></span></a> - a RawArray of 16 bit Integers</li>
44 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="Int8Array.html"><span class="s1"><b>Int8Array</b></span></a> - a RawArray of 8 bit Integers</li>
45 </ul>
46 </ul>
47 </ul>
48 </ul>
49 <ul class="ul2">
50 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="Order.html"><span class="s1"><b>Order</b></span></a> - order of elements with a numerical index</li>
51 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="SparseArray.html"><span class="s2"><b>SparseArray</b></span></a> - array of elements optimized for huge gaps between them</li>
52 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="LinkedList.html"><span class="s1"><b>LinkedList</b></span></a> - a doubly linked list</li>
53 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="List.html"><span class="s1"><b>List</b></span></a> - an expandable SequenceableCollection (compare to ArrayedCollection and Array)</li>
54 <ul class="ul3">
55 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="SortedList.html"><span class="s1"><b>SortedList</b></span></a><b> - </b>a List whose items are kept in a sorted order</li>
56 </ul>
57 </ul>
58 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="Set.html"><span class="s1"><b>Set</b></span></a> - an unordered collection of unequal objects</li>
59 <ul class="ul2">
60 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="Dictionary.html"><span class="s1"><b>Dictionary</b></span></a> - an unordered associative collection mapping keys to values</li>
61 <ul class="ul3">
62 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="IdentityDictionary.html"><span class="s1"><b>IdentityDictionary</b></span></a> - a Dictionary wherein keys match only if identical (rather than if simply equal)</li>
63 <ul class="ul3">
64 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="Environment.html"><span class="s1"><b>Environment</b></span></a> - an IdentityDictionary, one of which is always current; useful for creating sets of persistent variables</li>
65 <ul class="ul3">
66 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="Event.html"><span class="s1"><b>Event</b></span></a> - a Dictionary mapping names of musical parameters to their values</li>
67 </ul>
68 </ul>
69 </ul>
70 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="IdentitySet.html"><span class="s1"><b>IdentitySet</b></span></a> - an unordered collection of unidentical objects (compare to Set)</li>
71 </ul>
72 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="Array2D.html"><span class="s1"><b>Array2D</b></span></a> - a two dimensional array</li>
73 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <b>Range</b> - ranges of values</li>
74 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="Interval.html"><span class="s1"><b>Interval</b></span></a> - ranges of Integers with a fixed Interval between them</li>
75 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="MultiLevelIdentityDictionary.html"><span class="s1"><b>MultiLevelIdentityDictionary</b></span></a> - a tree of IdentityDictionaries</li>
76 <ul class="ul2">
77 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="Library.html"><span class="s1"><b>Library</b></span></a> - a unique global MultiLevelIdentityDictionary</li>
78 </ul>
79 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="Bag.html"><span class="s1"><b>Bag</b></span></a> - an unordered collection of objects</li>
80 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="Pair.html"><span class="s2"><b>Pair</b></span></a> - Lisp-like two element cells</li>
81 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="TwoWayIdentityDictionary.html"><span class="s2"><b>TwoWayIdentityDictionary</b></span></a> - an IdentityDictionary which allows easy searching by both key and value; faster than IdentityDictionary on reverse lookup, but with more memory overhead</li>
82 <ul class="ul2">
83 <li style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"> <a href="ObjectTable.html"><span class="s1"><b>ObjectTable</b></span></a> - associates Integer ids with objects</li>
84 </ul>
85 </ul>
86 </body>
87 </html>