# | Line 813 | Line 813 | public class PriorityBlockingQueueTest e | |
---|---|---|
813 | } | |
814 | ||
815 | /** | |
816 | < | * drainTo(c, n) empties first max {n, size} elements of queue into c |
816 | > | * drainTo(c, n) empties first min(n, size) elements of queue into c |
817 | */ | |
818 | public void testDrainToN() { | |
819 | PriorityBlockingQueue q = new PriorityBlockingQueue(SIZE*2); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |