Home
last modified time | relevance | path

Searched refs:hasPrevious (Results 1 – 15 of 15) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DOldListIteratorTest.java68 public boolean hasPrevious() { in hasPrevious() method in OldListIteratorTest.Mock_ListIterator
109 assertFalse(l.hasPrevious()); in testRemove()
129 assertFalse(l.hasPrevious()); in testHasPrevious()
132 assertTrue(l.hasPrevious()); in testHasPrevious()
DCollectionsTest.java82 assertFalse(i.hasPrevious()); in testEmptyListIterator()
/libcore/support/src/test/java/tests/support/
DSupport_ListTest.java137 .hasPrevious()); in t_listIterator()
140 .hasPrevious()); in t_listIterator()
172 .hasPrevious()); in t_listIterator()
175 .hasPrevious()); in t_listIterator()
214 assertTrue("list iterator hasPrevious()3", !li.hasPrevious()); in t_listIterator()
/libcore/ojluni/src/main/java/java/util/
DAbstractList.java205 while (it.hasPrevious()) in lastIndexOf()
209 while (it.hasPrevious()) in lastIndexOf()
395 public boolean hasPrevious() { in hasPrevious() method in AbstractList.ListItr
712 public boolean hasPrevious() { in listIterator() method
717 if (hasPrevious()) in listIterator()
DListIterator.java95 boolean hasPrevious(); in hasPrevious() method
DLinkedList.java898 public boolean hasPrevious() { in hasPrevious() method in LinkedList.ListItr
904 if (!hasPrevious()) in previous()
996 return itr.hasPrevious(); in hasNext()
DArrayList.java893 public boolean hasPrevious() { in hasPrevious() method in ArrayList.ListItr
1115 public boolean hasPrevious() { in listIterator() method
DVector.java1203 public boolean hasPrevious() { in hasPrevious() method in ListItr
DCollections.java1327 public boolean hasPrevious() {return i.hasPrevious();} in listIterator() method
2894 public boolean hasPrevious() { return i.hasPrevious(); }
3514 public boolean hasPrevious() { return false; }
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DAbstractSequentialListTest.java79 public boolean hasPrevious() { in hasPrevious() method in AbstractSequentialListTest.Mock_unsupportedListIterator
118 public boolean hasPrevious() { in hasPrevious() method in AbstractSequentialListTest.Mock_ListIterator
321 public boolean hasPrevious() { in test_getI()
436 public boolean hasPrevious() { in test_removeI()
509 public boolean hasPrevious() { in test_setILjava_lang_Object()
DLinkedListTest.java439 .hasPrevious()); in test_listIteratorI()
469 assertTrue("li.hasPrevious() should be false", !li.hasPrevious()); in test_listIteratorI()
471 assertTrue("li.hasPrevious() should be true", li.hasPrevious()); in test_listIteratorI()
DAbstractListTest.java102 assertTrue("Should not have previous", !lit.hasPrevious()); in test_listIterator()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCopyOnWriteArrayListTest.java233 assertTrue(i.hasPrevious()); in testListIterator()
238 assertTrue(i.hasPrevious()); in testListIterator()
243 assertTrue(i.hasPrevious()); in testListIterator()
248 assertTrue(i.hasPrevious()); in testListIterator()
253 assertFalse(i.hasPrevious()); in testListIterator()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DX509CertPath.java294 while (li.hasPrevious()) { in encodePKIPATH()
/libcore/luni/src/main/java/java/util/concurrent/
DCopyOnWriteArrayList.java783 public boolean hasPrevious() { in hasPrevious() method in CopyOnWriteArrayList.CowIterator