Home
last modified time | relevance | path

Searched refs:rev (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/test/java/util/SequencedCollection/
DBasic.java325 for (boolean rev : List.of(false, true)) { in iteratorMods()
327 new Object[] { "ArrayList", rev, new ArrayList<>(ORIGINAL), ORIGINAL }, in iteratorMods()
328 new Object[] { "LinkedList", rev, new LinkedList<>(ORIGINAL), ORIGINAL }, in iteratorMods()
329 new Object[] { "SimpleList", rev, new SimpleList<>(ORIGINAL), ORIGINAL } in iteratorMods()
766 … public void testListIteratorAdd(String label, boolean rev, List<String> list, List<String> base) { in testListIteratorAdd() argument
768 var it = (rev ? list.reversed() : list).listIterator(); in testListIteratorAdd()
770 ref.add(rev ? 5 : 2, "x"); in testListIteratorAdd()
775 assertEquals(it.next(), rev ? "e" : "c"); in testListIteratorAdd()
780 … public void testListIteratorSet(String label, boolean rev, List<String> list, List<String> base) { in testListIteratorSet() argument
782 var it = (rev ? list.reversed() : list).listIterator(); in testListIteratorSet()
[all …]
DBasicMap.java656 …public void testUnposPut(String label, boolean rev, SequencedMap<String, Integer> map, List<Map.En… in testUnposPut() argument
659 (rev ? map.reversed() : map).put("x", 99); in testUnposPut()
664 …public void testUnposPutAll(String label, boolean rev, SequencedMap<String, Integer> map, List<Map… in testUnposPutAll() argument
667 (rev ? map.reversed() : map).putAll(Map.of("x", 99)); in testUnposPutAll()
672 …public void testUnposPutIfAbsent(String label, boolean rev, SequencedMap<String, Integer> map, Lis… in testUnposPutIfAbsent() argument
675 (rev ? map.reversed() : map).putIfAbsent("x", 99); in testUnposPutIfAbsent()
680 …public void testUnposCompute(String label, boolean rev, SequencedMap<String, Integer> map, List<Ma… in testUnposCompute() argument
683 (rev ? map.reversed() : map).compute("x", (k, v) -> 99); in testUnposCompute()
688 …public void testUnposComputeIfAbsent(String label, boolean rev, SequencedMap<String, Integer> map,… in testUnposComputeIfAbsent() argument
691 (rev ? map.reversed() : map).computeIfAbsent("x", k -> 99); in testUnposComputeIfAbsent()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStringBuffer2Test.java499 private void reverseTest(String id, String org, String rev, String back) { in reverseTest() argument
505 reversed.equals(rev)); in reverseTest()
520 reversed.equals(rev)); in reverseTest()
523 assertEquals(rev, copy); in reverseTest()
DStringBuilderTest.java1565 private void reverseTest(String org, String rev, String back) { in reverseTest() argument
1570 assertEquals(rev, reversed); in reverseTest()
1583 assertEquals(rev, reversed); in reverseTest()
1586 assertEquals(rev, copy); in reverseTest()
/libcore/ojluni/src/main/
DNOTICE110 This locale data is based on the ICU's Vietnamese locale data (rev. 1.38)
113 http://oss.software.ibm.com/cvs/icu/icu/source/data/locales/vi.txt?rev=1.38
/libcore/tools/expected_upstream/
DREADME.md211 git rev-parse HEAD # a sha is printed and you will need it later
/libcore/ojluni/src/main/java/java/util/
DCollections.java438 ListIterator rev = list.listIterator(size); in reverse() local
441 fwd.set(rev.previous()); in reverse()
442 rev.set(tmp); in reverse()