Searched refs:queueIterator (Results 1 – 2 of 2) sorted by relevance
767 Iterator<Integer> queueIterator = queue.iterator(); in testRandomAddsAndRemoves() local769 while (queueIterator.hasNext()) { in testRandomAddsAndRemoves()770 Integer element = queueIterator.next(); in testRandomAddsAndRemoves()775 queueIterator.remove(); in testRandomAddsAndRemoves()803 Iterator<Element> queueIterator = queue.iterator(); in testRandomAddsAndRemoves_duplicateElements() local805 while (queueIterator.hasNext()) { in testRandomAddsAndRemoves_duplicateElements()806 Element element = queueIterator.next(); in testRandomAddsAndRemoves_duplicateElements()811 queueIterator.remove(); in testRandomAddsAndRemoves_duplicateElements()