java.lang.Object
speiger.src.collections.longs.utils.LongPriorityQueues
A Helper class for PriorityQueues
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classWrapper class for synchronizationstatic classWrapper class for synchronization -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic LongPriorityDequeuesynchronize(LongPriorityDequeue dequeue) Returns a synchronized PriorityDequeue instance based on the instance given.static LongPriorityDequeuesynchronize(LongPriorityDequeue dequeue, Object mutex) Returns a synchronized PriorityDequeue instance based on the instance given.static LongPriorityQueuesynchronize(LongPriorityQueue queue) Returns a synchronized PriorityQueue instance based on the instance given.static LongPriorityQueuesynchronize(LongPriorityQueue queue, Object mutex) Returns a synchronized PriorityQueue instance based on the instance given.
-
Konstruktordetails
-
LongPriorityQueues
public LongPriorityQueues()
-
-
Methodendetails
-
synchronize
Returns a synchronized PriorityQueue instance based on the instance given.- Parameter:
queue- that should be synchronized- Gibt zurück:
- a synchronized PriorityQueue wrapper.
-
synchronize
Returns a synchronized PriorityQueue instance based on the instance given.- Parameter:
queue- that should be synchronizedmutex- is the controller of the synchronization block.- Gibt zurück:
- a synchronized PriorityQueue wrapper.
-
synchronize
Returns a synchronized PriorityDequeue instance based on the instance given.- Parameter:
dequeue- that should be synchronized- Gibt zurück:
- a synchronized PriorityDequeue wrapper.
-
synchronize
Returns a synchronized PriorityDequeue instance based on the instance given.- Parameter:
dequeue- that should be synchronizedmutex- is the controller of the synchronization block.- Gibt zurück:
- a synchronized PriorityDequeue wrapper.
-