Dictionary.st
changeset 11673 baa4568523f0
parent 11581 6286d25cd1cd
child 11909 3bc1c7c5eb7b
child 17711 39faaaf888b4
equal deleted inserted replaced
11672:202d14e5686d 11673:baa4568523f0
   603      d1.  
   603      d1.  
   604     "
   604     "
   605 !
   605 !
   606 
   606 
   607 addPairsFrom:aSequenceableCollection
   607 addPairsFrom:aSequenceableCollection
   608     "merge all key-value pairs from aDictionary into the receiver."
   608     "merge consecutive key-value pairs from aSequenceableCollection into the receiver."
   609 
   609 
   610     aSequenceableCollection pairWiseDo:[:key :value |
   610     aSequenceableCollection pairWiseDo:[:key :value |
   611         self at:key put:value.
   611         self at:key put:value.
   612     ]
   612     ]
   613 
   613 
  2017 ! !
  2017 ! !
  2018 
  2018 
  2019 !Dictionary class methodsFor:'documentation'!
  2019 !Dictionary class methodsFor:'documentation'!
  2020 
  2020 
  2021 version
  2021 version
  2022     ^ '$Header: /cvs/stx/stx/libbasic/Dictionary.st,v 1.95 2009-02-19 15:27:56 sr Exp $'
  2022     ^ '$Header: /cvs/stx/stx/libbasic/Dictionary.st,v 1.96 2009-05-04 11:11:34 cg Exp $'
  2023 ! !
  2023 ! !
  2024 
  2024 
  2025 Dictionary initialize!
  2025 Dictionary initialize!