Home
last modified time | relevance | path

Searched refs:hasPrevious (Results 1 – 21 of 21) 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.java119 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/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/ojluni/src/main/java/java/util/
DListIterator.java95 boolean hasPrevious(); in hasPrevious() method
DAbstractList.java213 while (it.hasPrevious()) in lastIndexOf()
217 while (it.hasPrevious()) in lastIndexOf()
408 public boolean hasPrevious() { in hasPrevious() method in AbstractList.ListItr
853 public boolean hasPrevious() { in listIterator() method
858 if (hasPrevious()) in listIterator()
DLinkedList.java898 public boolean hasPrevious() { in hasPrevious() method in LinkedList.ListItr
904 if (!hasPrevious()) in previous()
995 return itr.hasPrevious(); in hasNext()
DArrayList.java922 public boolean hasPrevious() { in hasPrevious() method in ArrayList.ListItr
1144 public boolean hasPrevious() { in listIterator() method
DVector.java1213 public boolean hasPrevious() { in hasPrevious() method in ListItr
DCollections.java1390 public boolean hasPrevious() {return i.hasPrevious();} in listIterator() method
3507 public boolean hasPrevious() { return i.hasPrevious(); }
4292 public boolean hasPrevious() { return false; }
/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/annotations/hiddenapi/java/util/concurrent/
DCopyOnWriteArrayList.java286 public boolean hasPrevious() { in hasPrevious() method in CopyOnWriteArrayList.COWIterator
447 public boolean hasPrevious() { in hasPrevious() method in CopyOnWriteArrayList.COWSubListIterator
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixPath.java553 boolean hasPrevious = false; in normalize()
556 hasPrevious = true; in normalize()
560 if (!hasPrevious) { in normalize()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DX509CertPath.java294 while (li.hasPrevious()) { in encodePKIPATH()
/libcore/ojluni/src/main/java/java/util/concurrent/
DCopyOnWriteArrayList.java1074 public boolean hasPrevious() { in hasPrevious() method in CopyOnWriteArrayList.COWIterator
1087 if (! hasPrevious()) in previous()
1500 public boolean hasPrevious() { in hasPrevious() method in CopyOnWriteArrayList.COWSubListIterator
1505 if (hasPrevious()) in previous()
/libcore/ojluni/annotations/hiddenapi/java/util/
DVector.java327 public boolean hasPrevious() { in hasPrevious() method in Vector.ListItr
DLinkedList.java367 public boolean hasPrevious() { in hasPrevious() method in LinkedList.ListItr
DArrayList.java323 public boolean hasPrevious() { in hasPrevious() method in ArrayList.ListItr
DCollections.java1603 public boolean hasPrevious() { in hasPrevious() method in Collections.EmptyListIterator