/libcore/support/src/test/java/tests/support/ |
D | Support_ListTest.java | 149 .previousIndex() == i - 1); in t_listIterator() 169 .previousIndex() == i - 1); in t_listIterator() 193 0, li.previousIndex()); in t_listIterator() 202 1, li.previousIndex()); in t_listIterator() 209 .previousIndex()); in t_listIterator() 218 assertEquals("list iterator previousIndex()3", -1, li.previousIndex()); in t_listIterator()
|
/libcore/ojluni/src/main/java/java/util/ |
D | AbstractList.java | 182 return it.previousIndex(); in indexOf() 186 return it.previousIndex(); in indexOf() 416 public int previousIndex() { in previousIndex() method in AbstractList.ListItr 713 return previousIndex() >= 0; in listIterator() 727 public int previousIndex() { in listIterator() method 728 return i.previousIndex() - offset; in listIterator()
|
D | ListIterator.java | 131 int previousIndex(); in previousIndex() method
|
D | ArrayList.java | 930 public int previousIndex() { in previousIndex() method in ArrayList.ListItr 1187 public int previousIndex() { in listIterator() method
|
D | Vector.java | 1214 public int previousIndex() { in previousIndex() method in ListItr
|
D | LinkedList.java | 916 public int previousIndex() { in previousIndex() method in LinkedList.ListItr
|
D | Collections.java | 1388 public int previousIndex() {return i.previousIndex();} in listIterator() method 3502 public int previousIndex() { return i.previousIndex(); } 4284 public int previousIndex() { return -1; }
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | AbstractSequentialListTest.java | 95 public int previousIndex() { in previousIndex() method in AbstractSequentialListTest.Mock_unsupportedListIterator 134 public int previousIndex() { in previousIndex() method in AbstractSequentialListTest.Mock_ListIterator 337 public int previousIndex() { in test_getI() 452 public int previousIndex() { in test_removeI() 525 public int previousIndex() { in test_setILjava_lang_Object()
|
D | LinkedListTest.java | 451 + i2.previousIndex() + ", n val: " + n, i2 in test_listIteratorI() 452 .previousIndex() == n); in test_listIteratorI()
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | CopyOnWriteArrayListTest.java | 228 assertEquals(4, i.previousIndex()); in testListIterator() 231 assertEquals(3, i.previousIndex()); in testListIterator() 236 assertEquals(2, i.previousIndex()); in testListIterator() 241 assertEquals(1, i.previousIndex()); in testListIterator() 246 assertEquals(0, i.previousIndex()); in testListIterator() 251 assertEquals(-1, i.previousIndex()); in testListIterator()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldListIteratorTest.java | 84 public int previousIndex() { in previousIndex() method in OldListIteratorTest.Mock_ListIterator 168 assertTrue(objArray[i].equals(l.previousIndex() + 1)); in testPreviousIndex()
|
D | CollectionsTest.java | 121 assertEquals(-1, i.previousIndex()); in testEmptyListIterator()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | CopyOnWriteArrayList.java | 1101 public int previousIndex() { in previousIndex() method in CopyOnWriteArrayList.COWIterator 1506 return previousIndex() >= 0; in hasPrevious() 1520 public int previousIndex() { in previousIndex() method in CopyOnWriteArrayList.COWSubListIterator 1521 return it.previousIndex() - offset; in previousIndex()
|