ImmutableVector declares the programmatic interface to an object that manages an unchanging array of objects. ImmutableVector's two primitive methods-size and elementAt-provide the basis for all other methods in its interface. The size method returns the number of elements in the array. elementAt gives you access to the array elements by index, with index values starting at 0.
The elements method also grants sequential access to the elements of the array. This method is provided so that arrays can be traversed in a manner similar to that used for objects of other collection classes such as ImmutableHashtable.
ImmutableVector provides methods for querying the elements of the array. indexOf searches the array for the object that matches its argument.
ImmutableVector's makeObjectsPerformMethod and makeObjectsPerformMethodWithObject methods let you send messages to all objects in the array.
You can compare two arrays using the firstObjectCommonWithArray method.