Performs a binary search, inserting a after all items that compare less than or equal to it, but before all items that do not. The collection will be resized automatically if this causes the number of items to exceed the capacity. If there are no items in the collection then an exception of type RW BoundsError will occur. Equality is measured by the class-defined equality operator. Equality is measured by the class-defined equality operator.
Equality is measured by the class-defined equality operator.
Removes and returns the object at index i . An exception of type RW BoundsError will be thrown if i is not a valid index. Valid indices are from zero to the number of items in the list less one. Removes and returns the first object in the collection. An exception of type RW BoundsError will be thrown if the list is empty.