Next: SequenceableCollection-manipulation, Previous: SequenceableCollection-copying SequenceableCollections, Up: SequenceableCollection [Index]
Answer an unspecified element of the collection.
Evaluate aBlock for all the elements in the sequenceable collection
Evaluate aBlock for all the elements in the sequenceable collection. Between each element, evaluate sepBlock without parameters.
Evaluate aBlock for all the elements in the sequenceable collection, passing the index of each element as the second parameter. This method is mantained for backwards compatibility and is not mandated by the ANSI standard; use #keysAndValuesDo:
Returns the index of the first element of the sequenceable collection for which aBlock returns true, or 0 if none
Returns the index of the last element of the sequenceable collection for which aBlock returns true, or 0 if none does
First, pass to binaryBlock the first and second elements of the receiver; for each subsequent element, pass the result of the previous evaluation and an element. Answer the result of the last invocation, or the first element if the collection has size 1. Fail if the collection is empty.
Evaluate aBlock for all the elements in the sequenceable collection whose indices are in the range index to stopIndex
Evaluate aBlock for all the elements in the sequenceable collection whose indices are in the range index to stopIndex, passing the index of each element as the second parameter. This method is mantained for backwards compatibility and is not mandated by the ANSI standard; use #from:to:keysAndValuesDo:
Evaluate aBlock for all the elements in the sequenceable collection whose indices are in the range index to stopIndex, passing the index of each element as the first parameter and the element as the second.
Return an Interval corresponding to the valid indices in the receiver.
Evaluate aBlock for all the elements in the sequenceable collection, passing the index of each element as the first parameter and the element as the second.
Answer a ReadStream streaming on the receiver
Answer a ReadWriteStream which streams on the receiver
Answer the receivers’ contents in reverse order
Evaluate aBlock for all elements in the sequenceable collection, from the last to the first.
Evaluate aBlock for each pair of elements took respectively from the receiver and from aSequenceableCollection; answer a collection of the same kind of the receiver, made with the block’s return values. Fail if the receiver has not the same size as aSequenceableCollection.
Evaluate aBlock for each pair of elements took respectively from the receiver and from aSequenceableCollection. Fail if the receiver has not the same size as aSequenceableCollection.