Searched refs:allElements (Results 1 – 2 of 2) sorted by relevance
41 List<Integer> allElements = new ArrayList<Integer>(); in setUp() local46 allElements.add(i); in setUp()49 Collections.shuffle(allElements, random); in setUp()52 pq.add(allElements.get(i)); in setUp()53 seekElements.add(allElements.get(i)); in setUp()57 pq.add(allElements.get(i)); in setUp()61 seekElements.add(allElements.get(i)); in setUp()
274 ArrayList<T> allElements = new ArrayList<>(); in runDistinctTests() local281 spliterator.forEachRemaining(value -> { distinct.add(value); allElements.add(value); }); in runDistinctTests()284 split1.forEachRemaining(value -> { distinct.add(value); allElements.add(value); }); in runDistinctTests()286 assertEquals(distinct.size(), allElements.size()); in runDistinctTests()289 allElements.clear(); in runDistinctTests()294 while (spliterator.tryAdvance(value -> { distinct.add(value); allElements.add(value); })) { in runDistinctTests()299 while (split1.tryAdvance(value -> { distinct.add(value); allElements.add(value); })) { in runDistinctTests()303 assertEquals(distinct.size(), allElements.size()); in runDistinctTests()