SampleObject

Implements a hash or dictionary. This object holds name/object pairs. Objects may be added and removed.

Factory Messages
OperationDescription
create Creates an empty hash
size: anInteger Creates a hash with a particular minimum size of anInteger

Operational Messages
OperationReturnDescription
at: aName put: aManagedObject P2Object add an aManagedObject to the hash with aName
at: aNname P2Object retrieves an object using aName
remove P2Object removes the object called aName from the hash
size int get the number of objects in the hash