HomeSort by relevance Sort by last modified time
    Searched defs:computeIfAbsent (Results 1 - 25 of 43) sorted by null

1 2

  /external/turbine/java/com/google/turbine/binder/
ClassPathBinder.java 105 transitive.computeIfAbsent(
  /libcore/ojluni/src/main/java/java/util/concurrent/
ConcurrentMap.java 327 default V computeIfAbsent(K key,
ConcurrentSkipListMap.java     [all...]
ConcurrentHashMap.java 140 * {@link #computeIfAbsent computeIfAbsent}. For example, to add a count
142 * {@code freqs.computeIfAbsent(key, k -> new LongAdder()).increment();}
285 * placeholders while establishing values in computeIfAbsent and
    [all...]
  /libcore/ojluni/src/main/java/java/util/
Map.java     [all...]
Hashtable.java     [all...]
HashMap.java     [all...]
  /libcore/luni/src/test/java/libcore/java/util/
MapDefaultMethodTester.java 303 assertEquals(5.0, m.computeIfAbsent(1, (k) -> 5.0 * k));
308 assertEquals(1.0, m.computeIfAbsent(1, k -> 6.0 * k));
313 assertEquals(1.0, m.computeIfAbsent(1, k -> null));
317 assertNull(m.computeIfAbsent(100, k-> null));
321 m.computeIfAbsent(1, null);
328 assertEquals(1.0, m.computeIfAbsent(1, k -> 1.0));
334 assertEquals(1.0, m.computeIfAbsent(null, (k) -> 5.0 * k));
337 m.computeIfAbsent(null, k -> 5.0);
  /libcore/ojluni/src/main/java/java/security/
Provider.java 544 public synchronized Object computeIfAbsent(Object key, Function<? super Object, ? extends Object> mappingFunction) {
549 debug.println("ComputeIfAbsent " + name + " provider property " +
821 // legacyStrings.computeIfAbsent((String) key,
837 legacyStrings.computeIfAbsent((String) key,
840 return super.computeIfAbsent(key, mappingFunction);
    [all...]
  /libcore/jsr166-tests/src/test/java/jsr166/
ConcurrentHashMap8Test.java 66 * computeIfAbsent adds when the given key is not present
70 map.computeIfAbsent(six, (x) -> "Z");
75 * computeIfAbsent does not replace if the key is already present
79 assertEquals("A", map.computeIfAbsent(one, (x) -> "Z"));
83 * computeIfAbsent does not add if function returns null
87 map.computeIfAbsent(six, (x) -> null);
    [all...]
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-android-extensions/1.1.3/
kotlin-android-extensions-1.1.3.jar 
  /prebuilts/sdk/current/
core.jar 
  /prebuilts/sdk/24/
android.jar 
  /prebuilts/tools/common/m2/repository/io/netty/netty-common/4.1.0.CR3/
netty-common-4.1.0.CR3.jar 
  /prebuilts/tools/common/m2/repository/io/netty/netty-common/4.1.3.Final/
netty-common-4.1.3.Final.jar 
  /prebuilts/tools/common/m2/repository/io/netty/netty-common/4.1.6.Final/
netty-common-4.1.6.Final.jar 
  /external/kotlinc/lib/
kotlin-reflect.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-reflect/1.1.3/
kotlin-reflect-1.1.3.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-reflect/1.1.3-2/
kotlin-reflect-1.1.3-2.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-reflect/1.2.0/
kotlin-reflect-1.2.0.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-reflect/1.2.20/
kotlin-reflect-1.2.20.jar 
  /prebuilts/misc/common/robolectric/android-all/
android-all-7.0.0_r1-robolectric-0.jar 
android-all-7.0.0_r1-robolectric-r1.jar 
android-all-7.1.0_r7-robolectric-0.jar 
android-all-7.1.0_r7-robolectric-r1.jar 

Completed in 724 milliseconds

1 2