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.
Spring Boot made command apps more popular, so in this post we’re going to show how in Maven run Java app from command line.
In this post we show Log4j example configuration that logs messages to a configured log file, and creates backups when needed.
In this post we show Log4j example configuration that logs messages to console (standard output), which is very useful when testing applications!
In Java int to String conversion can be done in a different ways and converted String can be in different formats. In this post we’ll show on examples how to convert them.
In Java String to int conversion can be done in a few different ways. In this post we’ll show them and describe differences.