java-8-tutorial
java-8-tutorial copied to clipboard
Demonstration of Java 8 Features
This is a complete guide to Java 8 features, enhancements. The examples from this guide are tested on our local development environment. You can simply clone from Github and try to use it in your projects or practice.
1. Java 8 Basic Features Guide
- Guide to Java 8 forEach Method
- Handle NullPointerException in Controller, Service and DAO Layer using Java 8 Optional Class
- How to Use Java 8 Stream API in Java Projects
- Java 8 Lambda Expressions in Practice
- Java 8 Functional Interfaces
- Java 8 Method References
- Java 8 Stream Class
- Java 8 Optional Class with Examples
- Java 8 Collectors Class
- Java 8 StringJoiner Class
- Migrating source code to Java 8
- Java 8 Static and Default Methods in Interface
- Refactoring Observer Design Pattern with Lambdas
- Refactoring Factory Design Pattern with Lambdas
- Refactoring Strategy Design Pattern with Lambdas
- Refactoring Chain of Responsibility Pattern with Lambdas
2. Java 8 Date and Time API Guide
- Java 8 Date and Time Overview
- Java 8 Date Classes with Examples
- Java 8 Date and Time Classes with Examples
- Java 8 Date Parsing and Formatting with Examples
- Java 8 Time Zone and Offset Classes with Examples
- Java 8 Duration Class with Examples
- Java 8 Instant Class with Examples