Next:
Interval-printing
, Previous:
Interval class-instance creation
, Up:
Interval
1.90.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.
do: aBlock
Evaluate the receiver for each element in aBlock
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'.