public class IntPriorityQueues
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
IntPriorityQueues.SynchronizedPriorityDequeue
Wrapper class for synchronization
|
static class |
IntPriorityQueues.SynchronizedPriorityQueue
Wrapper class for synchronization
|
| Constructor and Description |
|---|
IntPriorityQueues() |
| Modifier and Type | Method and Description |
|---|---|
static IntPriorityDequeue |
synchronize(IntPriorityDequeue dequeue)
Returns a synchronized PriorityDequeue instance based on the instance given.
|
static IntPriorityDequeue |
synchronize(IntPriorityDequeue dequeue,
java.lang.Object mutex)
Returns a synchronized PriorityDequeue instance based on the instance given.
|
static IntPriorityQueue |
synchronize(IntPriorityQueue queue)
Returns a synchronized PriorityQueue instance based on the instance given.
|
static IntPriorityQueue |
synchronize(IntPriorityQueue queue,
java.lang.Object mutex)
Returns a synchronized PriorityQueue instance based on the instance given.
|
public static IntPriorityQueue synchronize(IntPriorityQueue queue)
queue - that should be synchronizedpublic static IntPriorityQueue synchronize(IntPriorityQueue queue, java.lang.Object mutex)
queue - that should be synchronizedmutex - is the controller of the synchronization block.public static IntPriorityDequeue synchronize(IntPriorityDequeue dequeue)
dequeue - that should be synchronizedpublic static IntPriorityDequeue synchronize(IntPriorityDequeue dequeue, java.lang.Object mutex)
dequeue - that should be synchronizedmutex - is the controller of the synchronization block.