Next: , Previous: , Up: ArrayedCollection   [Index]


1.5.2 ArrayedCollection: basic

, aSequenceableCollection

Answer a new instance of an ArrayedCollection containing all the elements in the receiver, followed by all the elements in aSequenceableCollection

add: value

This method should not be called for instances of this class.

atAll: keyCollection

Answer a collection of the same kind returned by #collect:, that only includes the values at the given indices. Fail if any of the values in keyCollection is out of bounds for the receiver.

copyFrom: start to: stop

Answer a new collection containing all the items in the receiver from the start-th and to the stop-th

copyWith: anElement

Answer a new instance of an ArrayedCollection containing all the elements in the receiver, followed by the single item anElement

copyWithout: oldElement

Answer a copy of the receiver to which all occurrences of oldElement are removed