[Pkg] The Trunk: Collections-eem.758.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri Jun 23 19:06:21 UTC 2017
Eliot Miranda uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-eem.758.mcz
==================== Summary ====================
Name: Collections-eem.758
Author: eem
Time: 23 June 2017, 12:06:10.238234 pm
UUID: 19a4f20b-1ac9-4bed-9262-1cab35e89afd
Ancestors: Collections-eem.757
Deprecate addNewElement:
=============== Diff against Collections-eem.757 ===============
Item was removed:
- ----- Method: Set>>addNewElement: (in category 'adding') -----
- addNewElement: anObject
- "Ensure anObject is part of the receiver. Answer whether its membership was newly acquired."
- | index |
- index := self scanFor: anObject.
- ^ (array at: index)
- ifNil:
- [ self
- atNewIndex: index
- put: anObject asSetElement.
- true ]
- ifNotNil: [ false ]!
More information about the Packages
mailing list