- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<WeakPriorityBlockingQueue.Element<E>>, java.util.Comparator<WeakPriorityBlockingQueue.Element<E>>, WeakPriorityBlockingQueue.Element<E>
- Enclosing class:
- WeakPriorityBlockingQueue<E>
public static class WeakPriorityBlockingQueue.NaturalElement<E>
extends WeakPriorityBlockingQueue.AbstractElement<E>
implements WeakPriorityBlockingQueue.Element<E>, java.lang.Comparable<WeakPriorityBlockingQueue.Element<E>>, java.util.Comparator<WeakPriorityBlockingQueue.Element<E>>
natural ordering elements, can be used as container of objects in the priority queue
the elements with smallest ordering weights are first in the queue when elements are taken
- See Also:
- Serialized Form