Method ADT.CircularList()->delete_value()
- Method
delete_value
int(-1..)delete_value(ValueTypevalue)- Description
Remove the first occurrence of the value
valuefrom 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.