2898 |
|
} |
2899 |
|
|
2900 |
|
/** |
2901 |
< |
* Returns a partionable iterator of the keys in this map. |
2901 |
> |
* Returns a partitionable iterator of the keys in this map. |
2902 |
|
* |
2903 |
< |
* @return a partionable iterator of the keys in this map |
2903 |
> |
* @return a partitionable iterator of the keys in this map |
2904 |
|
*/ |
2905 |
|
public Spliterator<K> keySpliterator() { |
2906 |
|
return new KeyIterator<K,V>(this); |
2907 |
|
} |
2908 |
|
|
2909 |
|
/** |
2910 |
< |
* Returns a partionable iterator of the values in this map. |
2910 |
> |
* Returns a partitionable iterator of the values in this map. |
2911 |
|
* |
2912 |
< |
* @return a partionable iterator of the values in this map |
2912 |
> |
* @return a partitionable iterator of the values in this map |
2913 |
|
*/ |
2914 |
|
public Spliterator<V> valueSpliterator() { |
2915 |
|
return new ValueIterator<K,V>(this); |
2916 |
|
} |
2917 |
|
|
2918 |
|
/** |
2919 |
< |
* Returns a partionable iterator of the entries in this map. |
2919 |
> |
* Returns a partitionable iterator of the entries in this map. |
2920 |
|
* |
2921 |
< |
* @return a partionable iterator of the entries in this map |
2921 |
> |
* @return a partitionable iterator of the entries in this map |
2922 |
|
*/ |
2923 |
|
public Spliterator<Map.Entry<K,V>> entrySpliterator() { |
2924 |
|
return new EntryIterator<K,V>(this); |
3518 |
|
|
3519 |
|
/** |
3520 |
|
* An extended view of a ConcurrentHashMap supporting bulk |
3521 |
< |
* parallel operations. These operations are designed to be be |
3521 |
> |
* parallel operations. These operations are designed to be |
3522 |
|
* safely, and often sensibly, applied even with maps that are |
3523 |
|
* being concurrently updated by other threads; for example, when |
3524 |
|
* computing a snapshot summary of the values in a shared |
4811 |
|
|
4812 |
|
/** |
4813 |
|
* Base for FJ tasks for bulk operations. This adds a variant of |
4814 |
< |
* CountedCompleters and some split and merge bookeeping to |
4814 |
> |
* CountedCompleters and some split and merge bookkeeping to |
4815 |
|
* iterator functionality. The forEach and reduce methods are |
4816 |
|
* similar to those illustrated in CountedCompleter documentation, |
4817 |
|
* except that bottom-up reduction completions perform them within |