News

Sample Consumer interface use cases. The functional Consumer interface is used extensively across the Java API, with a number of classes in the java.util.function package, such as ObjIntConsumer, ...
Structural Patterns: These design patterns concern class and object composition. The concept of inheritance is used to build interfaces and define ways to compose objects to obtain new ...
In of this three-part series introducing design patterns, I referred to Design Patterns: Elements of Reusable Object-Oriented Design. This classic was written by Erich Gamma, Richard Helm, Ralph ...
While it started out as an object-oriented design pattern, Java 8 introduced lambda expressions, allowing for an object-functional implementation of the Command pattern.