-
... ems do: { |controlItem| controlItem.randomize(); }; } getProxies { var result = Dictionary(); controlItems do: { |item| result.putAll(item.getProxies()); }; ^result; } refreshScreenState { this.setVisibility(isControlsVisible); } getState { ...
-
... v| f.(v).collect({ |z| { |zs| [z]++zs } }) <*> ys }) } } } *asDictFromTuples { ^Dictionary.with(*this.collect{ |tup| tup.at1 -> tup.at2 }) } } //(1:Some(2), 3:Some(4)).sequence + Dictionary { traverseWithKey { |f, class| var x = this.asSort ...
-
... e - 1) ) { after.post }; }); end.post; ^""; // does not return object!! } } } + Dictionary { dopostln { this.keysValuesDo({ |key, value| "%: %\n".postf( key, value ) }); ^"" } // does not return object!! }
-
... Symbol is passed, length can be assigned to an envir variable later on. envir - Dictionary or one of the Symbols \top, \t (topEnvironment), \current, \c (currentEnvironment). Dictionary to be taken for variable reference. Defaults to \curre ...
-
... -------------------------------- // // <p>Attributes of the node are stored via Dictionary-entries.</p> // @poseidon-object-id [sm$1eed0fb:10d5552be97:-7da9] DOMNode { // --- attributes classvar <>node_ELEMENT = 1; // type int classvar <>no ...
-
+ Dictionary { swapKeys {|aKey, bKey| var aSrc, bSrc; // find name clashes in dict and swap keys if there are. Otherwise "rename" key. aSrc = this[aKey]; bSrc = this[bKey]; this[aKey] = bSrc; this[bKey] = aSrc; } changeKeyForValue {|newKey, ...
-
... true). For protecting whole lists from immediate replacements see PLn . envir - Dictionary or one of the Symbols \top, \t (topEnvironment), \current, \c (currentEnvironment). Dictionary to be taken for variable reference. Defaults to \curre ...
-
... true). For protecting whole lists from immediate replacements see PLn . envir - Dictionary or one of the Symbols \top, \t (topEnvironment), \current, \c (currentEnvironment). Dictionary to be taken for variable reference. Defaults to \curre ...
-
... tln}; buffers.do{arg i; i.free;}; buffers.clear; } // Private *initClass { at = Dictionary.new; cachePath = Platform.userAppSupportDir +/+ "Extensions/_cactusCache"; } returnCoreOptions { var options; options = (); options.projectName = pro ...
-
... this, importing into an instance corrupts the class proto env.parent = IdentityDictionary(parent: env.parent); objectKeyDict.keysValuesDo({ |obj, keysToImport| (obj2 = obj.asProtoImportable).notNil.if({ keysToImport.do({ |key| this.put(key ...