Explore how to leverage SimpleEntry to create pairs of adjacent elements and learn how stateful transformations can provide a flexible approach to managing and processing data streams.
Also find me here:
Baeldung Author
Neetika Khandelwal
An enthusiastic computer science engineer with experience working in Java applications. I have interest in solving real world problems through my knowledge in DSA and passionate about learning new technologies. I also develop technical contents to share knowledge and provide learning content.
Here's what I've written (so far):
Baeldung on Java
- All
- Java Array (6)
- Java List (4)
- Algorithms (4)
- Java Streams (3)
- Java Numbers (3)
- Java Map (3)
- Java Collections (3)
- Spring Boot (2)
- Java String (2)
- Java (2)
- JSON (2)
- Testing (1)
- Spring (1)
- Networking (1)
- Logging (1)
- Java Web (1)
- Data (1)
- Core Java (1)
How to Convert to and From a Stream and Two Dimensional Array in Java
Filed under Java Array, Java Streams
Learn how to effectively convert a 2D array to a stream of rows or a flat stream, and then reassemble them back into a 2D array.
@ExtensionMethod Annotation in Lombok
Filed under Java
Learn how to use the @ExtensionMethod annotation in Lombok to enhance the functionality of existing classes without modifying their source code.
Finding the Mode of Integers in an Array in Java
Filed under Java Array
Explore various ways to find the mode of integers in an array along with the methods’ advantages in different scenarios.
Convert a Map to a Spring MultiValueMap
Learn how to convert a Java Map to a MultiValueMap that holds multiple values against a single key.
Using Comparator.nullsLast() to Avoid NullPointerException When Sorting
Filed under Java Collections
Explore the power of Comparator.nullsLast() that allows us to sort data safely and predictably.
Convert a Queue to a List
Filed under Java Collections, Java List
Learn various ways to convert Queue to List in Java.
How to Iterate a List of Maps in Java
Explore various techniques for iterating through a List of Maps in Java.
Find the Largest Number Possible After Removing k Digits of a Number
Filed under Algorithms
A quick and practical guide to finding the largest number possible after removing k digits of a number.
Baeldung on Computer Science
- All
- Programming (1)
- Data Structures (1)
How to Implement a Queue Using Two Stacks?
Filed under Data Structures
Learn two approaches to simulating a FIFO queue using two LIFO stacks.
High-Level Design vs. Low-Level Design
Filed under Programming
Explore the differences between high-level and low-level designs in software engineering.