Showing posts with label bi Function. Show all posts
Showing posts with label bi Function. Show all posts
Monday, December 17, 2018
Java 8 Refactoring Part 5: Improving enum with a BiFunction
This is the last refactoring that Victor Rentea did in the devoxx conference in London. He used a BiFunction to be able to provide more flexibility to an Enum. A very interesting refactor.
Labels:
bi Function,
clean code,
enum,
java,
java 8,
refactor,
Refactoring,
softwarecraftsmanship
Subscribe to:
Posts (Atom)