de.lmu.ifi.dbs.elki.utilities
Class Queue.QueueElement
java.lang.Object
de.lmu.ifi.dbs.elki.utilities.Queue.QueueElement
- Enclosing class:
- Queue<O>
final class Queue.QueueElement
- extends Object
An element in the queue: holds the underlying objcet and the next element in the queue.
Field Summary |
private Queue.QueueElement |
next
Points to the next element in the queue, null if end of queue is reached. |
private O |
object
Holds the underlying object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
object
private O object
- Holds the underlying object.
next
private Queue.QueueElement next
- Points to the next element in the queue, null if end of queue is reached.
Queue.QueueElement
private Queue.QueueElement(O object,
Queue.QueueElement next)
- Provides a new element in the queue.
- Parameters:
object
- the underlying objectnext
- the next element in the queue