Assimilate and use Java 8
Programme
Introduction
- JCP, JSR, JEP
- History of Java
- What’s new in Java 8
Interfaces
- Default and static methods
Value-Based classes
Lambda expressions
- Syntax
- Functional interfaces
- util.Function package
- Method references
- Capture of variables
Optional class
Stream API
- Getting a Stream
- Operations
- Intermediate operations
- Terminal operations
- Collectors class
- Parallel streams
Date and Time API
- Date & Time API
- Dedicated classes
- Consistent operations
- Machine representation
- Human representation
- TimeZone and Offset classes
- Constants and enumerations
- TemporalAdjuster interface
- Abstract class Clock
- Formatting and parsing
- Integration with existing code
Collection
- Comparator
- forEach()
- removeIf()
- replaceAll()
- sort()
- Map
Parallel arrays
- Parallel operations on arrays
- Initializing elements
- Sorting elements
Concurrency
- Additions in Java 8
- Adder and Accumulator
- StampedLock
- ConcurrentHashMap
Strings concatenation
Annotations
- Java Type Annotations
- Repeating Annotations
Base64
Nashorn
Reflection
- Access to parameter names
JVM