-
... s| var lcm, f, factors, argFactors, argListFactors, lcmFactors, lcmFactorDict = IdentityDictionary.new, postWarning = false, thr = 2 ** 31 - 1; (args.size == 0).if { ^(this == 0).if { 0 }{ this.abs } }; (args.every { |i| i.isKindOf(Integer) ...
-
... { x.prName = name }; ^x } *fromName { |name| var def; this.all ?? { this.all = IdentityDictionary() }; def = this.all[ name ]; if( def.isNil ) { ^this.getFromFile(name); }{ ^def } } *getFromFile{ arg name; var path; path = this.findDefFile ...
-
... { x.prName = name }; ^x } *fromName { |name| var def; this.all ?? { this.all = IdentityDictionary() }; def = this.all[ name ]; if( def.isNil ) { ^this.getFromFile(name); }{ ^def } } *getFromFile{ arg name; var path; path = this.findDefFile ...
-
... 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 *new(model) Creates a Simple ...
-
... uiObjects[\button0] a.addWidget(\but0, \button, {|val| postf("but0 %\n", val)}, IdentityDictionary[(\backgroundColor -> Color.red), (\textColor -> Color.black), (\font -> Font.new.size_(16)), (\bounds -> Rect(0.2, 0.1, 0.2, 0.2)), (\innerHT ...
-
... ity for the keys (e.g. symbols are ok, strings not). For identity matching see: IdentityDictionary . See also : Envirownment , Event The Difference between Dictionary, IdentityDictionary, Environment, and Event Often, the subclass Event is ...
-
... 50) */ ENdef { classvar <>all; var <key; var <eventNetwork; *initClass { all = IdentityDictionary.new } *new { | key, f | //object is a function var check = this.checkArgs(\ENdef, \new, [key, f], [Symbol, [Function,Nil]]); var endef = all. ...
-
... Action_ {} bus { ^nil } stealer { ^\preferEarly } stealer_ {} globalControls { ^IdentityDictionary.new } globalControlsByCreation { ^Array.new } latency { ^nil } isRunning { ^true } // to display "run" in gui clock {} clock_ {} init {} make ...
-
... Action_ {} bus { ^nil } stealer { ^\preferEarly } stealer_ {} globalControls { ^IdentityDictionary.new } globalControlsByCreation { ^Array.new } latency { ^nil } isRunning { ^true } // to display "run" in gui clock {} clock_ {} init {} make ...
-
... common redundant nodes. // Trie structure. // This script builds one MultiLevelIdentityDictionary. Keys are generally sucessive // alphanumeric characters in a search path, but may occur more than one at a time due // to pruning, so for ex ...