/// <summary> /// Adds an object to the head of the queue /// </summary> /// <param name="item">The item to add to the queue</param> public void EnqueueFirst(T item) { _circularList.AddFirst(item); }
/// <summary> /// Adds an element to the begining of the deque /// </summary> /// <param name="item">Element to add</param> public void AddFirst(T item) { _circularList.AddFirst(item); }