Streams
-
Core Java
Java Flatten 2D array Into 1D Array
Arrays are the most basic data structures in any language. Although we don’t work on them directly in most cases,…
Read More » -
Core Java
Java Stream contains, containsAny and containsAll examples
The Java 8 Stream API provides various methods for operating on sequences of elements, such as filtering, mapping, and collecting.…
Read More » -
Core Java
Java Stream mapMulti() Example
With the release of Java 16, several new features and enhancements were introduced. One such feature is the mapMulti() method…
Read More » -
Core Java
Split String To Map In Java
In Java, when dealing with data stored in formats such as CSV or custom-delimited files, it is frequently required to…
Read More » -
Core Java
Java: Streaming a JDBC ResultSet as CSV
In my previous post, I showed how to convert a java.sql.ResultSet to JSON and stream it back to the caller.…
Read More » -
Core Java
Java: Streaming a JDBC ResultSet as JSON
This post shows how you can convert a java.sql.ResultSet to JSON and stream it back to the caller. This is…
Read More » -
Enterprise Java
Work with Parallel Database Streams using Java 8
What is a Parallel Database Stream? Read this post and learn how you can process data from a database in…
Read More » -
Enterprise Java
Database CRUD Operations in Java 8 Streams
The biggest obstacle to overcome when starting out with a new tool is to get your head around how to…
Read More » -
Core Java
Yet another Java 8 Lamdbas and Streams example
I’ve been lagging behind with what Java 8 features exercising concerns, so in this post I will briefly present my initial…
Read More »
- 1
- 2