/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | CopyOnWriteArrayListTest.java | 55 List<String> bcd = list.subList(1, 4); in testSubListAndNonStructuralChanges() 67 List<String> bcd = list.subList(1, 4); in testSubListAndStructuralChanges() 79 List<String> bcd = list.subList(1, 4); in testSubListAndSizePreservingStructuralChanges() 106 List<String> bcd = list.subList(1, 4); in testSubListClear() 114 new CopyOnWriteArrayList<String>().subList(0, 0).clear(); // the RI fails here in testSubListClearWhenEmpty() 120 Iterator<String> bcd = list.subList(1, 4).iterator(); in testSubListIteratorGetsSnapshot() 131 List<String> bcd = list.subList(1, 4); in testSubListRemoveByValue() 140 List<String> bcd = list.subList(1, 4); in testSubListRemoveByIndex() 149 List<String> def = list.subList(3, 6); in testSubListRetainAll() 158 List<String> def = list.subList(3, 6); in testSubListRemoveAll() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | AbstractListTest.java | 133 List sList = mList.subList(0, 2); in test_subListII() 165 al.subList(3, 7) instanceof RandomAccess); in test_subListII() 173 !(ll.subList(3, 7) instanceof RandomAccess)); in test_subListII() 184 List emptySubList = al.subList(0, 0); in test_subList_empty() 285 List subList = mainList.subList(1, 2); in test_subList_addAll() local 286 assertFalse("subList should not contain \"a\"", subList.contains("a")); in test_subList_addAll() 287 assertFalse("subList should not contain \"c\"", subList.contains("c")); in test_subList_addAll() 288 assertTrue("subList should contain \"b\"", subList.contains("b")); in test_subList_addAll() 291 subList.addAll(Arrays.asList(subObjects)); in test_subList_addAll() 292 assertFalse("subList should not contain \"a\"", subList.contains("a")); in test_subList_addAll() [all …]
|
D | ConcurrentModTest.java | 44 List sub = al.subList(1, 3); in testGet() 88 List sub = al.subList(1, 3); in testSet() 118 List sub = al.subList(1, 3); in testAdd() 148 List sub = al.subList(1, 3); in testRemove() 214 List sub = al.subList(1, 3); in testAddAll()
|
D | CollectionsTest.java | 960 List subList = list.subList(1, 5); in testRotate() local 961 Collections.rotate(subList, -1); in testRotate() 966 Collections.rotate(subList, 2); in testRotate() 1081 sub = new ArrayList(src.subList(3, 11)); in test_indexOfSubList2() 1086 sub = new ArrayList(src.subList(6, 11)); in test_indexOfSubList2() 1091 sub = new ArrayList(src.subList(0, 3)); in test_indexOfSubList2() 1096 sub = new ArrayList(src.subList(9, 11)); in test_indexOfSubList2() 1101 sub = new ArrayList(src.subList(10, 11)); in test_indexOfSubList2() 1106 sub = new ArrayList(src.subList(0, 11)); in test_indexOfSubList2() 1194 sub = new ArrayList(src.subList(0, 8)); in test_lastIndexOfSubList2() [all …]
|
D | ArrayListTest.java | 44 ArrayList subList = new ArrayList(); in test_Constructor() local 46 subList.add(new Integer(i)); in test_Constructor() 47 new Support_ListTest("", subList.subList(50, 150)).runTest(); in test_Constructor()
|
D | LinkedListTest.java | 61 LinkedList subList = new LinkedList(); in test_Constructor() local 63 subList.add(new Integer(i)); in test_Constructor() 64 new Support_ListTest("", subList.subList(50, 150)).runTest(); in test_Constructor()
|
D | VectorTest.java | 52 new Support_ListTest("", tv.subList(50, 150)).runTest(); in test_Constructor() 1239 List sl = tVector.subList(10, 25); in test_subListII()
|
/libcore/luni/src/main/java/java/util/ |
D | AbstractList.java | 169 private final SubAbstractList<E> subList; field in AbstractList.SubAbstractList.SubAbstractListIterator 180 subList = list; in SubAbstractListIterator() 187 subList.sizeChanged(true); in add() 227 subList.sizeChanged(false); in remove() 728 public List<E> subList(int start, int end) { in subList() method in AbstractList
|
D | List.java | 329 public List<E> subList(int start, int end); in subList() method
|
D | Collections.java | 481 @Override public List<E> subList(int start, int end) { 483 return new SynchronizedRandomAccessList<E>(list.subList(start, end), mutex); 619 @Override public List<E> subList(int start, int end) { 621 return new SynchronizedList<E>(list.subList(start, end), mutex); 1006 @Override public List<E> subList(int start, int end) { 1007 return new UnmodifiableRandomAccessList<E>(list.subList(start, end)); 1119 @Override public List<E> subList(int start, int end) { 1120 return new UnmodifiableList<E>(list.subList(start, end)); 2002 List<Object> sublist1 = list.subList(0, divideIndex); 2003 List<Object> sublist2 = list.subList(divideIndex, size); [all …]
|
D | Vector.java | 960 public synchronized List<E> subList(int start, int end) { in subList() method 961 return new Collections.SynchronizedRandomAccessList<E>(super.subList( in subList()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CopyOnWriteArrayListTest.java | 472 assertTrue(a.subList(1,1).isEmpty()); in testSubList() 475 List b = a.subList(j,i); in testSubList() 482 List s = a.subList(2, 5); in testSubList() 656 c.subList(-1,100); in testSubList1_IndexOutOfBoundsException() 668 c.subList(1,100); in testSubList2_IndexOutOfBoundsException() 680 c.subList(3,1); in testSubList3_IndexOutOfBoundsException()
|
/libcore/luni/src/main/java/libcore/util/ |
D | CollectionUtils.java | 95 list.subList(j, list.size()).clear();
|
/libcore/support/src/test/java/tests/support/ |
D | Support_ListTest.java | 97 List<Integer> mySubList = list.subList(50, 53); in runTest()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | CopyOnWriteArrayList.java | 214 public List<E> subList(int from, int to) { in subList() method in CopyOnWriteArrayList 552 @Override public List<E> subList(int from, int to) { in subList() method in CopyOnWriteArrayList.CowSubList
|
/libcore/benchmarks/libs/ |
D | caliper.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |