Example #1
0
 public LinkedQueue()
 {
     _Tail = null;
     _Size = 0;
 }
Example #2
0
 public void enqueue(T item)
 {
     this._Tail = new QueueNode <T>(item, this._Tail);
     this._Size++;
 }
Example #3
0
 public QueueNode(T item, QueueNode <T> parent)
 {
     this._Parent = parent;
     this._Item   = item;
 }