Apache Commons FileUtils – File Operations
Apache Commons FileUtils has utility methods for file and directory manipulation. This post is on Apache Commons FileUtils file manipulation
Apache Commons FileUtils has utility methods for file and directory manipulation. This post is on Apache Commons FileUtils file manipulation
Collectors minBy and maxBy return a Collector that produces the minimal and maximal element according to a given Comparator
Comparator nullsFirst and nullsLast methods returns a null-friendly comparator. It considers null to be less than or greater than any non-null value.
Java 8 added three Summary Statistics classes viz., IntSummaryStatistics LongSummaryStatistics and DoubleSummaryStatistics used to collect statistics.
The Apache Commons IO has utilities to help with various IO functionalities. In this post, we will see about the Apache Commons IO IOUtils class.
A Priority Queue is an unbounded queue based on a priority heap. The elements are ordered according to their natural ordering or by a Comparator provided.
The Bridge Design Pattern decouples an abstraction from its implementation so that the two can vary independently. This pattern is also known as Handle/Body.
The Collectors partitioningBy method in the Collectors class groups the elements of a stream by a predicate and an optional downstream collector
In this post, we will see the three ways to sum a stream of numbers (using Java streams). We use the mapToInt, reduce, and collect methods.
The Composite Design Pattern composes objects into tree structures to represent part-whole hierarchies and lets clients treat individual objects and compositions of objects uniformly.