File tom/Bag


class tom.Bag

A Bag is a Keyed Collection.

Inherits

State supers
HashTable, Keyed

instance tom.Bag

methods

int
  at All object;
Return the number of times the element key is present in the bag.

_builtin_.Any
  at All object;
Return the object if present; nil otherwise.

Enumerator
  enumerator;
Undocumented.

id
  initWithEnumerator Enumerator e;
Undocumented.


class tom.MutableBag

Inherits

State supers
Bag, MutableKeyed

instance tom.MutableBag

methods

void
    add All object
  count int num;
Add the object num times.

void
  add All object;
Add the object.


Generated by tm 1.01.