Deque
class neko.vm.Deque<T>Available in nekoA double ended queue. Elements can be added to either end. The deque is thread safe.
function new() : Void
function add( i : T ) : VoidAdd and element to the end of the deque.
function pop( block : Bool ) : TRemoves the first element and returns it. If
block is true and the deque is empty, the function blocks until a function is added. If block is false and the deque is empty, the function returns null immediately.
function push( i : T ) : VoidPush an element into the beginning of the deque.
version #3922, modified 2008-08-10 21:13:17 by ianxm