Method summary
- __getitem__(self, i)
- __init__(self, size_max)
- append(self, x)
- get(self)
Methods
- __getitem__(self, i)
- __init__(self, size_max)
- append(self, x)
append an element at the end of the buffer
- get(self)
Return a list of elements from the oldest to the newest.