Learning Java Functional Programming
上QQ阅读APP看书,第一时间看更新

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 boxes, appear in the text like this: "There is the text form as entered by the user such as: drop Axe."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.