/refactoring-java-8plus

Code for the talk "Refactoring with Java Functional API"

Primary LanguageJava

refactoring-java-8plus

Code for the talk "Refactoring with Java Functional API"

Project structure

Problematic versions are under counter_example

Refactored versions are under example

Shared models are under models, refactored models are under example/models


src/predicates holds examples for composing rules with predicates

src/functional_interface holds examples for alternatives to implementing functional interfaces

src/optionals holds examples for best practices of the Optional class

src/dependency_inversion holds examples for inverting dependency using suppliers