Learn how to detect null or empty Strings in a List in Java.
Also find me here:
Baeldung Author
Yadier Betancourt
Yadier is a Java Backend Developer with 2 years of experience. He is passionate about learning new technologies and improving his skills, with a particular interest in artificial intelligence. Yadier enjoys contributing to the developer community, demonstrating a proactive approach to professional growth and a dedication to the evolving field of technology.
Here's what I've written (so far):
Baeldung on Java
- All
- Java Array (4)
- Java Numbers (3)
- Java String (1)
- Java Streams (1)
- Java Map (1)
- Java List (1)
- Java Dates (1)
- Core Java (1)
- Algorithms (1)
Count the Number of Sign Changes in an Array
Filed under Java Array
Learn how to count the number of sign changes in an array using iterative and functional approaches.
How to Check if a Number Is the Sum of Two or More Consecutive Integers
Filed under Java Numbers
Learn how to determine whether a given number can be expressed as the sum of two or more consecutive integers.
Java Naming Conventions
Filed under Core Java
Learn how to write clear, maintainable, and consistent code by following Java naming conventions.
How to Display the Last Two Digits of the Current Year in Java
Filed under Java Dates
Learn three methods for displaying the last two digits of the current year in Java.
Count Inversions in an Array in Java
Filed under Algorithms, Java Array
Ever wondered how to measure the disorder of an array? Inversions hold the key! Learn to count inversions using brute-force and divide-and-conquer methods.
Sum of First N Even Numbers Divisible by 3 in Java
Filed under Java Numbers
Learn to to calculate the sum of the first N even numbers divisible by 3 by using a brute-force approach and an optimized mathematical solution with a better performance.
Understanding findAny() and anyMatch() in Streams
Filed under Java Streams
Learn about the findAny() and anyMatch() methods and how to use them in Java Streams.
How to Generate a Random Byte Array of N Bytes
Filed under Java Array, Java Numbers
Tutorial on different methods of generating random byte arrays of any size in Java.