Symfony\Component\Intl\ResourceBundle\Util\RingBuffer
Implements a ring buffer.
A ring buffer is an array-like structure with a fixed size. If the buffer
is full, the next written element overwrites the first bucket in the buffer,
then the second and so on.
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
class RingBuffer
implements
ArrayAccess
{
- // methods
- public void __construct()
- public void offsetExists()
- public void offsetGet()
- public void offsetSet()
- public void offsetUnset()
Hierarchy
Implements
Members
private
- $cursor
- $indices
- $size
- $values
Methods
public
- __construct()
- offsetExists() — {@inheritdoc}
- offsetGet() — {@inheritdoc}
- offsetSet() — {@inheritdoc}
- offsetUnset() — {@inheritdoc}