Description

Copyright 2016

Edition: 1st

Downloadable Video

ISBN-10: 0-13-439664-2

ISBN-13: 978-0-13-439664-4

Lesson 14 looks at the pre-built functions in the java.util.function package. The lesson starts with the simply-typed versions and shows how using one of them can shorten our numerical-integration code. It then looks at five generically typed versions: Predicate, Function, Consumer, Supplier, and BinaryOperator. Most Java developers are not used to thinking about functional programming, so this lesson shows how applying functions can make certain applications shorter, simpler, easier to maintain, and more reusable.