Functional Programming in Java, Second Edition (Pragmatic Bookshelf)
Hot This:
Most Active This Week
Most Active This Month
Most Active This Year
Most Active Last Three Years

@venkats
On page 21:
For each price from the prices list that passes through the filter(), the mapToInt() method invokes the provided ...
New

On p.27, after “Found 2 names”, we read:
The filter() method returns an iterator just like the map() method does,
But it really return...
New

On page 91, we use a short method to request a stock ticker, class FinanceData
However, this method is based on java.net.URL which has a...
New

We read:
Recursion is a powerful and charming way to solve problems. It’s highly expressive—using recursion we can provide a solution t...
New

In several places, the method
String.toUpperCase()
is misspelled as
String.toUppercase()
sometimes via the :: method reference,
Stri...
New

We find this code on page 61, for ListSelectFiles.java
final String[] files =
new File("fpij").list(new java.io.FilenameFilter()...
New

As previously, the code uses
List<String> names = Arrays.asList(...);
which yields an “array-backed list”, rather than
List<S...
New

On page 148, “An optimization problem” we read:
We’ll employ a solution for a company that buys rods at wholesale and sells them at reta...
New

@venkats
At 2/3rd of the page, we read;
Within the computeMaxProfit() method, we perform our task, and when it’s time to recurse we ro...
New

On page 90, CalculateNAVTest.java:
public class CalculateNAVTest {
@Test
public void computeStockWorth() {
final CalculateN...
New

On page 174:
StreamAPI
Should probably be
Stream API
Also on page 174:
blow up with an exception
Suggesting to change this wh...
New

@venkats
In the section “Iterating a String” found in chapter 3 “Strings, Comparators, and Filters” there seems to be a typo:
“But we w...
New

@venkats
Appears to be a broken link in Appendix 3 a(Web Resources) on Page 234, for article to “Tell, Don’t Ask”.
Link goes to: https:...
New

In the given “old-school” test for the generation of an exception:
@Test public void VerboseExceptionTest() {
rodCutter.setPrices(pri...
New
Most Active Over Three Years
Book Info
Publisher:
Pragmatic Bookshelf
Get money off!

The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.