The collection will automatically be resized if this causes the number of items in the collection to exceed the capacity. Returns a pointer to the i th value in the vector. The first variant can be used as an lvalue , the second cannot. The index i must be between zero and the number of items in the collection less one, or an exception of type RW BoundsError will be thrown. A linear search is done.
Equality is measured by the class-defined equality operator for type T .
Returns a pointer to the raw data of the vector. The contents should not be changed. Should be used with care. Returns a pointer to the first object encountered which is equal to the object pointed to by target , or nil if no such object can be found. Equality is measured by the class-defined equality operator for type T .