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