Bag
Bag inherits from Collection and defines the instance variable contents. It has no subclasses.
A Bag is an unordered, unkeyed collection of arbitrary objects.
Methods defined in Bag:
Methods for accessing:
- add: object
- add: object withOccurrences: occurrences
- at: key
- at: key put: value
- occurrencesOf: object
- remove: object ifAbsent: block
- size
Methods for copying:
Methods for enumerating:
Methods for initialization:
Methods for predicates:
Pocket Smalltalk Documentation