Tagged articles
6 articles
Page 1 of 1
Architect's Must-Have
Architect's Must-Have
Nov 2, 2025 · Fundamentals

Master Java Lambda Expressions: From Basics to Advanced Usage

This article explains what Java lambda expressions are, why they were introduced, their syntax and classifications, functional interfaces, core functional interfaces, method references, and provides multiple code examples that progressively simplify traditional anonymous inner classes into concise lambda forms.

Functional InterfacesJavaLambda Expressions
0 likes · 15 min read
Master Java Lambda Expressions: From Basics to Advanced Usage
Top Architect
Top Architect
Sep 7, 2021 · Fundamentals

Understanding Java Method References and Optional: A Practical Guide

This article explains Java method references—including static, instance, and constructor forms—and the Optional class, showing how they simplify functional programming with clear code examples, usage patterns, and best‑practice tips for handling nullable values.

Functional InterfaceJavaLambda
0 likes · 8 min read
Understanding Java Method References and Optional: A Practical Guide
Programmer DD
Programmer DD
Dec 15, 2020 · Fundamentals

Master Java Method References: Simplify Lambdas for Cleaner Code

This article explains Java's method reference feature, covering its four types, practical code examples for static methods, instance methods, constructors, and highlighting limitations compared to lambda expressions, helping developers write more readable and concise Java 8 code.

JavaJava 8Method References
0 likes · 7 min read
Master Java Method References: Simplify Lambdas for Cleaner Code
Top Architect
Top Architect
Sep 20, 2020 · Fundamentals

Java 8 Method References and Optional: Concise Coding with Functional Interfaces

This article introduces Java 8's method reference syntax and the Optional class, explaining static, instance, and constructor references, demonstrating their use with functional interfaces such as Function and BiFunction, and providing practical code examples to write more concise and null‑safe Java code.

Functional InterfacesJavaJava 8
0 likes · 8 min read
Java 8 Method References and Optional: Concise Coding with Functional Interfaces
Programmer DD
Programmer DD
Sep 17, 2020 · Fundamentals

Master Java 8 Method References and Optional: A Practical Guide

This article explains Java 8's method reference syntax—including static, instance, and constructor references—shows how to assign them to functional interfaces, introduces the Optional class for null‑safe programming, and demonstrates the static‑factory‑method (of) pattern with clear code examples.

Functional InterfacesJava 8Method References
0 likes · 8 min read
Master Java 8 Method References and Optional: A Practical Guide
Programmer DD
Programmer DD
Sep 7, 2020 · Fundamentals

Master Java Method References: Simplify Lambdas with Clean Code

This article explains Java method references, shows how they simplify lambda expressions with practical code examples, outlines reference formats, discusses readability benefits, and provides guidance for adopting this Java 8 feature in everyday programming.

Code SimplificationLambda ExpressionsMethod References
0 likes · 6 min read
Master Java Method References: Simplify Lambdas with Clean Code