105 |
|
*/ |
106 |
|
public static interface MappingFunction<K, V> { |
107 |
|
/** |
108 |
< |
* Returns a value for the given key, or null if there is no mapping |
108 |
> |
* Returns a value for the given key, or null if there is no mapping. |
109 |
|
* |
110 |
|
* @param key the (non-null) key |
111 |
|
* @return a value for the key, or null if none |
145 |
|
* framework. As illustrated here, Spliterators are well suited to |
146 |
|
* designs in which a task repeatedly splits off half its work |
147 |
|
* into forked subtasks until small enough to process directly, |
148 |
< |
* and then joins these subtasks. Variants of this style can be |
149 |
< |
* also be used in completion-based designs. |
148 |
> |
* and then joins these subtasks. Variants of this style can also |
149 |
> |
* be used in completion-based designs. |
150 |
|
* |
151 |
|
* <pre> |
152 |
|
* {@code ConcurrentHashMapV8<String, Long> m = ... |