Method WeakSuccessor
WeakSuccessor(T)
Find the weak successor in the sorted collection of a particular value, that is, the least item in the collection greater than or equal to the supplied value.
Declaration
T WeakSuccessor(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item | The item to find the weak successor for. |
Returns
Type | Description |
---|---|
T | The weak successor. |
Exceptions
Type | Condition |
---|---|
NoSuchItemException | if no such element exists (the supplied value is greater than the maximum of this collection.) |