Method DeleteMax
DeleteMax()
Remove the largest item from this sorted collection.
Declaration
T DeleteMax()
Returns
Type | Description |
---|---|
T | The removed item. |
Exceptions
Type | Condition |
---|---|
NoSuchItemException | if the collection is empty. |