You are viewing an old version of this entry, click here to see latest version.
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
blockis true and the deque is empty, the function blocks until a function is added. If
blockis false and the deque is empty, the function returns
nullimmediately. function push( i : T ) : VoidPush an element into the beginning of the deque.
version #3922, modified 2008-08-10 21:13:17 by ianxm