functional interfaces

A collection of 1 posts

A Java geek
  • Me
  • Books
  • Speaking
  • Mentions
  • Focus
Dec 17, 2017 JDK functional interfaces design

Design gotchas in JDK's functional interfaces

Because of a course I prepared, I recently had a closer look at the java.util.function package in JDK 8, and discovered a couple of interesting design choices. A Callable and a Supplier are defined in the same way. But they are not equivalent.

Nicolas Fränkel
A Java geek © 2008-2025
v. 8b2b5c3b1ea5f9020bfe3e1fa516f531fb5e8cc3/10254800311
Latest Posts