Searched refs:list2 (Results 1 – 5 of 5) sorted by relevance
120 List<Integer> list2 = new ArrayList<>(); in testSpinedBuffer() local128 list2.add(it.next()); in testSpinedBuffer()130 assertEquals(list1, list2); in testSpinedBuffer()135 list2.clear(); in testSpinedBuffer()136 sb.forEach(list2::add); in testSpinedBuffer()137 assertEquals(list1, list2); in testSpinedBuffer()139 list2.clear(); in testSpinedBuffer()141 list2.add(i); in testSpinedBuffer()142 assertEquals(list1, list2); in testSpinedBuffer()195 List<Integer> list2 = new ArrayList<>(); in testIntSpinedBuffer() local[all …]
250 ArrayList list2 = new ArrayList(); in test_addAllILjava_util_Collection_2() local253 list2.add(d); in test_addAllILjava_util_Collection_2()254 list2.add(d); in test_addAllILjava_util_Collection_2()258 list1.addAll(list2); in test_addAllILjava_util_Collection_2()260 .containsAll(list2) in test_addAllILjava_util_Collection_2()261 && list2.containsAll(list1)); in test_addAllILjava_util_Collection_2()276 list2 = new ArrayList(); in test_addAllILjava_util_Collection_2()285 list2.add(integers[i]); in test_addAllILjava_util_Collection_2()288 list1.addAll(location, list2); in test_addAllILjava_util_Collection_2()1168 ArrayList<Integer> list2 = new ArrayList<>(); in test_spliterator_CME() local[all …]
109 SimpleList list2 = new SimpleList(); in test_listIterator() local110 list2.add(new Object()); in test_listIterator()111 ListIterator lit2 = list2.listIterator(); in test_listIterator()
573 LinkedList list2 = new LinkedList(ll); in test_reverseOrder() local574 Collections.sort(list2, comp); in test_reverseOrder()577 assertEquals("New comparator does not reverse sorting order", list2 in test_reverseOrder()943 ArrayList list2 = new ArrayList(); in test_rotateLjava_util_ListI() local945 list2.add(objArray[i]); in test_rotateLjava_util_ListI()947 testRotate(list2, "Random Access"); in test_rotateLjava_util_ListI()
265 ArrayList<IntegerWithExtremeComparator> list2 = in testBinarySearch_comparatorThatReturnsMinAndMaxValue() local267 list2.add(new IntegerWithExtremeComparator(4)); in testBinarySearch_comparatorThatReturnsMinAndMaxValue()268 list2.add(new IntegerWithExtremeComparator(9)); in testBinarySearch_comparatorThatReturnsMinAndMaxValue()269 list2.add(new IntegerWithExtremeComparator(11)); in testBinarySearch_comparatorThatReturnsMinAndMaxValue()270 list2.add(new IntegerWithExtremeComparator(14)); in testBinarySearch_comparatorThatReturnsMinAndMaxValue()271 list2.add(new IntegerWithExtremeComparator(16)); in testBinarySearch_comparatorThatReturnsMinAndMaxValue()273 assertEquals(1, Collections.binarySearch(list2, new IntegerWithExtremeComparator(9))); in testBinarySearch_comparatorThatReturnsMinAndMaxValue()