# Interval

Interval inherits from ArrayedCollection and defines instance variables start, stop, step. It has no subclasses.

Intervals are immutable collections which contain all numbers between two given numbers, at fixed increments between.

## Methods defined in Interval:

### Methods for accessing:

- at: index
- at: index put: value
- reversed
- size
- species
- start
- step
- stop

### Methods for comparing:

- = interval
- hash

### Methods for initialization:

- initStart: myStart stop: myStop step: myStep

### Methods for predicates:

- isEmpty

### Methods for printing:

- printOn: stream

Pocket Smalltalk Documentation