/libcore/luni/src/main/java/java/util/ |
H A D | ListIterator.java | 99 public int previousIndex(); method in interface:ListIterator
|
H A D | AbstractList.java | 136 public int previousIndex() { method in class:AbstractList.FullListIterator 196 return iterator.previousIndex() >= start; 211 if (iterator.previousIndex() >= start) { 217 public int previousIndex() { method in class:AbstractList.SubAbstractList.SubAbstractListIterator 218 int previous = iterator.previousIndex(); 547 return it.previousIndex(); 553 return it.previousIndex();
|
H A D | Collections.java | 1097 @Override public int previousIndex() { 1098 return iterator.previousIndex(); 1428 return it.previousIndex(); 1430 return -it.previousIndex() - 1; 1483 return it.previousIndex(); 1485 return -it.previousIndex() - 1; 2951 @Override public int previousIndex() { method in class:Collections.CheckedListIterator 2952 return i.previousIndex();
|
H A D | LinkedList.java | 144 public int previousIndex() { method in class:LinkedList.LinkIterator
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_ListTest.java | 148 assertTrue("list iterator previousIndex(): " + i, li 149 .previousIndex() == i - 1); 168 assertTrue("list iterator previousIndex()2: " + i, li 169 .previousIndex() == i - 1); 192 assertEquals("list iterator add(), previousIndex()", 193 0, li.previousIndex()); 201 assertEquals("list iterator add(), previousIndex()2", 202 1, li.previousIndex()); 208 assertEquals("list iterator remove(), previousIndex()", 1, li 209 .previousIndex()); [all...] |
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
H A D | CopyOnWriteArrayListTest.java | 227 assertEquals(4, i.previousIndex()); 230 assertEquals(3, i.previousIndex()); 235 assertEquals(2, i.previousIndex()); 240 assertEquals(1, i.previousIndex()); 245 assertEquals(0, i.previousIndex()); 250 assertEquals(-1, i.previousIndex());
|
/libcore/luni/src/test/java/tests/api/java/util/ |
H A D | AbstractSequentialListTest.java | 95 public int previousIndex() { method in class:AbstractSequentialListTest.Mock_unsupportedListIterator 134 public int previousIndex() { method in class:AbstractSequentialListTest.Mock_ListIterator 337 public int previousIndex() { 452 public int previousIndex() { 525 public int previousIndex() {
|
H A D | LinkedListTest.java | 373 assertTrue("previousIndex returned incorrect value : " 374 + i2.previousIndex() + ", n val: " + n, i2 375 .previousIndex() == n);
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | OldListIteratorTest.java | 84 public int previousIndex() { method in class:OldListIteratorTest.Mock_ListIterator 168 assertTrue(objArray[i].equals(l.previousIndex() + 1));
|
H A D | CollectionsTest.java | 80 assertEquals(-1, i.previousIndex());
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | CopyOnWriteArrayList.java | 739 public int previousIndex() { method in class:CopyOnWriteArrayList.CowIterator
|
/libcore/benchmarks/libs/ |
H A D | caliper.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ... |