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

      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

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

    • View All Spring Courses

  • Java Courses ▼▲
    • Learn JUnit

      Master the most popular Java testing framework.

    • Learn Maven

      Simplify Your Build with Apache Maven

    • Learn Hibernate JPA

      Master persistence with the Java specification and Hibernate implementation

    • Learn Mockito

      Enhance your unit tests through practical mocking

    • View All Courses

  • Pricing
  • 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 String
  • Category upJackson
  • Category upJSON
  • Category upJava Streams

Tag: Java Null

Learn how to deal with null values in different data structures through the list of guides below.

>> Difference Between String isEmpty() and isBlank()

  • popular

>> Setting Default Values to Null Fields in Jackson Mapping

  • popular

>> Handling NullPointerException in findFirst() When the First Element Is Null

>> Return First Non-null Value in Java

>> Matching Null With Mockito

>> Working With Empty Stream in Java

>> Difference Between null and Empty String in Java

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

>> Initialize an ArrayList with Zeroes or Null in Java

>> Check if an Integer Value Is Null or Zero in Java

>> Check if Command-Line Arguments Are Null in Java

>> Check If All the Variables of an Object Are Null

>> What Is the null Type in Java?

>> Concatenating Null Strings in Java

>> Helpful NullPointerExceptions in Java

>> Using NullAway to Avoid NullPointerExceptions

>> Check for null Before Calling Parse in Double.parseDouble

>> Hibernate @NotNull vs @Column(nullable = false)

>> Java Optional as Return Type

>> String Initialization in Java

  • «
  • ← Previous
  • 1
  • 2
  • 3
  • Next →
The Baeldung logo

Courses

  • All Courses
  • Baeldung All Access
  • Baeldung All Team Access
  • Login Course Platform

Series

  • Java “Back to Basics” Tutorial
  • Learn Spring Boot Series
  • Spring Tutorial
  • Get Started with Java
  • Spring Framework Introduction
  • All About String in Java
  • Security with Spring

About

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