-
... rgFuncName.asSymbol; func = argFunc; } *initClass { this.clear } *clear { all = IdentityDictionary.new } *at { arg name, funcName; ^all.at((name++\_++funcName).asSymbol) } *removeAt { arg name, funcName; ^all.removeAt((name++\_++funcName).a ...
-
... ndation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +IdentityDictionary { miSC_replaceKeys { |dict| var r; this.copy.keysValuesDo { |k, v| r = dict.at(k); r.notNil.if { this.put(r, v); this.removeAt(k); } } } even ...
-
... s HIDFunc. defaultDispatchers HIDFunc. defaultDispatchers = value Get or set an IdentityDictionary containing the default dispatcher objects for HIDFuncs of different types (these are what you get if you pass nil as the dispatcher argument ...
-
... e, \alive, aliveFunc); } pr_initSETO_OSCServer {|netaddr, argImgRatio| idHash = IdentityDictionary.new; class = IdentityDictionary[ 108 -> 0, 109 -> 0, 110 -> 0, 111 -> 0, 112 -> 0, 113 -> 0, 0 -> 1 ]; imgRatio = argImgRatio; interface = OS ...
-
... load }) }).flatten(1); } addToAll { |name| this.class.all ?? { this.class.all = IdentityDictionary() }; this.class.all[ name ] = this; } units { ^units.collect(_.deepCopy) } }
-
... load }) }).flatten(1); } addToAll { |name| this.class.all ?? { this.class.all = IdentityDictionary() }; this.class.all[ name ] = this; } units { ^units.collect(_.deepCopy) } }
-
... ymbol) {sign = sign.asString}; if(sign.class == String) {sign = sign[0]}; out = IdentityDictionary[ $# -> ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"], $b -> ["C", "Db", "D", "Eb", "E", "F", "Gb", "G", "Ab", "A", "Bb", ...
-
... t_(textFieldFont).syntaxColorize.hasVerticalScroller_(true); editArea.string = "IdentityDictionary[\n"; dict.pairsDo({ |k, v| switch(k.class, Symbol, { key = "'"++k++"'" }, Char, { key = "$"++k } ); editArea.string_(editArea.string++" "++ke ...
-
... false; classvar <>portDict; classvar <>midiOuts; *initClass { dict = MultiLevelIdentityDictionary(); } // structure: // latest message // uid : () // noteOn: Order() // channel: Order() // noteNumber: velocity // noteOff: Order() // channe ...
-
... ain dict // some data maybe should go in parent: provide a collection of keys + IdentityDictionary { moveFunctionsToParent { |keysToMove| var movedKeys; // because you shouldn't delete things from a collection under iteration movedKeys = Id ...