[Pkg] The Trunk: 50Deprecated-eem.1.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Sep 25 18:21:52 UTC 2015

Eliot Miranda uploaded a new version of 50Deprecated to project The Trunk:

==================== Summary ====================

Name: 50Deprecated-eem.1
Author: eem
Time: 25 September 2015, 11:21:50.573 am
UUID: 1cbbbbba-2820-4e14-a6c4-43d69939f7ef

First version of unsent deprecated methods for Squeak 5.0.

==================== Snapshot ====================

----- Method: Dictionary>>fasterKeys (in category '*50Deprecated-accessing') -----
	"Contrary to old version of #keys, this method returned an Array rather than a Set.
	This was faster because no lookup: was performed.
	But now, #keys also return an Array, so don't use #fasterKeys anymore."
	self deprecated: 'use #keys'.

	^self keys.

----- Method: Dictionary>>keyForIdentity: (in category '*50Deprecated-accessing') -----
keyForIdentity: anObject
	"If anObject is one of the values of the receive, return its key, else return nil.  Contrast #keyAtValue: in which there is only an equality check, here there is an identity check"

	self deprecated: 'Use #keyAtIdentityValue:ifAbsent:'.
	^self keyAtIdentityValue: anObject ifAbsent: nil!

More information about the Packages mailing list