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 an element 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 #8365, modified 2010-03-29 15:06:36 by nico168
0 comment