A Guide to TreeMap in Java

2021 VietMX 0

1. Overview In this article, we are going to explore TreeMap implementation of Map interface from Java Collections Framework(JCF). TreeMap is a map implementation that keeps its entries sorted according […]

A Guide to Java HashMap

2021 VietMX 0

1. Overview In this article, we’ll see how to use HashMap in Java, and we’ll look at how it works internally. A class very similar to HashMap is Hashtable. Please […]

A Guide to HashSet in Java

2021 VietMX 0

1. Overview In this article, we’ll dive into HashSet. It’s one of the most popular Set implementations as well as an integral part of the Java Collections Framework. 2. […]

A Guide to TreeSet in Java

2021 VietMX 0

1. Overview In this article, we’ll have a look at an integral part of the Java Collections Framework and one of the most popular Set implementations – the TreeSet. […]

Guide to CopyOnWriteArrayList

2021 VietMX 0

1. Overview In this quick article, we’ll be looking at the CopyOnWriteArrayList from the java.util.concurrent package. This is a very useful construct in the multi-threaded programs – when we […]

Guide to the Java ArrayList

2021 VietMX 0

1. Overview In this article, we’re going to take a look at ArrayList class from the Java Collections Framework. We’ll discuss its properties, common use cases, as […]

A Guide to the Java LinkedList

2021 VietMX 0

1. Introduction LinkedList is a doubly-linked list implementation of the List and Deque interfaces. It implements all optional list operations and permits all elements (including null). 2. Features Below you can […]

Guide To CompletableFuture

2021 VietMX 0

1. Introduction This tutorial is a guide to the functionality and use cases of the CompletableFuture class that was introduced as a Java 8 Concurrency API improvement. […]

Guide to java.util.concurrent.Locks

2021 VietMX 0

1. Overview Simply put, a lock is a more flexible and sophisticated thread synchronization mechanism than the standard synchronized block. The Lock interface has been around since Java 1.5. […]

A Guide to the Java ExecutorService

2021 VietMX 0

1. Overview ExecutorService is a JDK API that simplifies running tasks in asynchronous mode. Generally speaking, ExecutorService automatically provides a pool of threads and an API for assigning […]

Guide to UUID in Java

2021 VietMX 0

1. Overview UUID (Universally Unique Identifier), also known as GUID (Globally Unique Identifier) represents a 128-bit long value that is unique for all practical purposes. The standard representation […]