Next:
Behavior
, Previous:
Autoload
, Up:
Base classes
1.8 Bag
Defined in namespace Smalltalk
Superclass: Collection
Category: Collections-Unordered
My instances are unordered collections of objects. You can think of me as a set with a memory; that is, if the same object is added to me twice, then I will report that that element has been stored twice.
Bag class-basic
: (class)
Bag-adding
: (instance)
Bag-enumerating the elements of a collection
: (instance)
Bag-extracting items
: (instance)
Bag-printing
: (instance)
Bag-removing
: (instance)
Bag-storing
: (instance)
Bag-testing collections
: (instance)