Skip to content
Browse files

documentation for -[CWPriorityQueue dequeueAllObjectsOfNextPriorityLe…

…vel]
  • Loading branch information...
1 parent 997257d commit 697088eca7ef40b3dfb8dbf38ff9239e4c04400d @Machx committed Jan 14, 2013
Showing with 9 additions and 0 deletions.
  1. +9 −0 Source/CWPriorityQueue.h
View
9 Source/CWPriorityQueue.h
@@ -37,6 +37,15 @@
*/
-(id)dequeue;
+/**
+ Dequeues all objects of the next priority level off the queue
+
+ This method looks at what the highest priority is of items on the queue, and
+ then dequeues all items of the same priority level. This removes all the items
+ from the queue and returns them to you.
+
+ @return a NSSet of all items matching the next highest priority level
+ */
-(NSSet *)dequeueAllObjectsOfNextPriorityLevel;
/**

0 comments on commit 697088e

Please sign in to comment.
Something went wrong with that request. Please try again.