Explore different approaches to check if a string is all uppercase or lowercase in Java.
Search Results for: apache commons
Combining Two or More Byte Arrays
Explore multiple ways to concatenate two or more byte arrays.
Check if a List Contains an Element From Another List in Java
Learn how to check if a list contains elements from another list in Java.
Convert String to Int Using Encapsulation
Learn different ways on how to convert String to int via encapsulation.
Find the Index of an Element in a Java Array
Learn various methods for finding the index of an array element using both Java’s built-in APIs and a third-party library.
Parsing Date Strings with Varying Formats
Explore strategies for parsing multiple date formats at once.
Convert Integer to Hexadecimal in Java
Learn how to convert an integer value to hexadecimal in Java.
Handle Duplicate Keys When Producing Map Using Java Stream
Explore two approaches to handling duplicated keys when producing a Map result using Stream API.
Migrate From Java 8 to Java 17
Explore some extremely useful features available in the newer versions of Java. These features aren’t only easy to learn but can also be implemented quickly without much effort when planning to migrate from Java 8 to Java 17.
Validating IPv4 Address in Java
We may wish to validate IP addresses from our settings files or other inputs. We look at a few ways to do this using libraries and plain Java code.
Determine if a Class Implements an Interface in Java
Learn several ways to determine if an object or a class implements a specific interface.
Check if an Integer Value Is Null or Zero in Java
Learn a few different ways to check if a given Integer instance’s value is null or zero.
Convert byte[] to MultipartFile in Java
How to convert a byte array into a class which implements the Spring MultiPartFile interface.
Check If All the Variables of an Object Are Null
Explore the importance of checking for null variables in our Java classes.
Batch Processing of Stream Data in Java
Explore how to accomplish batch processing of Stream data in Java using both native features and some third-party libraries.
Guide to Splitting a String by Whitespace in Java
Learn how to split a String by whitespace characters, such as space, tab, or newline, using multiple approaches
String Interpolation in Java
Explore the topic of String interpolation in Java.
Enum Mapping in Spring Boot
Explore different ways to implement case-insensitive enum mapping in Spring Boot.
Java Weekly, Issue 465
Spring 6, Quarkus Jakarta EE migration, Kotlin on RaspberryPi, REST API over database schema, and logical replication.
Sort Collection of Objects by Multiple Fields in Java
Learn different approaches for sorting collections by comparing multiple fields.