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


1.93.2 Interval: basic

at: index

Answer the index-th element of the receiver.

at: index put: anObject

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

collect: aBlock

Evaluate the receiver for each element in aBlock, collect in an array the result of the evaluations.

copyFrom: startIndex to: stopIndex

Not commented.

do: aBlock

Evaluate the receiver for each element in aBlock

isEmpty

Answer whether the receiver is empty.

reverse

Answer a copy of the receiver with all of its items reversed

size

Answer the number of elements in the receiver.

species

Answer ‘Array’.