Java 8
-
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
Optimizing Data Filtering with Java 8 Predicates
Java 8 introduced a powerful functional interface called Predicate that revolutionized data filtering. By providing a concise and expressive way…
Read More » -
Core Java
Guide to CompletableFuture join() vs get()
Java’s CompletableFuture is a powerful tool for asynchronous programming, offering various methods to handle and manipulate future tasks. Among these…
Read More » -
Core Java
Conversion of InputStream to Stream in Java
In this article, we will explore different approaches for InputStream to Stream conversion in Java. 1. Introduction In Java, InputStream…
Read More » -
Core Java
Using Java 8 Optionals: Perform Action Only If All Are Present
Java’s Optional class provides a container object which may or may not contain a non-null value. This is useful for…
Read More » -
Core Java
Implement Elvis Operator in Java 8
In Java 8, the Elvis operator (often written as ?: in Groovy and Kotlin) is not available as a built-in…
Read More » -
Core Java
Guide to ExecutorService vs. CompletableFuture
Modern applications often require efficient handling of concurrent tasks to improve performance and responsiveness. Java provides robust concurrency utilities, such…
Read More » -
Core Java
Jackson & Java 8 Date-Time: LocalDate Support Issues
In the realm of Java 8, a notable gap arises with the absence of native support for the java.time.LocalDate type…
Read More » -
Enterprise Java
Gradle Configuration
In this post, we feature a comprehensive article about Gradle Configuration. 1. Technology Gradle is an open-source build tool for…
Read More »