Overview
Explore the powerful combination of GS Collections and Java 8 in this conference talk from GOTO Chicago 2015. Dive into functional programming concepts, fluent APIs, and memory-efficient data structures with Craig Motlin, the technical lead for GS Collections at Goldman Sachs. Learn about lazy evaluation, streaming data, covariant return types, and primitive collections. Discover how to leverage these tools to enhance productivity, reduce memory usage, and improve performance in Java applications. Compare frameworks, analyze code examples, and gain insights into advanced topics like anagrams, grouping, and partitioning. Uncover the potential of GS Collections and Java 8 to create more expressive, efficient, and maintainable code.
Syllabus
Agenda
GS Collections
Memory Lane
Code
Lazy Evaluation
Collection
Java Extremes
Covariant Return Types
Lines of Code
Streaming Data vs Collections
Stream immediately terminated with
Grouping by
Partitioning
Stack traces
Anagrams
Solution
JS Collections
Lazy Evaluations
Memory Efficiency
Entries
HashSet
Memory Waste
Primitive Collections
Primitive Strings
Method References
Framework Comparison
Wrap Up
Taught by
GOTO Conferences