/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/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/ojluni/src/main/java/java/util/ |
D | AbstractList.java | 189 return it.previousIndex(); in indexOf() 193 return it.previousIndex(); in indexOf() 429 public int previousIndex() { in previousIndex() method in AbstractList.ListItr 854 return previousIndex() >= 0; in listIterator() 868 public int previousIndex() { in listIterator() method 869 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 | 1221 public int previousIndex() { in previousIndex() method in ListItr
|
D | LinkedList.java | 916 public int previousIndex() { in previousIndex() method in LinkedList.ListItr
|
D | Collections.java | 1393 public int previousIndex() {return i.previousIndex();} in listIterator() method 3510 public int previousIndex() { return i.previousIndex(); } 4295 public int previousIndex() { return -1; }
|
/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 | 126 assertEquals(-1, i.previousIndex()); in testEmptyListIterator()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | CopyOnWriteArrayList.java | 302 public int previousIndex() { in previousIndex() method in CopyOnWriteArrayList.COWIterator 459 public int previousIndex() { in previousIndex() method in CopyOnWriteArrayList.COWSubListIterator
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | CopyOnWriteArrayList.java | 1096 public int previousIndex() { in previousIndex() method in CopyOnWriteArrayList.COWIterator 1501 return previousIndex() >= 0; in hasPrevious() 1515 public int previousIndex() { in previousIndex() method in CopyOnWriteArrayList.COWSubListIterator 1516 return it.previousIndex() - offset; in previousIndex()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Vector.java | 335 public int previousIndex() { in previousIndex() method in Vector.ListItr
|
D | LinkedList.java | 379 public int previousIndex() { in previousIndex() method in LinkedList.ListItr
|
D | ArrayList.java | 331 public int previousIndex() { in previousIndex() method in ArrayList.ListItr
|
D | Collections.java | 1615 public int previousIndex() { in previousIndex() method in Collections.EmptyListIterator
|