Using a BiFunction to be able to provide more flexibility to an Enum. A very interesting refactor.
Originally posted at: http://javing.blogspot.com/2018/12/java-8-refactoring-part-5-improving.html
Using a BiFunction to be able to provide more flexibility to an Enum. A very interesting refactor.
Originally posted at: http://javing.blogspot.com/2018/12/java-8-refactoring-part-5-improving.html