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.

  • Category upJava
  • Category upJava Collections
  • Category upJava Concurrency

Tag: Java List

Java List is a collection that guarantees the order of elements and allows duplicates. The guides below cover different concrete implementations of the List interface and how to work with them.

>> New CRUD Repository Interfaces in Spring Data 3

>> 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
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