/// <summary>
 /// Adds an object to the tail of the queue
 /// </summary>
 /// <param name="item">The item to add to the queue</param>
 public void Enqueue(T item)
 {
     _circularList.AddLast(item);
 }
Exemple #2
0
 /// <summary>
 /// Adds an element to the end of the deque
 /// </summary>
 /// <param name="item">Element to add</param>
 public void AddLast(T item)
 {
     _circularList.AddLast(item);
 }