Functional Programming in Java, Second Edition: mapToInt() referenced instead of mapToDouble() (page 21)

Fixed. Thank you for the catch.