Pike v8.1 release 6

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.