203 |
|
* |
204 |
|
* <p><em>jsr166e note: During transition, this class |
205 |
|
* uses nested functional interfaces with different names but the |
206 |
< |
* same forms as those expected for JDK8.<em> |
206 |
> |
* same forms as those expected for JDK8.</em> |
207 |
|
* |
208 |
|
* <p>This class is a member of the |
209 |
|
* <a href="{@docRoot}/../technotes/guides/collections/index.html"> |
3010 |
|
/** |
3011 |
|
* Returns a {@link Collection} view of the values contained in this map. |
3012 |
|
* The collection is backed by the map, so changes to the map are |
3013 |
< |
* reflected in the collection, and vice-versa. |
3013 |
> |
* reflected in the collection, and vice-versa. |
3014 |
|
*/ |
3015 |
|
public ValuesView<K,V> values() { |
3016 |
|
ValuesView<K,V> vs = values; |
4247 |
|
return ForkJoinTasks.reduceKeysToLong |
4248 |
|
(map, transformer, basis, reducer).invoke(); |
4249 |
|
} |
4250 |
< |
|
4250 |
> |
|
4251 |
|
/** |
4252 |
|
* Returns the result of accumulating the given transformation |
4253 |
|
* of all keys using the given reducer to combine values, and |
4266 |
|
return ForkJoinTasks.reduceKeysToInt |
4267 |
|
(map, transformer, basis, reducer).invoke(); |
4268 |
|
} |
4269 |
< |
|
4269 |
> |
|
4270 |
|
} |
4271 |
|
|
4272 |
|
/** |
4388 |
|
return ForkJoinTasks.reduceValues |
4389 |
|
(map, transformer, reducer).invoke(); |
4390 |
|
} |
4391 |
< |
|
4391 |
> |
|
4392 |
|
/** |
4393 |
|
* Returns the result of accumulating the given transformation |
4394 |
|
* of all values using the given reducer to combine values, |