Let's get started with a Microservice Architecture with Spring Cloud:
Java List Series
Last updated: June 3, 2026
The List interface is one of Java’s most essential collection types, offering ordered, index-based access to elements with flexible implementations including ArrayList and LinkedList. Understanding how to create, search, sort, and transform lists is a core skill for any Java developer.
This series covers practical List operations from the ground up, organized by task: from picking the right implementation and initializing lists efficiently, through modifying elements, iterating and sorting, finding and filtering, and converting between collection types.
List Types and Fundamentals
- Java List Interface
- List vs. ArrayList in Java
- Java ArrayList vs LinkedList
- Set vs List in Java
- ArrayList vs. LinkedList vs. HashMap in Java
- Guide to CopyOnWriteArrayList
- Working With a List of Lists in Java
Creating and Initializing Lists
- Java List Initialization in One Line
- Difference Between Arrays.asList() and List.of()
- Collections.emptyList() vs. New List Instance
- Immutable ArrayList in Java
- Initialize an ArrayList with Zeroes or Null in Java
- Arrays.asList() vs Collections.singletonList()
Adding, Removing, and Modifying Elements
- Copy a List to Another List in Java
- How to Deep Copy an ArrayList in Java
- Replace Element at a Specific Index in a Java ArrayList
- Inserting an Object in an ArrayList at a Specific Position
- Removing an Element From an ArrayList
- Remove All Occurrences of a Specific Value from a List
- Avoid Inserting Duplicates in ArrayList in Java
Iterating and Sorting Lists
- Ways to Iterate Over a List in Java
- Iterating Backward Through a List
- Reverse an ArrayList in Java
- Sort a List Alphabetically in Java
- Sorting Objects in a List by Date
- Finding Max and Min Date in List Using Streams
- Sorting One List Based on Another List in Java
- Checking If a List Is Sorted in Java
Searching and Filtering Lists
- How to Find an Element in a List with Java
- Finding All Duplicates in a List in Java
- Finding the Differences Between Two Lists in Java
- Java – Get Random Item/Element From a List
- Check if a List Contains an Element From Another List in Java
- Intersection of Two Lists in Java
- Check if a List Contains a String Element While Ignoring Case
- Get Unique Values From an ArrayList in Java
















