133 |
|
* setValue}. |
134 |
|
* |
135 |
|
* <ul> |
136 |
< |
* <li> forEach: Perform a given action on each element. |
136 |
> |
* <li> forEach: Performs a given action on each element. |
137 |
|
* A variant form applies a given transformation on each element |
138 |
|
* before performing the action.</li> |
139 |
|
* |
140 |
< |
* <li> search: Return the first available non-null result of |
140 |
> |
* <li> search: Returns the first available non-null result of |
141 |
|
* applying a given function on each element; skipping further |
142 |
|
* search when a result is found.</li> |
143 |
|
* |
144 |
< |
* <li> reduce: Accumulate each element. The supplied reduction |
144 |
> |
* <li> reduce: Accumulates each element. The supplied reduction |
145 |
|
* function cannot rely on ordering (more formally, it should be |
146 |
|
* both associative and commutative). There are five variants: |
147 |
|
* |