Going over some useful new features in Java without using any 3d party libraries... Be aware we listed these features under the JDK version they first appeared in as a preview, but there might be some deviation from this rule.
- Process API
- Collection utils
- Optional::stream
- Diamond Operator Extension
- Interface Private Method
- (Jigsaw: modular system)
- (JShell)
- Keyword: var & Type Inference
- Unmodifiable collections:
- Copy Of
- To Unmodifiable
- Optional: OrElseThrow
- String methods
- Lambda's with annotations
- HttpClient
- Unicode 10
- String methods
- Switch statement changes
- Switch statement changes
- Pattern
- Text Blocks
- Records
- Sealed Classes