Explore various techniques for iterating through a List of Maps in Java.
Search Results for: Java Map Interface
Mapping Enum to String Using MapStruct
A quick tutorial on using MapStruct to convert enums to strings.
Using MapStruct With Inheritance
Learn how to use the Mapstruct mappers with inherited Java bean classes.
Introduction to Java 22
Explore the latest Java release, Java 22, which is now in General Availability.
Converting Float ArrayList to Primitive Array in Java
Learn how to convert an ArrayList of wrapper classes into an array of primitives.
How to Use Pair With Java PriorityQueue
Learn how to use Comparators with PriorityQueues and how to change the sorting order in such queues.
Create HashMap with Character Count of a String in Java
Learn how to create a HashMap with a string’s character count.
New Features in Java 21
Learn about the new features of Java 21, like record patterns and switch enhancements for cleaner code.
Convert a Phone Number in Words to Number with Java
We may wish to convert a telephone number, expressed in words, into its equivalent digits. We look at a general algorithm for processing the names of digits and multiplicative words such as double.
Mapping Enum With MapStruct
Learn to map between enum types and other data types like strings or integers using MapStruct’s @ValueMapping
Internet Address Resolution SPI in Java
Learn how Internet Address Resolution works in Java using the InetAddress API.
Find Map Keys with Duplicate Values in Java
Learn how to find map keys associated with duplicate values in Java.
Java Weekly, Issue 532
Generational ZGC, Java 22 and beyond, random generator, GPU programming in Java, and event interception!
Modify and Print List Items With Java Streams
Learn to modify or transform a Java list and print its new elements.
Add Camel Route at Runtime in Java
In this article, we learn how to implement dynamic routing in Apache Camel.
Calculate Weighted Mean in Java
A quick and practical guide to calculating weighted mean in Java.
Create Kubernetes Operators with the Java Operator SDK
Learn about the concept of Kubernetes operators and how we can implement them using the Java Operator SDK.
Call a Method on Each Element of a List in Java
Explore the methods and techniques available for calling a method on each list element.
Convert Null Value to a Default Value in Java
Learn how to convert null value to a default value in Java.
Sorting One List Based on Another List in Java
Explore various approaches for sorting a list based on the order of elements in another list.