Method ADT.CircularList()->delete_value()


Method delete_value

int(-1..) delete_value(ValueType value)

Description

Remove the first occurrence of the value value from the list.

Parameter value

The value to remove from the list.

Returns

The index of the removed element or -1 if there was no value to remove.