-
... 25.coin.binaryValue); //world,loc,vel,acc,mass,size }.dup(n); }.dup(n); lookup= IdentityDictionary(world.objects.size); world.objects.do{|o| lookup.put(o, world.neighbours(o))}; //heavy calculation //--loop w.draw{ var counts= world.objects ...
-
... ubscriptions = Set.new; slotNodesSubs = Set.new; nodeSubs = Set.new; slotSubs = IdentityDictionary.new; setters = IdentityDictionary.new; // this.sendRegistered; } sendRegistered{ addr.sendMsg( '/registered', addr.port.asInteger, key.asStri ...
-
... y_(obj.array.collect(_.miSC_copy(copyItems))) } } +Object { miSC_getCopyCode { ^IdentityDictionary[ (0 -> 0), (1 -> 1), (2 -> 2), (false -> 0), (true -> 1), (\false -> 0), (\true -> 1), (\deep -> 2), ].at(this) ? 0 } miSC_copy { |copyItems ...
-
ControlPrototypes { classvar <registery; *initClass { registery=IdentityDictionary.new; } *define { arg ... assns; registery.addAll(assns); } *at { arg key,spec; // returns a list of possibles ^registery.at(key).value(key,spec) // could/sho ...
-
ControlPrototypes { classvar <registery; *initClass { registery=IdentityDictionary.new; } *define { arg ... assns; registery.addAll(assns); } *at { arg key, spec; // returns a list of possibles ^registery.at(key).value(key, spec) // could/s ...
-
... [HIDDeviceService] ( HIDDeviceService .deviceSpecs.put( 'WingMan Action Pad' , IdentityDictionary [ // buttons \a -> 0, \b -> 1, \c -> 2, \x -> 3, \y -> 4, \z -> 5, \l -> 6, //front left \r -> 7, //front right \s -> 8, \mode -> 9, \xx -> 1 ...
-
... troller according to the model-view-controller (M-V-C) paradigm. It provides an IdentityDictionary of actions, which are called whenever the attached model sends a notification by calling changed. Class Methods SimpleController. new ( model ...
-
... ternal Accessing Instance and Class Variables sampleplaying sampleplaying is an IdentityDictionary, indexing to all the synths that are playing, allowing the method modifplay to interact with them when the GeoListener send an update message ...
-
... variable. Returns the current scheme. GUI. schemes A class variable. Returns an IdentityDictionary of registered schemes. GUI. skin A class variable. Returns the current skin. GUI. skins A class variable. Returns an IdentityDictionary of re ...
-
... ; case( { pn.extension == "yml" }, { dict = filePath.parseYAMLFile; fileParse = IdentityDictionary(know: true); // replace String keys with Symbol keys, make "knowable" dict.keysValuesDo{ |k, v| fileParse.put(k.asSymbol, if(v == "nil", { ni ...