SampleObject

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

Factory Messages

create

Creates an empty hash

size

Creates a hash with a particular minimum size

Operational Messages

at: name

retrieves an object by name

at: name put: oid

add an object to the hash

remove

removes the named object from the hash

size

get the number of objects in the hash