Next: Behavior, Previous: Autoload, Up: Base classes [Index]
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) |