|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectit.unimi.dsi.fastutil.shorts.ShortPriorityQueues
public class ShortPriorityQueues
A class providing static methods and objects that do useful things with type-specific priority queues.
PriorityQueue| Nested Class Summary | |
|---|---|
static class |
ShortPriorityQueues.SynchronizedPriorityQueue
A synchronized wrapper class for priority queues. |
| Method Summary | |
|---|---|
static ShortPriorityQueue |
synchronize(ShortPriorityQueue q)
Returns a synchronized type-specific priority queue backed by the specified type-specific priority queue. |
static ShortPriorityQueue |
synchronize(ShortPriorityQueue q,
Object sync)
Returns a synchronized type-specific priority queue backed by the specified type-specific priority queue, using an assigned object to synchronize. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ShortPriorityQueue synchronize(ShortPriorityQueue q)
q - the priority queue to be wrapped in a synchronized priority queue.
public static ShortPriorityQueue synchronize(ShortPriorityQueue q,
Object sync)
q - the priority queue to be wrapped in a synchronized priority queue.sync - an object that will be used to synchronize the access to the priority queue.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||