10+ new features you ought to know using Java 8
summary
Claims Java 8 rewrites Java with concrete features and code: Stream pipelines (filter buyers age>65 → map seller → distinct → sort → forEach print), lazy evaluation and easy parallelStream parallelism; lambdas, method references and general functional interfaces; Optional chaining with orElseGet to avoid nulls; new Date/Time API; files.lines producing streams; StampedLock optimistic reads with upgrade to pessimistic; concurrent counters via LongAdder for much better throughput; Nashorn JS, base64, overflow-checked ops and repeatable annotations.
AI-written summary · about
chapters (9)
- 0:00Java 8 revolution
- 3:15Why migrate to Java 8
- 10:20Stream API introduction
- 15:44Functional interfaces
- 21:24Lambda expressions
- 28:16Optional class benefits
- 32:33New Date and Time API
- 35:50Concurrent features
- 43:16Miscellaneous enhancements
related talks
01h 25mJava 8 Language Capabilities, What's in it for you?
54mBack to the Future - Java 8 is here!
49mJava 8: the good, the bad and the ugly
01h 07mJava SE: Lambdas, Streams & Future Directions
01h 00mLatest Java Best Practices
49mJava Streams: Beyond The Basics
57mAfter Eight Sweet New Features in Java
47mThe Dark Side of Java 8 - Lessons Learned
