ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jsr166e/ConcurrentHashMapV8.java
(Generate patch)

Comparing jsr166/src/jsr166e/ConcurrentHashMapV8.java (file contents):
Revision 1.92 by jsr166, Mon Jan 28 17:27:03 2013 UTC vs.
Revision 1.93 by jsr166, Tue Feb 5 19:54:06 2013 UTC

# Line 2894 | Line 2894 | public class ConcurrentHashMapV8<K, V>
2894       * course only appropriate if it is acceptable to use the same
2895       * value for all additions from this view.
2896       *
2897 <     * @param mappedValue the mapped value to use for any
2898 <     * additions.
2897 >     * @param mappedValue the mapped value to use for any additions
2898       * @return the set view
2899       * @throws NullPointerException if the mappedValue is null
2900       */
# Line 3374 | Line 3373 | public class ConcurrentHashMapV8<K, V>
3373       *
3374       * @param transformer a function returning the transformation
3375       * for an element, or null if there is no transformation (in
3376 <     * which case the action is not applied).
3376 >     * which case the action is not applied)
3377       * @param action the action
3378       */
3379      @SuppressWarnings("unchecked") public <U> void forEachSequentially
# Line 3418 | Line 3417 | public class ConcurrentHashMapV8<K, V>
3417       *
3418       * @param transformer a function returning the transformation
3419       * for an element, or null if there is no transformation (in
3420 <     * which case it is not combined).
3420 >     * which case it is not combined)
3421       * @param reducer a commutative associative combining function
3422       * @return the result of accumulating the given transformation
3423       * of all (key, value) pairs
# Line 3531 | Line 3530 | public class ConcurrentHashMapV8<K, V>
3530       *
3531       * @param transformer a function returning the transformation
3532       * for an element, or null if there is no transformation (in
3533 <     * which case the action is not applied).
3533 >     * which case the action is not applied)
3534       * @param action the action
3535       */
3536      @SuppressWarnings("unchecked") public <U> void forEachKeySequentially
# Line 3596 | Line 3595 | public class ConcurrentHashMapV8<K, V>
3595       *
3596       * @param transformer a function returning the transformation
3597       * for an element, or null if there is no transformation (in
3598 <     * which case it is not combined).
3598 >     * which case it is not combined)
3599       * @param reducer a commutative associative combining function
3600       * @return the result of accumulating the given transformation
3601       * of all keys
# Line 3709 | Line 3708 | public class ConcurrentHashMapV8<K, V>
3708       *
3709       * @param transformer a function returning the transformation
3710       * for an element, or null if there is no transformation (in
3711 <     * which case the action is not applied).
3711 >     * which case the action is not applied)
3712       */
3713      public <U> void forEachValueSequentially
3714          (Fun<? super V, ? extends U> transformer,
# Line 3769 | Line 3768 | public class ConcurrentHashMapV8<K, V>
3768       *
3769       * @param transformer a function returning the transformation
3770       * for an element, or null if there is no transformation (in
3771 <     * which case it is not combined).
3771 >     * which case it is not combined)
3772       * @param reducer a commutative associative combining function
3773       * @return the result of accumulating the given transformation
3774       * of all values
# Line 3883 | Line 3882 | public class ConcurrentHashMapV8<K, V>
3882       *
3883       * @param transformer a function returning the transformation
3884       * for an element, or null if there is no transformation (in
3885 <     * which case the action is not applied).
3885 >     * which case the action is not applied)
3886       * @param action the action
3887       */
3888      @SuppressWarnings("unchecked") public <U> void forEachEntrySequentially
# Line 3946 | Line 3945 | public class ConcurrentHashMapV8<K, V>
3945       *
3946       * @param transformer a function returning the transformation
3947       * for an element, or null if there is no transformation (in
3948 <     * which case it is not combined).
3948 >     * which case it is not combined)
3949       * @param reducer a commutative associative combining function
3950       * @return the result of accumulating the given transformation
3951       * of all entries
# Line 4058 | Line 4057 | public class ConcurrentHashMapV8<K, V>
4057       *
4058       * @param transformer a function returning the transformation
4059       * for an element, or null if there is no transformation (in
4060 <     * which case the action is not applied).
4060 >     * which case the action is not applied)
4061       * @param action the action
4062       */
4063      public <U> void forEachInParallel
# Line 4093 | Line 4092 | public class ConcurrentHashMapV8<K, V>
4092       *
4093       * @param transformer a function returning the transformation
4094       * for an element, or null if there is no transformation (in
4095 <     * which case it is not combined).
4095 >     * which case it is not combined)
4096       * @param reducer a commutative associative combining function
4097       * @return the result of accumulating the given transformation
4098       * of all (key, value) pairs
# Line 4181 | Line 4180 | public class ConcurrentHashMapV8<K, V>
4180       *
4181       * @param transformer a function returning the transformation
4182       * for an element, or null if there is no transformation (in
4183 <     * which case the action is not applied).
4183 >     * which case the action is not applied)
4184       * @param action the action
4185       */
4186      public <U> void forEachKeyInParallel
# Line 4230 | Line 4229 | public class ConcurrentHashMapV8<K, V>
4229       *
4230       * @param transformer a function returning the transformation
4231       * for an element, or null if there is no transformation (in
4232 <     * which case it is not combined).
4232 >     * which case it is not combined)
4233       * @param reducer a commutative associative combining function
4234       * @return the result of accumulating the given transformation
4235       * of all keys
# Line 4318 | Line 4317 | public class ConcurrentHashMapV8<K, V>
4317       *
4318       * @param transformer a function returning the transformation
4319       * for an element, or null if there is no transformation (in
4320 <     * which case the action is not applied).
4320 >     * which case the action is not applied)
4321       */
4322      public <U> void forEachValueInParallel
4323          (Fun<? super V, ? extends U> transformer,
# Line 4365 | Line 4364 | public class ConcurrentHashMapV8<K, V>
4364       *
4365       * @param transformer a function returning the transformation
4366       * for an element, or null if there is no transformation (in
4367 <     * which case it is not combined).
4367 >     * which case it is not combined)
4368       * @param reducer a commutative associative combining function
4369       * @return the result of accumulating the given transformation
4370       * of all values
# Line 4453 | Line 4452 | public class ConcurrentHashMapV8<K, V>
4452       *
4453       * @param transformer a function returning the transformation
4454       * for an element, or null if there is no transformation (in
4455 <     * which case the action is not applied).
4455 >     * which case the action is not applied)
4456       * @param action the action
4457       */
4458      public <U> void forEachEntryInParallel
# Line 4501 | Line 4500 | public class ConcurrentHashMapV8<K, V>
4500       *
4501       * @param transformer a function returning the transformation
4502       * for an element, or null if there is no transformation (in
4503 <     * which case it is not combined).
4503 >     * which case it is not combined)
4504       * @param reducer a commutative associative combining function
4505       * @return the result of accumulating the given transformation
4506       * of all entries
# Line 4733 | Line 4732 | public class ConcurrentHashMapV8<K, V>
4732           * or {@code null} if additions are not supported.
4733           *
4734           * @return the default mapped value for additions, or {@code null}
4735 <         * if not supported.
4735 >         * if not supported
4736           */
4737          public V getMappedValue() { return value; }
4738  
# Line 4972 | Line 4971 | public class ConcurrentHashMapV8<K, V>
4971           * @param map the map
4972           * @param transformer a function returning the transformation
4973           * for an element, or null if there is no transformation (in
4974 <         * which case it is not combined).
4974 >         * which case it is not combined)
4975           * @param reducer a commutative associative combining function
4976           * @return the task
4977           */
# Line 5139 | Line 5138 | public class ConcurrentHashMapV8<K, V>
5138           * @param map the map
5139           * @param transformer a function returning the transformation
5140           * for an element, or null if there is no transformation (in
5141 <         * which case it is not combined).
5141 >         * which case it is not combined)
5142           * @param reducer a commutative associative combining function
5143           * @return the task
5144           */
# Line 5305 | Line 5304 | public class ConcurrentHashMapV8<K, V>
5304           * @param map the map
5305           * @param transformer a function returning the transformation
5306           * for an element, or null if there is no transformation (in
5307 <         * which case it is not combined).
5307 >         * which case it is not combined)
5308           * @param reducer a commutative associative combining function
5309           * @return the task
5310           */
# Line 5471 | Line 5470 | public class ConcurrentHashMapV8<K, V>
5470           * @param map the map
5471           * @param transformer a function returning the transformation
5472           * for an element, or null if there is no transformation (in
5473 <         * which case it is not combined).
5473 >         * which case it is not combined)
5474           * @param reducer a commutative associative combining function
5475           * @return the task
5476           */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines