Template Method Design Pattern
The Template Method Design Pattern defines the steps of an algorithm and allows subclasses to provide the implementation for one or more steps.
Monthly Archives: November 2019
The Template Method Design Pattern defines the steps of an algorithm and allows subclasses to provide the implementation for one or more steps.
Optional was added to Java 8. This post explains the new methods or APIs added to the Optional class in Java from Java 9 through 11 with examples.
Optional is a container object added to Java 8+ that is used as a wrapper over some value. It provides a mechanism to represent “no result” for a method.
Introduction The previous two design pattern posts were about the Decorator Pattern and the Proxy Design Pattern. These pattern look very similar though they have different purposes. The implementation or the mechanism…