Searched refs:alist (Results 1 – 2 of 2) sorted by relevance
40 List alist; field in ArrayListTest49 new Support_ListTest("", alist).runTest(); in test_Constructor()108 alist.add(50, o = new Object()); in test_addILjava_lang_Object()109 assertTrue("Failed to add Object", alist.get(50) == o); in test_addILjava_lang_Object()111 alist.get(51) == objArray[50] in test_addILjava_lang_Object()112 && (alist.get(52) == objArray[51])); in test_addILjava_lang_Object()113 Object oldItem = alist.get(25); in test_addILjava_lang_Object()114 alist.add(25, null); in test_addILjava_lang_Object()115 assertNull("Should have returned null", alist.get(25)); in test_addILjava_lang_Object()116 assertTrue("Should have returned the old item from slot 25", alist in test_addILjava_lang_Object()[all …]
659 private final AbstractList<E> alist; field in AbstractList.RandomAccessSpliterator669 this.alist = list instanceof AbstractList ? (AbstractList<E>) list : null; in RandomAccessSpliterator()670 this.expectedModCount = alist != null ? alist.modCount : 0; in RandomAccessSpliterator()680 this.alist = parent.alist; in RandomAccessSpliterator()688 if (alist != null) { in getFence()689 expectedModCount = alist.modCount; in getFence()709 checkAbstractListModCount(alist, expectedModCount); in tryAdvance()724 checkAbstractListModCount(alist, expectedModCount); in forEachRemaining()743 static void checkAbstractListModCount(AbstractList<?> alist, int expectedModCount) { in checkAbstractListModCount() argument744 if (alist != null && alist.modCount != expectedModCount) { in checkAbstractListModCount()