# HG changeset patch # User Claus Gittinger # Date 1486462085 -3600 # Node ID 1dbe9c48550b665f4bc95757ac05710c0612c0c3 # Parent 730217a3920c483ab44cb25f1c8ede078b807ab9 #DOCUMENTATION by cg class: Dictionary comment/format in: #keyAtValue:ifAbsent: diff -r 730217a3920c -r 1dbe9c48550b Dictionary.st --- a/Dictionary.st Tue Feb 07 11:07:30 2017 +0100 +++ b/Dictionary.st Tue Feb 07 11:08:05 2017 +0100 @@ -759,12 +759,15 @@ keyAtValue:aValue ifAbsent:exceptionBlock "return the key whose value is identical (i.e. using #== for compare) to the argument, if not found, return the value of exceptionBlock. - This is a slow access, since there is no fast reverse mapping. + This is a slow access, since there is no fast reverse mapping + (receiver is searched sequentially). NOTICE: - The value is searched using identity compare; - use #keyAtEqualValue:ifAbsent: to compare for equality." + The value is searched using identity compare; + use #keyAtEqualValue:ifAbsent: to compare for equality." ^ self keyAtIdentityValue:aValue ifAbsent:exceptionBlock + + "Modified (comment): / 07-02-2017 / 11:05:11 / cg" ! keys