Method ADT.CircularList()->_remove_element()


Method _remove_element

mixed _remove_element(int index)

Description

Remove the values at index index from the list.

Parameter index

The index to remove.

Returns

The removed value.

Throws

An error if the index is out of range.

Note

The max_size is decreased by one.

See also

_insert_element()