ConcurrentTokenizedPriorityQueueTKey, TValue, TTokenTryIncreaseKey Method |
Tries to change the key associated with the provided token. The new key value has to be greater 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 TryIncreaseKey(
TToken token,
TKey key
)
Parameters
- token TToken
- The token.
- 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