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.212 by jsr166, Wed May 22 16:16:19 2013 UTC vs.
Revision 1.213 by jsr166, Wed May 22 16:19:16 2013 UTC

# Line 3241 | Line 3241 | public class ConcurrentHashMap<K,V> impl
3241       * Performs the given action for each (key, value).
3242       *
3243       * @param parallelismThreshold the (estimated) number of elements
3244 <     * needed for this operation to be executed in parallel.
3244 >     * needed for this operation to be executed in parallel
3245       * @param action the action
3246       */
3247      public void forEach(long parallelismThreshold,
# Line 3257 | Line 3257 | public class ConcurrentHashMap<K,V> impl
3257       * of each (key, value).
3258       *
3259       * @param parallelismThreshold the (estimated) number of elements
3260 <     * needed for this operation to be executed in parallel.
3260 >     * needed for this operation to be executed in parallel
3261       * @param transformer a function returning the transformation
3262       * for an element, or null if there is no transformation (in
3263       * which case the action is not applied)
# Line 3281 | Line 3281 | public class ConcurrentHashMap<K,V> impl
3281       * function are ignored.
3282       *
3283       * @param parallelismThreshold the (estimated) number of elements
3284 <     * needed for this operation to be executed in parallel.
3284 >     * needed for this operation to be executed in parallel
3285       * @param searchFunction a function returning a non-null
3286       * result on success, else null
3287       * @return a non-null result from applying the given search
# Line 3301 | Line 3301 | public class ConcurrentHashMap<K,V> impl
3301       * combine values, or null if none.
3302       *
3303       * @param parallelismThreshold the (estimated) number of elements
3304 <     * needed for this operation to be executed in parallel.
3304 >     * needed for this operation to be executed in parallel
3305       * @param transformer a function returning the transformation
3306       * for an element, or null if there is no transformation (in
3307       * which case it is not combined)
# Line 3325 | Line 3325 | public class ConcurrentHashMap<K,V> impl
3325       * combine values, and the given basis as an identity value.
3326       *
3327       * @param parallelismThreshold the (estimated) number of elements
3328 <     * needed for this operation to be executed in parallel.
3328 >     * needed for this operation to be executed in parallel
3329       * @param transformer a function returning the transformation
3330       * for an element
3331       * @param basis the identity (initial default value) for the reduction
# Line 3350 | Line 3350 | public class ConcurrentHashMap<K,V> impl
3350       * combine values, and the given basis as an identity value.
3351       *
3352       * @param parallelismThreshold the (estimated) number of elements
3353 <     * needed for this operation to be executed in parallel.
3353 >     * needed for this operation to be executed in parallel
3354       * @param transformer a function returning the transformation
3355       * for an element
3356       * @param basis the identity (initial default value) for the reduction
# Line 3375 | Line 3375 | public class ConcurrentHashMap<K,V> impl
3375       * combine values, and the given basis as an identity value.
3376       *
3377       * @param parallelismThreshold the (estimated) number of elements
3378 <     * needed for this operation to be executed in parallel.
3378 >     * needed for this operation to be executed in parallel
3379       * @param transformer a function returning the transformation
3380       * for an element
3381       * @param basis the identity (initial default value) for the reduction
# Line 3398 | Line 3398 | public class ConcurrentHashMap<K,V> impl
3398       * Performs the given action for each key.
3399       *
3400       * @param parallelismThreshold the (estimated) number of elements
3401 <     * needed for this operation to be executed in parallel.
3401 >     * needed for this operation to be executed in parallel
3402       * @param action the action
3403       */
3404      public void forEachKey(long parallelismThreshold,
# Line 3414 | Line 3414 | public class ConcurrentHashMap<K,V> impl
3414       * of each key.
3415       *
3416       * @param parallelismThreshold the (estimated) number of elements
3417 <     * needed for this operation to be executed in parallel.
3417 >     * needed for this operation to be executed in parallel
3418       * @param transformer a function returning the transformation
3419       * for an element, or null if there is no transformation (in
3420       * which case the action is not applied)
# Line 3438 | Line 3438 | public class ConcurrentHashMap<K,V> impl
3438       * ignored.
3439       *
3440       * @param parallelismThreshold the (estimated) number of elements
3441 <     * needed for this operation to be executed in parallel.
3441 >     * needed for this operation to be executed in parallel
3442       * @param searchFunction a function returning a non-null
3443       * result on success, else null
3444       * @return a non-null result from applying the given search
# Line 3457 | Line 3457 | public class ConcurrentHashMap<K,V> impl
3457       * reducer to combine values, or null if none.
3458       *
3459       * @param parallelismThreshold the (estimated) number of elements
3460 <     * needed for this operation to be executed in parallel.
3460 >     * needed for this operation to be executed in parallel
3461       * @param reducer a commutative associative combining function
3462       * @return the result of accumulating all keys using the given
3463       * reducer to combine values, or null if none
# Line 3476 | Line 3476 | public class ConcurrentHashMap<K,V> impl
3476       * null if none.
3477       *
3478       * @param parallelismThreshold the (estimated) number of elements
3479 <     * needed for this operation to be executed in parallel.
3479 >     * needed for this operation to be executed in parallel
3480       * @param transformer a function returning the transformation
3481       * for an element, or null if there is no transformation (in
3482       * which case it is not combined)
# Line 3500 | Line 3500 | public class ConcurrentHashMap<K,V> impl
3500       * the given basis as an identity value.
3501       *
3502       * @param parallelismThreshold the (estimated) number of elements
3503 <     * needed for this operation to be executed in parallel.
3503 >     * needed for this operation to be executed in parallel
3504       * @param transformer a function returning the transformation
3505       * for an element
3506       * @param basis the identity (initial default value) for the reduction
# Line 3525 | Line 3525 | public class ConcurrentHashMap<K,V> impl
3525       * the given basis as an identity value.
3526       *
3527       * @param parallelismThreshold the (estimated) number of elements
3528 <     * needed for this operation to be executed in parallel.
3528 >     * needed for this operation to be executed in parallel
3529       * @param transformer a function returning the transformation
3530       * for an element
3531       * @param basis the identity (initial default value) for the reduction
# Line 3550 | Line 3550 | public class ConcurrentHashMap<K,V> impl
3550       * the given basis as an identity value.
3551       *
3552       * @param parallelismThreshold the (estimated) number of elements
3553 <     * needed for this operation to be executed in parallel.
3553 >     * needed for this operation to be executed in parallel
3554       * @param transformer a function returning the transformation
3555       * for an element
3556       * @param basis the identity (initial default value) for the reduction
# Line 3573 | Line 3573 | public class ConcurrentHashMap<K,V> impl
3573       * Performs the given action for each value.
3574       *
3575       * @param parallelismThreshold the (estimated) number of elements
3576 <     * needed for this operation to be executed in parallel.
3576 >     * needed for this operation to be executed in parallel
3577       * @param action the action
3578       */
3579      public void forEachValue(long parallelismThreshold,
# Line 3590 | Line 3590 | public class ConcurrentHashMap<K,V> impl
3590       * of each value.
3591       *
3592       * @param parallelismThreshold the (estimated) number of elements
3593 <     * needed for this operation to be executed in parallel.
3593 >     * needed for this operation to be executed in parallel
3594       * @param transformer a function returning the transformation
3595       * for an element, or null if there is no transformation (in
3596       * which case the action is not applied)
# Line 3614 | Line 3614 | public class ConcurrentHashMap<K,V> impl
3614       * ignored.
3615       *
3616       * @param parallelismThreshold the (estimated) number of elements
3617 <     * needed for this operation to be executed in parallel.
3617 >     * needed for this operation to be executed in parallel
3618       * @param searchFunction a function returning a non-null
3619       * result on success, else null
3620       * @return a non-null result from applying the given search
# Line 3633 | Line 3633 | public class ConcurrentHashMap<K,V> impl
3633       * given reducer to combine values, or null if none.
3634       *
3635       * @param parallelismThreshold the (estimated) number of elements
3636 <     * needed for this operation to be executed in parallel.
3636 >     * needed for this operation to be executed in parallel
3637       * @param reducer a commutative associative combining function
3638       * @return the result of accumulating all values
3639       */
# Line 3651 | Line 3651 | public class ConcurrentHashMap<K,V> impl
3651       * null if none.
3652       *
3653       * @param parallelismThreshold the (estimated) number of elements
3654 <     * needed for this operation to be executed in parallel.
3654 >     * needed for this operation to be executed in parallel
3655       * @param transformer a function returning the transformation
3656       * for an element, or null if there is no transformation (in
3657       * which case it is not combined)
# Line 3675 | Line 3675 | public class ConcurrentHashMap<K,V> impl
3675       * and the given basis as an identity value.
3676       *
3677       * @param parallelismThreshold the (estimated) number of elements
3678 <     * needed for this operation to be executed in parallel.
3678 >     * needed for this operation to be executed in parallel
3679       * @param transformer a function returning the transformation
3680       * for an element
3681       * @param basis the identity (initial default value) for the reduction
# Line 3700 | Line 3700 | public class ConcurrentHashMap<K,V> impl
3700       * and the given basis as an identity value.
3701       *
3702       * @param parallelismThreshold the (estimated) number of elements
3703 <     * needed for this operation to be executed in parallel.
3703 >     * needed for this operation to be executed in parallel
3704       * @param transformer a function returning the transformation
3705       * for an element
3706       * @param basis the identity (initial default value) for the reduction
# Line 3725 | Line 3725 | public class ConcurrentHashMap<K,V> impl
3725       * and the given basis as an identity value.
3726       *
3727       * @param parallelismThreshold the (estimated) number of elements
3728 <     * needed for this operation to be executed in parallel.
3728 >     * needed for this operation to be executed in parallel
3729       * @param transformer a function returning the transformation
3730       * for an element
3731       * @param basis the identity (initial default value) for the reduction
# Line 3748 | Line 3748 | public class ConcurrentHashMap<K,V> impl
3748       * Performs the given action for each entry.
3749       *
3750       * @param parallelismThreshold the (estimated) number of elements
3751 <     * needed for this operation to be executed in parallel.
3751 >     * needed for this operation to be executed in parallel
3752       * @param action the action
3753       */
3754      public void forEachEntry(long parallelismThreshold,
# Line 3763 | Line 3763 | public class ConcurrentHashMap<K,V> impl
3763       * of each entry.
3764       *
3765       * @param parallelismThreshold the (estimated) number of elements
3766 <     * needed for this operation to be executed in parallel.
3766 >     * needed for this operation to be executed in parallel
3767       * @param transformer a function returning the transformation
3768       * for an element, or null if there is no transformation (in
3769       * which case the action is not applied)
# Line 3787 | Line 3787 | public class ConcurrentHashMap<K,V> impl
3787       * ignored.
3788       *
3789       * @param parallelismThreshold the (estimated) number of elements
3790 <     * needed for this operation to be executed in parallel.
3790 >     * needed for this operation to be executed in parallel
3791       * @param searchFunction a function returning a non-null
3792       * result on success, else null
3793       * @return a non-null result from applying the given search
# Line 3806 | Line 3806 | public class ConcurrentHashMap<K,V> impl
3806       * given reducer to combine values, or null if none.
3807       *
3808       * @param parallelismThreshold the (estimated) number of elements
3809 <     * needed for this operation to be executed in parallel.
3809 >     * needed for this operation to be executed in parallel
3810       * @param reducer a commutative associative combining function
3811       * @return the result of accumulating all entries
3812       */
# Line 3824 | Line 3824 | public class ConcurrentHashMap<K,V> impl
3824       * or null if none.
3825       *
3826       * @param parallelismThreshold the (estimated) number of elements
3827 <     * needed for this operation to be executed in parallel.
3827 >     * needed for this operation to be executed in parallel
3828       * @param transformer a function returning the transformation
3829       * for an element, or null if there is no transformation (in
3830       * which case it is not combined)
# Line 3848 | Line 3848 | public class ConcurrentHashMap<K,V> impl
3848       * and the given basis as an identity value.
3849       *
3850       * @param parallelismThreshold the (estimated) number of elements
3851 <     * needed for this operation to be executed in parallel.
3851 >     * needed for this operation to be executed in parallel
3852       * @param transformer a function returning the transformation
3853       * for an element
3854       * @param basis the identity (initial default value) for the reduction
# Line 3873 | Line 3873 | public class ConcurrentHashMap<K,V> impl
3873       * and the given basis as an identity value.
3874       *
3875       * @param parallelismThreshold the (estimated) number of elements
3876 <     * needed for this operation to be executed in parallel.
3876 >     * needed for this operation to be executed in parallel
3877       * @param transformer a function returning the transformation
3878       * for an element
3879       * @param basis the identity (initial default value) for the reduction
# Line 3898 | Line 3898 | public class ConcurrentHashMap<K,V> impl
3898       * and the given basis as an identity value.
3899       *
3900       * @param parallelismThreshold the (estimated) number of elements
3901 <     * needed for this operation to be executed in parallel.
3901 >     * needed for this operation to be executed in parallel
3902       * @param transformer a function returning the transformation
3903       * for an element
3904       * @param basis the identity (initial default value) for the reduction

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines