/libcore/luni/src/test/java/libcore/java/util/ |
D | StringJoinerTest.java | 87 assertEquals("[Hello world FooBar a!b]", sj1.merge(sj2).merge(sj3).toString()); in testMerge() 93 assertEquals("", sj1.merge(sj2).toString()); in testMergeEmpty() 98 assertEquals("|Hello world Hello world|", sj.merge(sj).toString()); in testMergeSelf() 103 new StringJoiner(" ").merge(null); in testMergeNull()
|
D | MapDefaultMethodTester.java | 407 assertEquals(10.0, m.merge(1, 10.0, (v1, v2) -> v2)); in test_merge() 412 assertEquals(25.0, m.merge(1, 15.0, (v1, v2) -> v1 + v2)); in test_merge() 417 m.merge(1, 10.0, (k, v) -> null); in test_merge() 422 m.merge(1, 5.0, null); in test_merge() 428 assertEquals(15.0, m.merge(null, 15.0, (v1, v2) -> v2)); in test_merge() 432 m.merge(null, 15.0, (v1, v2) -> v2); in test_merge()
|
D | CollectionsTest.java | 592 Collections.unmodifiableMap(new HashMap<>()).merge(1, 2.0, (k, v) -> 1.0); in test_unmodifiableMap_merge() 601 Collections.unmodifiableMap(m).merge(1, 2.0, (k, v) -> 1.0); in test_unmodifiableMap_merge() 927 assertThrowsUoe(() -> { map.merge(absentKey, absentValue, (k, v) -> absentValue); }); in check_unmodifiableOrderedMap_defaultMethods() 939 assertThrowsUoe(() -> { map.merge(sampleKey, sampleValue, (k, v) -> absentValue); }); in check_unmodifiableOrderedMap_defaultMethods() 1047 assertThrowsCce(() -> { map.merge(new Object(), presentValue, (v1, v2) -> presentValue); }); in check_map_isChecked() 1048 assertThrowsCce(() -> { map.merge(presentKey, presentValue, (v1, v2) -> new Object()); }); in check_map_isChecked() 1051 map.merge(absentKey, absentValue, (v1, v2) -> new Object()); in check_map_isChecked() 1274 Collections.emptyMap().merge(1, 5.0, (k, v) -> 5.0); in test_EmptyMap_merge() 1351 Collections.singletonMap(1, 11.0).merge(1, 5.0, (k, v) -> 5.0); in test_SingletonMap_merge() 1620 checkedMap2.merge(1, A_STRING, (v1, v2) -> NOT_A_STRING); in test_CheckedMap_merge()
|
D | LinkedHashMapTest.java | 216 m.merge("key1", "value3", (k, v) -> "value3"); in test_merge()
|
/libcore/ojluni/src/main/java/java/util/ |
D | StringJoiner.java | 208 public StringJoiner merge(StringJoiner other) { in merge() method in StringJoiner
|
D | Map.java | 1233 default V merge(K key, V value, in merge() method
|
/libcore/luni/ |
D | bouncycastle-license.txt | 7 without limitation the rights to use, copy, modify, merge, publish,
|
D | unicode-license.txt | 26 rights to use, copy, modify, merge, publish, distribute, and/or sell copies of
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | JarIndex.java | 95 public void merge(sun.misc.JarIndex toIndex, java.lang.String path) { in merge() method in JarIndex
|
/libcore/ |
D | NOTICE | 42 without limitation the rights to use, copy, modify, merge, publish, 77 without limitation the rights to use, copy, modify, merge, publish,
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentMap.java | 477 default V merge(K key, V value, in merge() method
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | ConstraintsChecker.java | 208 prevNC.merge(newConstraints); in mergeNameConstraints()
|
D | Builder.java | 330 constraints.merge(ncExt); in targetDistance()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Collectors.java | 300 StringJoiner::add, StringJoiner::merge, 320 m1.merge(e.getKey(), e.getValue(), mergeFunction); 1320 = (map, element) -> map.merge(keyMapper.apply(element), 1472 = (map, element) -> map.merge(keyMapper.apply(element),
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | JarIndex.java | 340 public void merge(JarIndex toIndex, String path) { in merge() method in JarIndex
|
D | URLClassPath.java | 1125 newIndex.merge(this.index, (pos == -1 ?
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | HashMap.annotated.java | 81 @libcore.util.Nullable public V merge(@libcore.util.NullFromTypeParam K key, @libcore.util.NonNull … in merge() method in HashMap
|
D | Map.annotated.java | 82 @libcore.util.Nullable public default V merge(@libcore.util.NullFromTypeParam K key, @libcore.util.… in merge() method
|
/libcore/ojluni/annotations/mmodule/java/security/ |
D | Provider.annotated.java | 81 public synchronized java.lang.Object merge(java.lang.Object key, java.lang.Object value, java.util.… in merge() method in Provider
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | NameConstraintsExtension.java | 335 public void merge(NameConstraintsExtension newConstraints) in merge() method in NameConstraintsExtension
|
/libcore/ojluni/src/main/java/java/security/ |
D | Provider.java | 605 …public synchronized Object merge(Object key, Object value, BiFunction<? super Object, ? super Obj… in merge() method in Provider 809 legacyStrings.merge((String)key, (String)value, in implMerge() 812 return super.merge(key, value, remappingFunction); in implMerge()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ConcurrentHashMap8Test.java | 147 assertEquals("Y", map.merge(six, "Y", (x, y) -> "Z")); in testMerge1() 155 assertEquals("Z", map.merge(one, "Y", (x, y) -> "Z")); in testMerge2() 163 map.merge(one, "Y", (x, y) -> null); in testMerge3()
|
D | RecursiveActionTest.java | 1220 merge(lo, mid, hi); in compute() 1228 void merge(int lo, int mid, int hi) { in merge() method in RecursiveActionTest.SortTask
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | TabulatorsTest.java | 370 (j1, j2) -> j1.merge(j2)) 379 (j1, j2) -> j1.merge(j2))
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | HashMap.java | 180 public V merge( in merge() method in HashMap
|