Data\Util\RingBuffer (Component\Intl)
Symfony\Component\Intl\Data\Util\RingBuffer
class RingBuffer implements ArrayAccess
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.
Methods
__construct($size) | ||
offsetExists($key) {@inheritdoc} | ||
offsetGet($key) {@inheritdoc} | ||
offsetSet($key, $value) {@inheritdoc} | ||
offsetUnset($key) {@inheritdoc} |
Details
public __construct($size)
public offsetExists($key)
{@inheritdoc}
public offsetGet($key)
{@inheritdoc}
public offsetSet($key, $value)
{@inheritdoc}
public offsetUnset($key)
{@inheritdoc}
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Intl/Data/Util/RingBuffer.html