Home
last modified time | relevance | path

Searched refs:previousIndex (Results 1 – 18 of 18) sorted by relevance

/libcore/support/src/test/java/tests/support/
DSupport_ListTest.java149 .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/
DAbstractSequentialListTest.java95 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()
DLinkedListTest.java451 + i2.previousIndex() + ", n val: " + n, i2 in test_listIteratorI()
452 .previousIndex() == n); in test_listIteratorI()
/libcore/ojluni/src/main/java/java/util/
DAbstractList.java189 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()
DListIterator.java131 int previousIndex(); in previousIndex() method
DArrayList.java930 public int previousIndex() { in previousIndex() method in ArrayList.ListItr
1187 public int previousIndex() { in listIterator() method
DVector.java1221 public int previousIndex() { in previousIndex() method in ListItr
DLinkedList.java916 public int previousIndex() { in previousIndex() method in LinkedList.ListItr
DCollections.java1393 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/
DCopyOnWriteArrayListTest.java228 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/
DOldListIteratorTest.java84 public int previousIndex() { in previousIndex() method in OldListIteratorTest.Mock_ListIterator
168 assertTrue(objArray[i].equals(l.previousIndex() + 1)); in testPreviousIndex()
DCollectionsTest.java126 assertEquals(-1, i.previousIndex()); in testEmptyListIterator()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DCopyOnWriteArrayList.java302 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/
DCopyOnWriteArrayList.java1096 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/
DVector.java335 public int previousIndex() { in previousIndex() method in Vector.ListItr
DLinkedList.java379 public int previousIndex() { in previousIndex() method in LinkedList.ListItr
DArrayList.java331 public int previousIndex() { in previousIndex() method in ArrayList.ListItr
DCollections.java1615 public int previousIndex() { in previousIndex() method in Collections.EmptyListIterator