
Introduction to Java 8 Streams
1. Overview In this article, we’ll have a quick look at one of the major pieces of new functionality Java 8 had added – Streams. […]
1. Overview In this article, we’ll have a quick look at one of the major pieces of new functionality Java 8 had added – Streams. […]
1. Overview In this comprehensive tutorial, we’ll go through the practical uses of Java 8 Streams from creation to parallel execution. To understand this material, […]
1. Introduction In this tutorial, we’ll cover the implementation of a binary tree in Java. For the sake of this tutorial, we’ll use a sorted binary tree that […]
1. Introduction This cookbook illustrates how to make use of Hamcrest matchers to work with and test collections. The format of the cookbook is example focused and practical […]
1. Overview In this tutorial, we’ll illustrate how to filter and transform collections with Guava. We will filter using Predicates, transform using the Functions that the library […]
1. Overview In this article, we will be looking at PCollections, a Java library providing persistent, immutable collections. Persistent data structures (collections) can’t be modified directly during the […]
1. Overview Eclipse Collections is another improved collection framework for Java. Simply put, it provides optimized implementations as well as some additional data structures and features […]
1. Overview In this tutorial, we’ll show how to use the Google Guava’s Table interface and its multiple implementations. Guava’s Table is a collection that represents a table like […]
1. Overview In this tutorial, we will learn how to use the Joiner and Splitter in the Guava library. We’ll convert collections into a String with the Joiner and we’ll split a […]
1. Overview In this article, we will look at one of Map implementations from Google Guava library – Multimap. It is a collection that maps keys to values, […]
1. Introduction This cookbook article is organized into small and focused recipes and code snippets for using Guava style collections. The format is that of a growing list […]
1. Overview In this quick tutorial, we’ll have a look at the CircularFifoQueue data structure provided in the collections4.queue package of the Apache Commons Collections library. CircularFifoQueue<E> implements the Queue<E> interface and […]
1. Introduction MapUtils is one of the tools available in the Apache Commons Collections project. Simply put, it provides utility methods and decorators to work with java.util.Map and java.util.SortedMap instances. […]
1. Overview Simply put, the Apache CollectionUtils provides utility methods for common operations which cover a wide range of use cases and helps in avoiding writing boilerplate code. […]
1. Overview In this short article, we’ll be looking at an interesting data structure in the Apache Commons Collections library – the BidiMap. The BidiMap adds a possibility […]
1. Overview The Apache Commons Collections library provides useful classes that complement the Java Collections Framework. In this article, we will review the interface OrderedMap, which extends java.util.Map. 2. […]
1. Overview In this article, we’ll be exploring the SetUtils API of Apache Commons Collections library. Simply put, these utilities can be used to execute certain operations […]
1. Introduction In this quick article, we’ll focus on how to use the Apache’s Bag collection. 2. Maven Dependency Before we start, we need to import the […]
1. Overview In this quick tutorial, we’re going to talk about four different ways to remove items from Java Collections that match certain predicates. We’ll naturally also look […]
1. Overview In this quick tutorial, we’ll learn about the various ways in which we can get the size of an Iterable in Java. 2. Iterable and […]