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