ConcurrentTokenizedPriorityQueueTKey, TValue, TTokenTryPeek(TKey, TValue, TToken) Method |
Tries to retrieve the element with minimum key.
Namespace: Altaxo.CollectionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public bool TryPeek(
out TKey key,
out TValue value,
out TToken token
)
Parameters
- key TKey
- On successfull return, contains the minimum key.
- value TValue
- On successfull return, contains the value associated with the minimum key.
- token TToken
- On successfull return, contains the token associated with the minimum key.
Return Value
BooleanTrue if the queue contained at least one element that could be Peek'd; otherwise
false.
See Also