8.29. File tom/EqDictionary

class tom.EqDictionary

inherits

State supers: ObjectDictionary, EqHashTable

instance tom.EqDictionary

methods


id
  initWithEnumerator Enumerator e;

Undocumented.

class tom.MutableEqDictionary

inherits

State supers: EqDictionary, MutableEqHashTable, MutableMapped

instance tom.MutableEqDictionary

methods


void
  remove All key;

Remove the mapping for the key.


void
  set All value
   at All key
pre
  value != nil && key != nil;

Undocumented.

class tom.WeakKeyMutableEqDictionary

The WeakKeyMutableEqDictionary is identical to a MutableEqDictionary, except that when it is a container, the references to the keys are weak, whereas in the case of an ordinary MutableEqDictionary the value references are weak.

inherits

State supers: MutableEqDictionary

instance tom.WeakKeyMutableEqDictionary

methods


void
  gc_container_mark_elements;

Almost identical to MutableHashTable's implementation, but the bucket elements are asked to gc_mark_keys instead of gc_mark_values.