Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text are shown are follows: "As you may remember, the forEach method accepts a lambda expression which matches the Consumer interface's accept method."

A block of code is shown as follows:

list.forEach(new Consumer<String>() {
    @Override
    public void accept(String t) {
        System.out.println(t);
    }
 });

The output of code sequences is formatted as shown here:

Starting FPS Game
Generating FPS Image
Rendering FPS Image
Updating FPS Game

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog ...

Get Learning Java Functional Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.