How to make sure that Spring Framework artifacts have consistent versions in Maven? It turns out that its very easy to prevent library mismatch errors!
In Java random integers in range can be produced in many ways. In this post we show how to generate random numbers using Java 8 features!
How to generate in Java 8 range of numbers? This is practical problem, often met when writing tests. In this post we’ll cover fast implementation, comfortable, and flexible with Java 8 Streams!
Java interview question: In Java 8 count frequency of chars in a String. In this post we’ll show two implementations – using Map.merge() and Streams and Collectors.
In Java 8 count frequency of numbers/elements/objects. You may encounter this problem on Java job interviews. Here we implement it using Java 8 Collectors.
Very common task is creation of Map from a List of objects. In this post we show how to use Java 8 to convert List to Map using Collectors.
In this article we present Java 8 forEach on examples. These are very convenient methods for use with Lambda Expressions and method references.
In Java Fork Join Framework takes advantage of multiple processors to process divide and conquer algorithms with full power. In this post we’ll show how to start with Fork Join processing.
In this post we’ll implement Merge Sort in Java. It’s fast, divide and conquer, sorting algorithm that can also be parallelized.
It’s very common task in Java to format double to 2 decimal places – usually to format currency. It’s not easy to do correctly, but in this post we’ll show how.