The Baeldung logo
  • The Baeldung Logo
  • Start Here
  • Courses ▼▲
    • REST with Spring

      The canonical reference for building a production grade API with Spring

    • Learn Spring Security ▼▲

      THE unique Spring Security education if you’re working with Java today

      • Learn Spring Security Core

        Focus on the Core of Spring Security 5

      • Learn Spring Security OAuth

        Focus on the new OAuth2 stack in Spring Security 5

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

  • Guides ▼▲
    • Persistence

      The Persistence with Spring guides

    • REST

      The guides on building REST APIs with Spring

    • Security

      The Spring Security guides

  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • Baeldung Ebooks

      Discover all of our eBooks

    • About Baeldung

      About Baeldung.

Java » Java List

Java is the popular programming language that originated in 1995. Today, the Java ecosystem includes a very large number of specifications, libraries, frameworks, tools, as well as a thriving community. Take a dive through our collection of Java tutorials that cover a wide array of Java-related topics.

  • Core Java (264)
  • Java IO (105)
  • Java Streams (97)
  • x Java List (84)
  • Java Map (76)
  • Java Array (69)
  • Java Dates (59)
  • Exception (59)
  • Regex (48)
  • Math (42)
  • Java 8 (40)
  • Pattern (37)
  • Apache Commons (36)
  • Java Set (31)
  • Java NIO (25)
  • Java 9 (25)
  • Reflection (22)
  • Java Characters (21)
  • Java Interfaces (20)
  • Java Null (17)
  • Java Constructor (17)
  • Java Search (16)

>> How To Convert Excel Data Into List Of Java Objects

>> Create List of Object From Another Type Using Java 8

>> Get Values and Keys as ArrayList From a HashMap

>> Get the First n Elements of a List Into an Array

>> Convert List to Long[] Array in Java

>> Why There Is No Sorted List in Java?

>> What’s the Difference Between Iterator and ListIterator?

>> How to Deep Copy an ArrayList in Java

>> Convert a List of Strings to a List of Integers

>> Converting a Java List to a Json Array

>> Get Unique Values From an ArrayList in Java

>> Set Default Value for Elements in List

>> Array vs. List Performance in Java

>> Check if a List Contains an Element From Another List in Java

>> Creating Custom Iterator in Java

>> Moving Items Around in an Arraylist

>> Finding All Duplicates in a List in Java

>> Combining Two Lists Into a Map in Java

>> Spring Data Repositories – Collections vs. Stream

>> Initialize an ArrayList with Zeroes or Null in Java

>> Java List Interface

>> Convert an ArrayList of Object to an ArrayList of String Elements

>> Storing Data Triple in a List in Java

>> Case-Insensitive Searching in ArrayList

>> Convert a List of Integers to a List of Strings

>> Choosing the Right Java Collection

>> Iterate Through Two ArrayLists Simultaneously

>> Inserting an Object in an ArrayList at a Specific Position

>> Filling a List With All Enum Values in Java

>> How to Check if All Runnables Are Done

>> Writing a List of Strings Into a Text File

>> Set vs List in Java

>> Difference Between Arrays.asList() and List.of()

>> Replace Element at a Specific Index in a Java ArrayList

>> Sort a List Alphabetically in Java

>> Reverse an ArrayList in Java

>> Working With a List of Lists in Java

>> How to Store HashMap<String, ArrayList> Inside a List

>> List vs. ArrayList in Java

>> Collecting Stream Elements into a List in Java

>> Arrays.asList vs new ArrayList(Arrays.asList())

>> Finding the Differences Between Two Lists in Java

>> Java ArrayList vs LinkedList

>> Circular Linked List Java Implementation

>> How to Count Duplicate Elements in Arraylist

>> Removing an Element From an ArrayList

>> Converting Iterator to List

>> Checking If a List Is Sorted in Java

>> Converting Iterable to Collection in Java

>> Extending an Array’s Length

>> Filtering a Java Collection by a List

>> Determine If All Elements Are the Same in a Java List

>> Java ArrayList vs Vector

>> Multi Dimensional ArrayList in Java

>> Intersection of Two Lists in Java

>> Ways to Iterate Over a List in Java

>> Converting a Collection to ArrayList in Java

>> An Introduction to Synchronized Java Collections

>> Combining Different Types of Collections in Java

>> Time Complexity of Java Collections

>> ClassCastException: Arrays$ArrayList cannot be cast to ArrayList

>> Java List Initialization in One Line

>> Performance of contains() in a HashSet vs ArrayList

>> Read a File into an ArrayList

>> Collections.emptyList() vs. New List Instance

>> Remove All Occurrences of a Specific Value from a List

>> Add Multiple Items to an Java ArrayList

>> How to Convert List to Map in Java

>> How to Find an Element in a List with Java

>> Java List UnsupportedOperationException

>> Guide to CopyOnWriteArrayList

>> Flattening Nested Collections in Java

>> Finding Max/Min of a List or Collection

>> A Guide to the Java LinkedList

>> Java – Get Random Item/Element From a List

>> Guide to the Java ArrayList

>> Check if Two Lists Are Equal in Java

>> Removing All Duplicates From a List in Java

>> Removing All Nulls From a List in Java

>> Convert a Map to an Array, List or Set in Java

>> Converting Between a List and a Set in Java

>> Converting Between an Array and a List in Java

>> Immutable ArrayList in Java

>> Partition a List in Java

  • ↑ Back to Top
res – REST with Spring (eBook) (cat=Java)
opt-in
Building a REST API with Spring 5?
Download the E-book
The Baeldung logo

Courses

  • All Courses
  • All Bulk Courses
  • All Bulk Team Courses
  • The Courses Platform

Series

  • Java “Back to Basics” Tutorial
  • Jackson JSON Tutorial
  • Apache HttpClient Tutorial
  • REST with Spring Tutorial
  • Spring Persistence Tutorial
  • Security with Spring
  • Spring Reactive Tutorials

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Jobs
  • Our Partners
  • Partner with Baeldung
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo