-
... contents of an OrderedIdentitySet are ordered . See also: IdentitySet , List , Dictionary Iteration: do(function) Evaluates function for each item in the OrderedIdentitySet. You may depend on the order of items. The function is passed two ...
-
... npackNotes { arg notes; ^notes.collect(_.dereference) } *initClass { weakRefs = Dictionary.new; annotations = Dictionary.new; } *new { arg weakRef; ^super.newCopyArgs(weakRef) } dereference { ^weakRefs[weakRef] } } AnnotatedDebugNodeWatcher ...
-
... w.init; }); ^instance; } init { this.prBindClockSync; wireSerial = 0; wireMap = Dictionary.new; cohortStateMap = Dictionary.new; SCLOrkWire.bind( port: knockPort, wireIssueId: { wireSerial = wireSerial + 1; wireSerial; }, wireOnConnected: { ...
-
... npackNotes { arg notes; ^notes.collect(_.dereference) } *initClass { weakRefs = Dictionary.new; annotations = Dictionary.new; } *new { arg weakRef; ^super.newCopyArgs(weakRef) } dereference { ^weakRefs[weakRef] } } AnnotatedDebugNodeWatcher ...
-
ForceManager { var <>forces; *new{ arg forces = []; forces = Dictionary.newFrom(forces); ^super.newCopyArgs(forces); } /* public */ add{ arg forceFunction, key; key ?? {key = ("Force_" ++ ( forces.size + 1 )).asSymbol}; forces.add(key -> fo ...
-
... ; if(i < (this.size - 1)) { delim.post; } { endString.post; }; }); ^this; } } + Dictionary { postItems { |nPerLine, keyDelim = " : ", delim = "", newLinePre = "\t" | if(nPerLine.isNil) {nPerLine = 1}; this.keysValuesDo({ |key, item, i| if( ...
-
... ccess the folder as a List c.buffers.at("[folder_name]"); */ // You can use the dictionary at .at to store anything you like. For example: c.at[\exampleVariable] = 10000.rand; // Get the value c.at[\exampleVariable];
-
... es, this is done once on first access to attibutes and then cached attributes = Dictionary.new; pos = splitIndex; while ( { xml[pos].isSpace } , { // attribute(s) may follow pos = pos + 1; while ( { xml[pos].isSpace } , { pos = pos + 1 } ); ...
-
... eycodeMap; var <>keycodes; *initKeycodeMap { var qt,cocoa; keycodeMap = IdentityDictionary.new; keycodeMap['qt'] = Dictionary.new; keycodeMap['cocoa'] = Dictionary.new; [ ['del',16777223, 117], ['backspace', 16777219, 51], ['up', 16777235, ...
-
... ycodeMap; var <>keycodes; *initKeycodeMap { var qt, cocoa; keycodeMap = IdentityDictionary.new; keycodeMap['qt'] = Dictionary.new; keycodeMap['cocoa'] = Dictionary.new; [ ['del', 16777223, 117], ['backspace', 16777219, 51], ['up', 16777235, ...