114 |
|
* objects do not support method {@code setValue}. |
115 |
|
* |
116 |
|
* <ul> |
117 |
< |
* <li> forEach: Perform a given action on each element. |
117 |
> |
* <li>forEach: Perform a given action on each element. |
118 |
|
* A variant form applies a given transformation on each element |
119 |
< |
* before performing the action.</li> |
119 |
> |
* before performing the action. |
120 |
|
* |
121 |
< |
* <li> search: Return the first available non-null result of |
121 |
> |
* <li>search: Return the first available non-null result of |
122 |
|
* applying a given function on each element; skipping further |
123 |
< |
* search when a result is found.</li> |
123 |
> |
* search when a result is found. |
124 |
|
* |
125 |
< |
* <li> reduce: Accumulate each element. The supplied reduction |
125 |
> |
* <li>reduce: Accumulate each element. The supplied reduction |
126 |
|
* function cannot rely on ordering (more formally, it should be |
127 |
|
* both associative and commutative). There are five variants: |
128 |
|
* |
129 |
|
* <ul> |
130 |
|
* |
131 |
< |
* <li> Plain reductions. (There is not a form of this method for |
131 |
> |
* <li>Plain reductions. (There is not a form of this method for |
132 |
|
* (key, value) function arguments since there is no corresponding |
133 |
< |
* return type.)</li> |
133 |
> |
* return type.) |
134 |
|
* |
135 |
< |
* <li> Mapped reductions that accumulate the results of a given |
136 |
< |
* function applied to each element.</li> |
135 |
> |
* <li>Mapped reductions that accumulate the results of a given |
136 |
> |
* function applied to each element. |
137 |
|
* |
138 |
< |
* <li> Reductions to scalar doubles, longs, and ints, using a |
139 |
< |
* given basis value.</li> |
138 |
> |
* <li>Reductions to scalar doubles, longs, and ints, using a |
139 |
> |
* given basis value. |
140 |
|
* |
141 |
|
* </ul> |
142 |
– |
* </li> |
142 |
|
* </ul> |
143 |
|
* |
144 |
|
* <p>These bulk operations accept a {@code parallelismThreshold} |