π My Learning Journey
Learning progress chronologically
Friday, December 05, 2025 5 posts
Feature / Use Case β .map() β .flatMap() Purpose β Transforms each element into exactly one new element β Transforms each element into zero, one, or many ...
Javaβs Function<T, R> interface with practical use cases . What is Function<T, R> ? Part of java.util.function (Java 8+) Represents ...
-> Operator in Java The -> operator in Java is used to define lambda expressions It separates the parameters (on the left) from the body (on the right) of the lambda expression. Lambda e...
Alright π β hereβs your Java Optional βRefactor Mapβ in a one-page visual-style table so you can instantly see how to replace common null patterns with Optional equivalents. Java Option...
This will show you how to replace old null checks with Optional in real-world code for cleaner, safer, and more functional-style Java. 1. Before: Trad...