ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ConcurrentHashMap.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ConcurrentHashMap.java (file contents):
Revision 1.156 by dl, Fri Dec 28 14:03:58 2012 UTC vs.
Revision 1.157 by jsr166, Wed Jan 2 07:31:10 2013 UTC

# Line 3504 | Line 3504 | public class ConcurrentHashMap<K, V>
3504       * for an element
3505       * @param basis the identity (initial default value) for the reduction
3506       * @param reducer a commutative associative combining function
3507 <     * @return  the result of accumulating the given transformation
3507 >     * @return the result of accumulating the given transformation
3508       * of all keys
3509       */
3510      @SuppressWarnings("unchecked") public double reduceKeysToDoubleSequentially
# Line 3631 | Line 3631 | public class ConcurrentHashMap<K, V>
3631       * given reducer to combine values, or null if none.
3632       *
3633       * @param reducer a commutative associative combining function
3634 <     * @return  the result of accumulating all values
3634 >     * @return the result of accumulating all values
3635       */
3636      public V reduceValuesSequentially
3637          (BiFunction<? super V, ? super V, ? extends V> reducer) {
# Line 3880 | Line 3880 | public class ConcurrentHashMap<K, V>
3880       * for an element
3881       * @param basis the identity (initial default value) for the reduction
3882       * @param reducer a commutative associative combining function
3883 <     * @return  the result of accumulating the given transformation
3883 >     * @return the result of accumulating the given transformation
3884       * of all entries
3885       */
3886      @SuppressWarnings("unchecked") public long reduceEntriesToLongSequentially
# Line 4132 | Line 4132 | public class ConcurrentHashMap<K, V>
4132       * for an element
4133       * @param basis the identity (initial default value) for the reduction
4134       * @param reducer a commutative associative combining function
4135 <     * @return  the result of accumulating the given transformation
4135 >     * @return the result of accumulating the given transformation
4136       * of all keys
4137       */
4138      public double reduceKeysToDoubleInParallel
# Line 4232 | Line 4232 | public class ConcurrentHashMap<K, V>
4232       * given reducer to combine values, or null if none.
4233       *
4234       * @param reducer a commutative associative combining function
4235 <     * @return  the result of accumulating all values
4235 >     * @return the result of accumulating all values
4236       */
4237      public V reduceValuesInParallel
4238          (BiFunction<? super V, ? super V, ? extends V> reducer) {
# Line 4424 | Line 4424 | public class ConcurrentHashMap<K, V>
4424       * for an element
4425       * @param basis the identity (initial default value) for the reduction
4426       * @param reducer a commutative associative combining function
4427 <     * @return  the result of accumulating the given transformation
4427 >     * @return the result of accumulating the given transformation
4428       * of all entries
4429       */
4430      public long reduceEntriesToLongInParallel

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines