Searched refs:nextIndex (Results 1 - 17 of 17) sorted by relevance

/libcore/luni/src/main/java/java/util/
H A DListIterator.java78 public int nextIndex(); method in interface:ListIterator
H A DAbstractSequentialList.java44 int next = it.nextIndex();
48 return next != it.nextIndex();
H A DAbstractList.java118 public int nextIndex() { method in class:AbstractList.FullListIterator
192 return iterator.nextIndex() < end;
200 if (iterator.nextIndex() < end) {
206 public int nextIndex() { method in class:AbstractList.SubAbstractList.SubAbstractListIterator
207 return iterator.nextIndex() - start;
586 return it.nextIndex();
592 return it.nextIndex();
H A DHashtable.java707 int nextIndex; field in class:Hashtable.HashIterator
715 while (next == null && nextIndex < tab.length) {
716 next = tab[nextIndex++];
734 while (next == null && nextIndex < tab.length) {
735 next = tab[nextIndex++];
748 while (next == null && nextIndex < tab.length) {
749 next = tab[nextIndex++];
H A DHashMap.java765 int nextIndex; field in class:HashMap.HashIterator
774 while (next == null && nextIndex < tab.length) {
775 next = tab[nextIndex++];
794 while (next == null && nextIndex < tab.length) {
795 next = tab[nextIndex++];
H A DCollections.java1093 @Override public int nextIndex() {
1094 return iterator.nextIndex();
2150 // starting from listIt.nextIndex().
2152 return listIt.nextIndex();
2969 @Override public int nextIndex() { method in class:Collections.CheckedListIterator
2970 return i.nextIndex();
H A DLinkedList.java127 public int nextIndex() { method in class:LinkedList.LinkIterator
/libcore/luni/src/main/java/java/util/concurrent/
H A DArrayBlockingQueue.java974 private int nextIndex; field in class:ArrayBlockingQueue.Itr
1009 nextIndex = NONE;
1014 nextItem = itemAt(nextIndex = takeIndex);
1025 // assert nextIndex >= 0;
1084 if (invalidated(nextIndex, prevTakeIndex, dequeues, len))
1085 nextIndex = REMOVED;
1089 if (cursor < 0 && nextIndex < 0 && lastRet < 0)
1101 * nextIndex < 0 && lastRet < 0) or as a special exception, when
1109 // assert nextIndex < 0;
1139 // assert nextIndex
[all...]
H A DCopyOnWriteArrayList.java726 public int nextIndex() { method in class:CopyOnWriteArrayList.CowIterator
H A DConcurrentHashMap.java1750 int nextIndex, nextBound;
1753 else if ((nextIndex = transferIndex) <= 0) {
1758 (this, TRANSFERINDEX, nextIndex,
1759 nextBound = (nextIndex > stride ?
1760 nextIndex - stride : 0))) {
1762 i = nextIndex - 1;
/libcore/support/src/test/java/tests/support/
H A DSupport_ListTest.java147 assertTrue("list iterator nextIndex(): " + i, li.nextIndex() == i);
167 assertTrue("list iterator nextIndex()2: " + i, li.nextIndex() == i);
191 assertEquals("list iterator add(), nextIndex()", 1, li.nextIndex());
200 assertEquals("list iterator add(), nextIndex()2", 2, li.nextIndex());
207 assertEquals("list iterator remove(), nextIndex()", 2, li.nextIndex());
[all...]
/libcore/luni/src/test/java/libcore/java/util/concurrent/
H A DCopyOnWriteArrayListTest.java226 assertEquals(5, i.nextIndex());
229 assertEquals(4, i.nextIndex());
234 assertEquals(3, i.nextIndex());
239 assertEquals(2, i.nextIndex());
244 assertEquals(1, i.nextIndex());
249 assertEquals(0, i.nextIndex());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DAbstractSequentialListTest.java87 public int nextIndex() { method in class:AbstractSequentialListTest.Mock_unsupportedListIterator
126 public int nextIndex() { method in class:AbstractSequentialListTest.Mock_ListIterator
329 public int nextIndex() {
444 public int nextIndex() {
517 public int nextIndex() {
H A DLinkedListTest.java444 i2.nextIndex() == n + 1);
/libcore/luni/src/test/java/libcore/java/util/
H A DOldListIteratorTest.java76 public int nextIndex() { method in class:OldListIteratorTest.Mock_ListIterator
161 assertTrue(objArray[i].equals(l.nextIndex()));
H A DCollectionsTest.java77 assertEquals(0, i.nextIndex());
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 4816 milliseconds