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

Java Collections » Java Streams

Learn about the Java Collections framework that provides interfaces and implementations for Lists, Maps, and Sets. Learn how to work with Java Collections through the guides below.

  • Java List (77)
  • Java Map (71)
  • Java Set (30)
  • x Java Streams (28)
  • Java Queue (10)
  • Core Java (9)
  • Apache Commons (9)
  • Java Iterators (8)

>> Check if a List Contains a String Element While Ignoring Case

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

>> How to Get First Item From a Java Set

>> Difference Between parallelStream() and stream().parallel() in Java

>> Can Stream.collect() Return the null Value?

>> Handle Duplicate Keys When Producing Map Using Java Stream

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

>> Stream to Iterable in Java

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

>> Batch Processing of Stream Data in Java

>> Sorting a HashSet in Java

>> Finding Max Date in List Using Streams

>> How to Insert a HashMap Into MongoDB With Java?

>> Using Streams to Collect Into a TreeSet

>> Java 8 Streams: Multiple Filters vs. Complex Condition

>> Collecting Stream Elements into a List in Java

>> When to Use a Parallel Stream in Java

>> Convert a Java Enumeration Into a Stream

>> Returning Stream vs. Collection

>> Working With Maps Using Streams

>> Removing Elements from Java Collections

>> Java Null-Safe Streams from Collections

>> Collect a Java Stream to an Immutable Collection

>> Join and Split Arrays and Collections in Java

>> Removing All Duplicates From a List in Java

  • ↑ Back to Top
res – REST with Spring (eBook) (everywhere)
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