Searched refs:populatedDeque (Results 1 – 6 of 6) sorted by relevance
39 private ConcurrentLinkedDeque<Integer> populatedDeque(int n) { in populatedDeque() method in ConcurrentLinkedDequeTest120 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testSize()146 ConcurrentLinkedDeque q = populatedDeque(3); in testPush()156 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testPop()313 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testAddAllSelf()365 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testPollFirst()376 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testPollLast()387 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testPoll()398 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testPeek()412 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testElement()[all …]
36 private ArrayDeque<Integer> populatedDeque(int n) { in populatedDeque() method in ArrayDequeTest116 ArrayDeque q = populatedDeque(SIZE); in testSize()142 ArrayDeque q = populatedDeque(3); in testPush()152 ArrayDeque q = populatedDeque(SIZE); in testPop()350 ArrayDeque q = populatedDeque(SIZE); in testPollFirst()361 ArrayDeque q = populatedDeque(SIZE); in testPollLast()372 ArrayDeque q = populatedDeque(SIZE); in testPoll()383 ArrayDeque q = populatedDeque(SIZE); in testRemove()397 ArrayDeque q = populatedDeque(SIZE); in testRemoveElement()418 ArrayDeque q = populatedDeque(SIZE); in testPeekFirst()[all …]
57 private LinkedBlockingDeque<Integer> populatedDeque(int n) { in populatedDeque() method in LinkedBlockingDequeTest87 LinkedBlockingDeque q = populatedDeque(SIZE); in testSize()142 LinkedBlockingDeque q = populatedDeque(SIZE); in testPollFirst()153 LinkedBlockingDeque q = populatedDeque(SIZE); in testPollLast()164 LinkedBlockingDeque q = populatedDeque(SIZE); in testPeekFirst()178 LinkedBlockingDeque q = populatedDeque(SIZE); in testPeek()192 LinkedBlockingDeque q = populatedDeque(SIZE); in testPeekLast()206 LinkedBlockingDeque q = populatedDeque(SIZE); in testFirstElement()222 LinkedBlockingDeque q = populatedDeque(SIZE); in testLastElement()238 LinkedBlockingDeque q = populatedDeque(SIZE); in testRemoveFirst()[all …]
71 private ConcurrentLinkedDeque<Integer> populatedDeque(int n) { in populatedDeque() method in ConcurrentLinkedDequeTest154 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testSize()180 ConcurrentLinkedDeque q = populatedDeque(3); in testPush()190 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testPop()347 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testAddAllSelf()399 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testPollFirst()410 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testPollLast()421 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testPoll()432 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testPeek()446 ConcurrentLinkedDeque q = populatedDeque(SIZE); in testElement()[all …]
58 public Collection emptyCollection() { return populatedDeque(0); } in suite()71 private static ArrayDeque<Integer> populatedDeque(int n) { in populatedDeque() method in ArrayDequeTest183 ArrayDeque q = populatedDeque(SIZE); in testSize()209 ArrayDeque q = populatedDeque(3); in testPush()219 ArrayDeque q = populatedDeque(SIZE); in testPop()417 ArrayDeque q = populatedDeque(SIZE); in testPollFirst()428 ArrayDeque q = populatedDeque(SIZE); in testPollLast()439 ArrayDeque q = populatedDeque(SIZE); in testPoll()450 ArrayDeque q = populatedDeque(SIZE); in testRemove()464 ArrayDeque q = populatedDeque(SIZE); in testRemoveElement()[all …]
89 private LinkedBlockingDeque<Integer> populatedDeque(int n) { in populatedDeque() method in LinkedBlockingDequeTest121 LinkedBlockingDeque q = populatedDeque(SIZE); in testSize()176 LinkedBlockingDeque q = populatedDeque(SIZE); in testPollFirst()187 LinkedBlockingDeque q = populatedDeque(SIZE); in testPollLast()198 LinkedBlockingDeque q = populatedDeque(SIZE); in testPeekFirst()212 LinkedBlockingDeque q = populatedDeque(SIZE); in testPeek()226 LinkedBlockingDeque q = populatedDeque(SIZE); in testPeekLast()240 LinkedBlockingDeque q = populatedDeque(SIZE); in testFirstElement()256 LinkedBlockingDeque q = populatedDeque(SIZE); in testLastElement()272 LinkedBlockingDeque q = populatedDeque(SIZE); in testRemoveFirst()[all …]