Pike v8.0 release 1738

Class ADT.CircularList

Description

This is an circular list implemented by an array. It has a constant time complexity for pop and push. It has a limited max size but it can be increased with the method allocate.


Method create

ADT.CircularList ADT.CircularList(array|int arg)

Description

Creates a new CircularList around the array arg or a new CircularList with the maximum size of arg.