Errata for Functional Programming in Java
We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.
The latest version of the book is B1.0, released 3 months ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.
| Paper | Description | Found in | Fixed in | |
|---|---|---|---|---|
| 33 |
#51506: Hi, the code returning the sum of total number of characters does not work.
Instead of the map function the mapToInt function should be used ...more...
|
B1.0
12-May-13 |
||
| 56 |
#51515: public static int totalAssetValues(final List<Asset> assets) {
return assets.stream()
.map(asset -> asset.getValue())
.sum();
}
...more...
|
B1.0
14-May-13 |
||
| 66 |
#51536: Hello,
Thx again for the wonderful work :)
In the filters example when reducing or else to color -> color, a generic identity function ...more...
|
B1.0
16-May-13 |
||
| 97 |
#51541: "We will first mark this method *synthesized*..." instead of "We will first mark this method synchronized..." --Marc-Daniel Ortega |
B1.0
19-May-13 |
||
| 106 |
#51542: Method "Stream.intRange" does not seem to exists. Apparently it is now "IntStream.range" Cheers --Marc-Daniel Ortega |
B1.0
19-May-13 |
||
| 107 |
#51543: The method Streams.iterate seems to exist not anymore. But Stream.iterate fulfills the exercise purpose. cheers--Marc-Daniel Ortega |
B1.0
19-May-13 |
||
| 114 |
#51544: The method Streams.iterate seems to exist not anymore. But Stream.iterate fulfills the exercise purpose.--Marc-Daniel Ortega |
B1.0
19-May-13 |

