Functional Interfaces in Java

Functional Interfaces in Java
Другая компьютерная литература, Программы
Год: 2019
Добавил: Admin 1 Авг 20
Проверил: Admin 1 Авг 20
Формат:  PDF (3025 Kb)
  • Currently 0/5

Рейтинг: 0/5 (Всего голосов: 0)

Аннотация

Functional Interfaces in Java shows how to organize and simplify Java programs through the use of functional interfaces.
Chapters 1 and 2 introduce functional interfaces and discuss their implementation using lambda expressions.
Chapters 3 through 7 discuss the functional interfaces present in the java.util.
function package.
Chapters 8 through 15 show how to use functional interfaces to perform various programming tasks.
The appendix discusses method references and how they can be used in the implementation of functional interfaces.
The text presents each topic with detailed descriptions and many examples. Each chapter also contains a project through which I will guide you step by step to the solution. Each chapter also contains short homework problems which reinforce the subject matter and longer assignments which utilize the current topic to solve a real- world problem.
Knowledge of basic Java programming is needed to understand the examples in this text. If you need a primer on basic Java, I recommend JAVATM- The Beginnings.
Here are some notes regarding the programming style used in this book:
1) The rules of encapsulation have been relaxed (most class fields have been given package access) to make the examples easier to read.
2) Method references are not used in the chapter portion of this text. Lambda expressions have been used instead to present a consistent implementation of functional interfaces. Method references are discussed in the appendix.
All examples have been tested in Java 9, Java 10, and Java 11 unless otherwise noted.
I hope you enjoy reading Functional Interfaces in Java as much as I have enjoyed writing it.

Похожие книги

Комментарии к книге "Functional Interfaces in Java"

Комментарий не найдено. Будьте первыми!
Чтобы оставить комментарий или поставить оценку книге Вам нужно зайти на сайт или зарегистрироваться