| Inherits from | |
|---|---|
| Declared in | NNQueue.h |
+ (NNQueue *)queueNew fifo-queue
NNQueue.h- (void)enqueue:(id)object New object to enqueue at head of queue
NNQueue.h- (void)enqueueObjects:(NSArray *)objects Multiple objects to enqueue - first object of objects will be enqueue first
NNQueue.h- (id)dequeueNext object in queue
This call blocks until there is something to dequeue
NNQueue.h- (id)dequeueWithTimeout:(NSTimeInterval)timeout Time to wait for a new object
Object if timeout was not reached, nil otherwise
Blocks until a new object can be dequeued or the time ran out.
NNQueue.h- (id)tryDequeueNext element in queue, or nil if there is none
NNQueue.h- (void)clearEmpties the queue.
NNQueue.h- (NSUInteger)countNumber of elements in queue
NNQueue.hLast updated: 2010-5-13