Searched refs:previousIndex (Results 1 - 12 of 12) sorted by relevance

/libcore/luni/src/main/java/java/util/
H A DListIterator.java99 public int previousIndex(); method in interface:ListIterator
H A DAbstractList.java136 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 DCollections.java1097 @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 DLinkedList.java144 public int previousIndex() { method in class:LinkedList.LinkIterator
/libcore/support/src/test/java/tests/support/
H A DSupport_ListTest.java148 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 DCopyOnWriteArrayListTest.java227 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 DAbstractSequentialListTest.java95 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 DLinkedListTest.java373 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 DOldListIteratorTest.java84 public int previousIndex() { method in class:OldListIteratorTest.Mock_ListIterator
168 assertTrue(objArray[i].equals(l.previousIndex() + 1));
H A DCollectionsTest.java80 assertEquals(-1, i.previousIndex());
/libcore/luni/src/main/java/java/util/concurrent/
H A DCopyOnWriteArrayList.java739 public int previousIndex() { method in class:CopyOnWriteArrayList.CowIterator
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 4032 milliseconds