PreviousFilename Up
Base Class Library
IdentitySetNext

identitydictionary

An IdentityDictionary stores key/data pairs or associations. Send the message "ofAssociations" to create a dictionary which stores instances of Association. Send the message "ofValues" to create a dictionary which stores key/data pairs.

An IdentityDictionary is more specific than a Dictionary as it compares object references instead of values. For example, if you asked it to find the key myKey it would only find it if the dictionary contained the same object reference as myKey - it would not compare the value of myKey against keys in the dictionary.

See class dictionary.

Class-Control Entry

Include this entry in the Class-Control paragraph of any program using this class.

identitydictionary is class "idictnry"

Superclass

buttondictionary


buttonClass Methods


Instance Methods

The list includes methods inherited from superclasses up to, but not including, Collection. For other inherited methods, click the button below:

buttonCollection

add Using anelement
associationAt Using akey
Returning anelement
associations Returning anewcollection
associationsDo Using amessage
associationsDoWithOutCopy Using amessage
at Using akey
Returning lnkdata
atOrNil Using akey
Returning lnkdata
atPut Using akey lnkdata
basicCopy Returning result
capacity Returning acollectionsize
concat Using acollection
Returning anewcollection
copy Returning result
copyEmptyWithSize Using lnksize
Returning anewcollection
data Returning anewcollection
deepCopy Returning anewcollection
deepfinalizeWithDepth Using lnkDepth
Returning defaultreturn
do Using amessage
doWithOutCopy Using amessage
finalize Returning defaultreturn
grow
includes Using lnkdata
Returning lnkbool
includesAssociation Using anelement
Returning lnkbool
includesKey Using akey
Returning lnkbool
keyAtData Using lnkdata
Returning akey
keyAtDataByIdentity Using lnkdata
Returning akey
keys Returning anewcollection
keysAndDatado Using amessage
keysdo Using amessage
minus Using acollection
Returning anewcollection
occurrencesOf Using lnkdata
Returning anumber
reject Using amessage
Returning anewdictionary
remove Using anelement
removeAllAssociations Using acollection
removeAssociation Using anelement
removeKey Using akey
reverseDo Using amessage
select Using amessage
Returning anewdictionary
size Returning acollectionsize