ConcurrentTokenizedPriorityQueueTKey, TValue, TTokenTryDecreaseKey Method |
Tries to change the key associated with the provided token. The new key value has to be less than the existing one; otherwise an exception is thrown.
Namespace: Altaxo.CollectionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public bool TryDecreaseKey(
TToken token,
TKey key
)
Parameters
- token TToken
- The token associated with the key.
- key TKey
- The new key.
Return Value
BooleanTrue if the item associated with the token still existed in the queue; otherwise
false.
Exceptions See Also