/libcore/luni/src/main/java/java/util/ |
H A D | ListIterator.java | 78 public int nextIndex(); method in interface:ListIterator
|
H A D | AbstractSequentialList.java | 44 int next = it.nextIndex(); 48 return next != it.nextIndex();
|
H A D | AbstractList.java | 118 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 D | Hashtable.java | 712 int nextIndex; field in class:Hashtable.HashIterator 720 while (next == null && nextIndex < tab.length) { 721 next = tab[nextIndex++]; 739 while (next == null && nextIndex < tab.length) { 740 next = tab[nextIndex++]; 753 while (next == null && nextIndex < tab.length) { 754 next = tab[nextIndex++];
|
H A D | HashMap.java | 770 int nextIndex; field in class:HashMap.HashIterator 779 while (next == null && nextIndex < tab.length) { 780 next = tab[nextIndex++]; 799 while (next == null && nextIndex < tab.length) { 800 next = tab[nextIndex++];
|
H A D | Collections.java | 1089 @Override public int nextIndex() { 1090 return iterator.nextIndex(); 2136 // starting from listIt.nextIndex(). 2138 return listIt.nextIndex(); 2954 @Override public int nextIndex() { method in class:Collections.CheckedListIterator 2955 return i.nextIndex();
|
H A D | LinkedList.java | 127 public int nextIndex() { method in class:LinkedList.LinkIterator
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ArrayBlockingQueue.java | 984 private int nextIndex; field in class:ArrayBlockingQueue.Itr 1019 nextIndex = NONE; 1024 nextItem = itemAt(nextIndex = takeIndex); 1035 // assert nextIndex >= 0; 1095 if (invalidated(nextIndex, prevTakeIndex, dequeues, len)) 1096 nextIndex = REMOVED; 1100 if (cursor < 0 && nextIndex < 0 && lastRet < 0) 1112 * nextIndex < 0 && lastRet < 0) or as a special exception, when 1120 // assert nextIndex < 0; 1150 // assert nextIndex [all...] |
H A D | CopyOnWriteArrayList.java | 726 public int nextIndex() { method in class:CopyOnWriteArrayList.CowIterator
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_ListTest.java | 147 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/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | TrustManagerImpl.java | 327 for (int nextIndex = currIndex + 1; nextIndex < chain.length; nextIndex++) { 328 if (chain[currIndex].getIssuerDN().equals(chain[nextIndex].getSubjectDN())) { 331 if (nextIndex != currIndex + 1) { 336 X509Certificate tempCertificate = chain[nextIndex]; 337 chain[nextIndex] = chain[currIndex + 1];
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
H A D | CopyOnWriteArrayListTest.java | 226 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/luni/src/test/java/tests/api/java/util/ |
H A D | AbstractSequentialListTest.java | 87 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 D | LinkedListTest.java | 372 i2.nextIndex() == n + 1);
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | OldListIteratorTest.java | 76 public int nextIndex() { method in class:OldListIteratorTest.Mock_ListIterator 161 assertTrue(objArray[i].equals(l.nextIndex()));
|
H A D | CollectionsTest.java | 74 assertEquals(0, i.nextIndex());
|