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 methods allocate() or [set_max_size()].


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.