Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
Array extend [
|
||||
dictionaryWithValues: array [ |d|
|
||||
d := Dictionary new.
|
||||
1 to: ((self size) min: (array size)) do: [:i|
|
||||
d at: (self at: i) put: (array at: i).
|
||||
].
|
||||
^ d
|
||||
]
|
||||
].
|
||||
|
||||
|
||||
({ 'red' . 'one' . 'two' }
|
||||
dictionaryWithValues: { '#ff0000'. 1. 2 }) displayNl.
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
Dictionary
|
||||
withKeys:#('one' 'two' 'three')
|
||||
andValues:#('eins' 'zwei' 'drei')
|
||||
|
|
@ -0,0 +1 @@
|
|||
Dictionary withAssociations:{ 'one'->1 . 'two'->2 . 'three'->3 }
|
||||
Loading…
Add table
Add a link
Reference in a new issue