Method PushFront
PushFront(T)
Pushes a new element to the front of the buffer. Front()/this[0] will now return this element. When the buffer is full, the element at Back()/this[Size-1] will be popped to allow for this new element to fit.
Declaration
public void PushFront(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item | Item to push to the front of the buffer |