Prototype Design Pattern
The Prototype Pattern specifies the kind of objects to create using a prototypical instance and create new objects by copying this prototype
The Prototype Pattern specifies the kind of objects to create using a prototypical instance and create new objects by copying this prototype
The Flyweight design pattern allows us to use sharing to support a large number of fine-grained objects efficiently in an application.
This post is on the anyMatch, allMatch and noneMatch methods which are short-circuiting terminal operations on a Java Stream.
A Function is primarily used along with the map operation on a Java stream. In this post, we will learn about Function chaining in Java 8.
We have used a Predicate in a Java stream. This post covers the methods in Predicate class which allow us to do Predicate chaining in Java 8.
The Apache Commons CLI is a library that provides API for parsing command-line options/arguments which we pass to programs.
The Java Stream takeWhile and dropWhile methods allow to return or drop a prefix/subset of elements in a stream based on a passed predicate.
A Stream is a sequence of elements supporting sequential and parallel aggregate operations. We will see seven ways to create a Stream in Java
The State Design Pattern allows an object to alter its behavior when its internal state changes. The object will appear to change its class.
Apache Commons FileUtils has utility methods for file and directory manipulation. This post is on Apache Commons IO FileUtils directory operations.