- public class PriorityQueue
- extends Object
This class represent a priority queue. A priority queues stores
element in a order described by their priority. This implementation
provides with lock free iterators for browsing the element of the
queue. While writes are serialized by a write-lock.
This class guarantees that the iterator keep consistent even while
element are being added or removed.
- Angelo Corsaro
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected PriorityQueue.PriorityQueueLane queueHead
protected PriorityQueue.PriorityQueueLane queueTail
public PriorityQueue.ForwardIterator iterator()
public void iterator(PriorityQueue.ForwardIterator iterator)
public void add(Object object,
public boolean contains(Object object)
public void remove(Object object)
jRate is developed and maintained by the jRate project development team.
Copyright (c) 2001-2005 Angelo Corsaro and Morgan Deters.