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); |
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 |