Returns a synchronized wrapper of the specified PriorityQueue.
Namespace: LSCollectionsAssembly: Tsp (in Tsp.exe) Versión: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static PriorityQueue Synchronized( PriorityQueue queue ) |
Visual Basic |
---|
Public Shared Function Synchronized ( _ queue As PriorityQueue _ ) As PriorityQueue |
Visual C++ |
---|
public: static PriorityQueue^ Synchronized( PriorityQueue^ queue ) |
Parameters
- queue
- Type: LSCollections..::..PriorityQueue
The PriorityQueue to synchronize.
Return Value
A synchronized PriorityQueue.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | If queue is null. |