JavaOne – Modern Java Recipes

Main menu:

Topics

Recent Posts

Feeds

RSS Feed RSS - Posts

October 2017
M T W T F S S
« Sep    
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Past Posts

Java/Java EE

JDBC

Other

Archive for October 5th, 2017

JavaOne – Modern Java Recipes

October 5th, 2017 by Jeanne Boyarsky

“Modern Java Recipes” Speaker: Ken Kousen For more blog posts from JavaOne, see the table of contents All examples in this talk are in: https://github.com/kousen/java_8_recipes Lazy Streams Streams – doesn’t store elements, doesn’t modify source, lazy when possible, destructive (can only run once) Showed how findFirst() doesn’t cause all intermediate operations to run against all […]

JavaOne – How to Make a Project Java 9 Compatible

October 5th, 2017 by Jeanne Boyarsky

“How to Make a Project Java 9 Compatible” Speaker: Nikhil Nanivadekar For more blog posts from JavaOne, see the table of contents Examples use Eclipse Collections Examples from: https://github.com/nikhilnanivadekar/Java9Compatibility https://github.com/nikhilnanivadekar/Java9Modules Reflection Used ArrayListAdapter which uses reflection Got illegal-access warning (when default was warn; now it is permit If run with illegal-access=deny, it fails Lesson: have […]

JavaOne – Optional – the mother of all bikesheds

October 5th, 2017 by Jeanne Boyarsky

“Optional – the mother of all bikesheds” Speaker: Stuart Marks #OptionalBikeshed The deck is available online For more blog posts from JavaOne, see the table of contents Showed early version of “optional” (stream returning null) Review of basics Two states – present (contains non null reference) or absent Don’t say “null optional”. Say “absent” or […]