Previous: MappedCollection class-instance creation, Up: MappedCollection [Index]
This method should not be called for instances of this class.
Answer the object at the given key
Store value at the given key
Answer a new MappedCollection that only includes the given keys. The new MappedCollection might use keyCollection or consecutive integers for the keys, depending on the map’s type. Fail if any of them is not found in the map.
Answer a Collection with the same keys as the map, where accessing a key yields the value obtained by passing through aBlock the value accessible from the key in the receiver. The result need not be another MappedCollection
Answer a bag with the receiver’s values
Answer a new collection containing all the items in the receiver from the a-th to the b-th.
Evaluate aBlock for each object
Answer the receiver’s domain
Answer the keys that can be used to access this collection.
Evaluate aBlock passing two arguments, one being a key that can be used to access this collection, and the other one being the value.
Evaluate aBlock on the keys that can be used to access this collection.
Answer the receiver’s map
Answer the objects in the domain for which aBlock returns false
Answer the objects in the domain for which aBlock returns true
Answer the receiver’s size
Previous: MappedCollection class-instance creation, Up: MappedCollection [Index]