O'Reilly logo
  • Mohammad Ahsan thinks this is interesting:

Add key to map with mapping function result as value

From

Cover of OCP Oracle® Certified Professional Java® SE 8 Programmer II

Note

errata: Set key to mapping function result