8015963: Add at since tags to new ConcurrentHashMap methods (original) (raw)

Chris Hegarty chris.hegarty at oracle.com
Wed Jun 5 10:42:50 UTC 2013


Just some minor cleanup after the integration of CHMv8. Trivially, add @since 1.8 tags to the 34 new methods and 1 new class in ConcurrentHashMap.

http://cr.openjdk.java.net/~chegar/8015963/webrev.00/webrev/src/share/classes/java/util/concurrent/ConcurrentHashMap.java.udiff.html

Doug, Here is a patch based on you CVS.

RCS file: /home/jsr166/jsr166/jsr166/src/main/java/util/concurrent/ConcurrentHashMap.java,v retrieving revision 1.219 diff -u -r1.219 ConcurrentHashMap.java --- ConcurrentHashMap.java 1 Jun 2013 18:19:08 -0000 1.219 +++ ConcurrentHashMap.java 5 Jun 2013 10:31:56 -0000 @@ -2578,6 +2578,8 @@ * from the given type to {@code Boolean.TRUE}. * * @return the new set

@@ -2593,6 +2595,8 @@ * @throws IllegalArgumentException if the initial capacity of * elements is negative * @return the new set

initialCapacity) { return new KeySetView<K,Boolean> @@ -2624,6 +2628,8 @@ * there are concurrent insertions or removals. * * @return the number of mappings

@@ -3293,6 +3299,8 @@ * @param parallelismThreshold the (estimated) number of elements * needed for this operation to be executed in parallel * @param action the action

@@ -3312,6 +3320,8 @@ * for an element, or null if there is no transformation (in * which case the action is not applied) * @param action the action

U> transformer, @@ -3336,6 +3346,8 @@ * result on success, else null * @return a non-null result from applying the given search * function on each (key, value), or null if none

searchFunction) { @@ -3358,6 +3370,8 @@ * @param reducer a commutative associative combining function * @return the result of accumulating the given transformation * of all (key, value) pairs

transformer, @@ -3382,6 +3396,8 @@ * @param reducer a commutative associative combining function * @return the result of accumulating the given transformation * of all (key, value) pairs

super V> transformer, @@ -3407,6 +3423,8 @@ * @param reducer a commutative associative combining function * @return the result of accumulating the given transformation * of all (key, value) pairs

transformer, @@ -3432,6 +3450,8 @@ * @param reducer a commutative associative combining function * @return the result of accumulating the given transformation * of all (key, value) pairs

transformer, @@ -3450,6 +3470,8 @@ * @param parallelismThreshold the (estimated) number of elements * needed for this operation to be executed in parallel * @param action the action

@@ -3469,6 +3491,8 @@ * for an element, or null if there is no transformation (in * which case the action is not applied) * @param action the action

transformer, @@ -3493,6 +3517,8 @@ * result on success, else null * @return a non-null result from applying the given search * function on each key, or null if none

searchFunction) { @@ -3511,6 +3537,8 @@ * @param reducer a commutative associative combining function * @return the result of accumulating all keys using the given * reducer to combine values, or null if none

reducer) { @@ -3533,6 +3561,8 @@ * @param reducer a commutative associative combining function * @return the result of accumulating the given transformation * of all keys

@@ -3557,6 +3587,8 @@ * @param reducer a commutative associative combining function * @return the result of accumulating the given transformation * of all keys

transformer, @@ -3582,6 +3614,8 @@ * @param reducer a commutative associative combining function * @return the result of accumulating the given transformation * of all keys

@@ -3607,6 +3641,8 @@ * @param reducer a commutative associative combining function * @return the result of accumulating the given transformation * of all keys

@@ -3625,6 +3661,8 @@ * @param parallelismThreshold the (estimated) number of elements * needed for this operation to be executed in parallel * @param action the action

@@ -3645,6 +3683,8 @@ * for an element, or null if there is no transformation (in * which case the action is not applied) * @param action the action

transformer, @@ -3669,6 +3709,8 @@ * result on success, else null * @return a non-null result from applying the given search * function on each value, or null if none

searchFunction) { @@ -3686,6 +3728,8 @@ * needed for this operation to be executed in parallel * @param reducer a commutative associative combining function * @return the result of accumulating all values

V> reducer) { @@ -3708,6 +3752,8 @@ * @param reducer a commutative associative combining function * @return the result of accumulating the given transformation * of all values

transformer, @@ -3732,6 +3778,8 @@ * @param reducer a commutative associative combining function * @return the result of accumulating the given transformation * of all values

transformer, @@ -3757,6 +3805,8 @@ * @param reducer a commutative associative combining function * @return the result of accumulating the given transformation * of all values

@@ -3782,6 +3832,8 @@ * @param reducer a commutative associative combining function * @return the result of accumulating the given transformation * of all values

@@ -3800,6 +3852,8 @@ * @param parallelismThreshold the (estimated) number of elements * needed for this operation to be executed in parallel * @param action the action

@@ -3818,6 +3872,8 @@ * for an element, or null if there is no transformation (in * which case the action is not applied) * @param action the action

transformer, @@ -3842,6 +3898,8 @@ * result on success, else null * @return a non-null result from applying the given search * function on each entry, or null if none

searchFunction) { @@ -3859,6 +3917,8 @@ * needed for this operation to be executed in parallel * @param reducer a commutative associative combining function * @return the result of accumulating all entries

Map.Entry<K,V>, ? extends Map.Entry<K,V>> reducer) { @@ -3881,6 +3941,8 @@ * @param reducer a commutative associative combining function * @return the result of accumulating the given transformation * of all entries

transformer, @@ -3905,6 +3967,8 @@ * @param reducer a commutative associative combining function * @return the result of accumulating the given transformation * of all entries

ToDoubleFunction<Map.Entry<K,V>> transformer, @@ -3930,6 +3994,8 @@ * @param reducer a commutative associative combining function * @return the result of accumulating the given transformation * of all entries

transformer, @@ -3955,6 +4021,8 @@ * @param reducer a commutative associative combining function * @return the result of accumulating the given transformation * of all entries

transformer, @@ -4130,6 +4198,8 @@ * {@link #keySet(Object) keySet(V)}, * {@link #newKeySet() newKeySet()}, * {@link #newKeySet(int) newKeySet(int)}.

-Chris.



More information about the core-libs-dev mailing list