Searched refs:li (Results 1 – 7 of 7) sorted by relevance
/libcore/support/src/test/java/tests/support/ |
D | Support_ListTest.java | 116 ListIterator<Integer> li = list.listIterator(); in runTest() local 117 for (int counter = 0; li.hasNext(); counter++) { in runTest() 119 elem = li.next(); in runTest() 129 ListIterator<Integer> li = list.listIterator(1); in t_listIterator() local 130 assertTrue("listIterator(1)", li.next() == list.get(1)); in t_listIterator() 133 li = list.listIterator(); in t_listIterator() 136 assertTrue("list iterator hasPrevious(): " + i, !li in t_listIterator() 139 assertTrue("list iterator hasPrevious(): " + i, li in t_listIterator() 143 assertTrue("list iterator hasNext(): " + i, !li.hasNext()); in t_listIterator() 145 assertTrue("list iterator hasNext(): " + i, li.hasNext()); in t_listIterator() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | List.java | 411 final ListIterator<E> li = this.listIterator(); in replaceAll() local 412 while (li.hasNext()) { in replaceAll() 413 li.set(operator.apply(li.next())); in replaceAll()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | ForwardState.java | 239 ListIterator<PKIXCertPathChecker> li = in clone() local 241 while (li.hasNext()) { in clone() 242 PKIXCertPathChecker checker = li.next(); in clone() 244 li.set((PKIXCertPathChecker)checker.clone()); in clone()
|
D | X509CertPath.java | 289 ListIterator<X509Certificate> li = certs.listIterator(certs.size()); in encodePKIPATH() local 294 while (li.hasPrevious()) { in encodePKIPATH() 295 X509Certificate cert = li.previous(); in encodePKIPATH()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | LinkedListTest.java | 468 ListIterator li = myList.listIterator(); in test_listIteratorI() local 469 assertTrue("li.hasPrevious() should be false", !li.hasPrevious()); in test_listIteratorI() 470 assertNull("li.next() should be null", li.next()); in test_listIteratorI() 471 assertTrue("li.hasPrevious() should be true", li.hasPrevious()); in test_listIteratorI() 472 assertNull("li.prev() should be null", li.previous()); in test_listIteratorI() 473 assertNull("li.next() should be null", li.next()); in test_listIteratorI() 474 assertEquals("li.next() should be Blah", "Blah", li.next()); in test_listIteratorI() 475 assertNull("li.next() should be null", li.next()); in test_listIteratorI() 476 assertEquals("li.next() should be Booga", "Booga", li.next()); in test_listIteratorI() 477 assertTrue("li.hasNext() should be true", li.hasNext()); in test_listIteratorI() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldCollectionsTest.java | 854 List<Integer> li = Collections.emptyList(); in test_emptyList() local 856 assertTrue(ls.equals(li)); in test_emptyList() 857 assertTrue(li.equals(Collections.EMPTY_LIST)); in test_emptyList()
|
/libcore/ojluni/ |
D | NOTICE | 1486 <li>Set the metadata of the new text to the metadata of the first 1487 character replaced</li> 1488 <li>If no characters are replaced, use the metadata of the 1489 previous character</li> 1490 <li>If there is no previous character (i.e. start == 0), use the 1491 following character</li> 1492 <li>If there is no following character (i.e. the replaceable was 1494 <li>If the code point U+FFFF is seen, it should be interpreted as 1495 a special marker having no metadata<li> 1496 </li>
|