Searched defs:mappingFunction (Results 1 - 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | ConcurrentMap.java | 310 * && (newValue = mappingFunction.apply(key)) != null 328 Function<? super K, ? extends V> mappingFunction) { 329 Objects.requireNonNull(mappingFunction); 332 && (newValue = mappingFunction.apply(key)) != null 327 computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) argument
|
H A D | ConcurrentSkipListMap.java | 1664 * @param mappingFunction the function to compute a value 1668 * or the mappingFunction is null 1672 Function<? super K, ? extends V> mappingFunction) { 1673 if (key == null || mappingFunction == null) 1677 (r = mappingFunction.apply(key)) != null) 1671 computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) argument
|
H A D | ConcurrentHashMap.java | 1687 * @param mappingFunction the function to compute a value 1690 * @throws NullPointerException if the specified key or mappingFunction 1695 * @throws RuntimeException or Error if the mappingFunction does so, 1698 public V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) { argument 1699 if (key == null || mappingFunction == null) 1715 if ((val = mappingFunction.apply(key)) != null) 1743 if ((val = mappingFunction.apply(key)) != null) { 1760 else if ((val = mappingFunction.apply(key)) != null) {
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Map.java | 923 * V newValue = mappingFunction.apply(key); 949 * @param mappingFunction the mapping function to compute a value 953 * this map does not support null keys, or the mappingFunction 967 Function<? super K, ? extends V> mappingFunction) { 968 Objects.requireNonNull(mappingFunction); 972 if ((newValue = mappingFunction.apply(key)) != null) { 966 computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) argument
|
H A D | Hashtable.java | 1001 public synchronized V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) { argument 1002 Objects.requireNonNull(mappingFunction); 1016 V newValue = mappingFunction.apply(key);
|
H A D | HashMap.java | 1098 Function<? super K, ? extends V> mappingFunction) { 1099 if (mappingFunction == null) 1129 V v = mappingFunction.apply(key); 1097 computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) argument
|
H A D | Collections.java | 1576 public V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) { argument 2715 Function<? super K, ? extends V> mappingFunction) { 2716 synchronized (mutex) {return m.computeIfAbsent(key, mappingFunction);} 3734 Function<? super K, ? extends V> mappingFunction) { 3735 Objects.requireNonNull(mappingFunction); 3737 V value = mappingFunction.apply(k); 4676 Function<? super K, ? extends V> mappingFunction) { 4988 Function<? super K, ? extends V> mappingFunction) { 2714 computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) argument 3733 computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) argument 4675 computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) argument 4987 computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) argument
|
/libcore/ojluni/src/main/java/java/security/ |
H A D | Provider.java | 544 public synchronized Object computeIfAbsent(Object key, Function<? super Object, ? extends Object> mappingFunction) { argument 552 return implComputeIfAbsent(key, mappingFunction); 832 private Object implComputeIfAbsent(Object key, Function<? super Object, ? extends Object> mappingFunction) { argument 838 (Function<? super String, ? extends String>) mappingFunction); 840 return super.computeIfAbsent(key, mappingFunction);
|
Completed in 126 milliseconds