Tagged articles

Method Reference

6 articles · Page 1 of 1
Architect's Guide
Architect's Guide
Jun 11, 2026 · Fundamentals

Mastering Java Lambda Expressions: A Deep Dive

This article explains what Java lambda expressions are, why they were added in Java 8, their syntax and classification, how they relate to functional interfaces, and demonstrates practical examples including anonymous inner‑class refactoring, stream usage, method references, and custom functional interfaces.

Functional InterfaceLambdaMethod Reference
0 likes · 16 min read
Mastering Java Lambda Expressions: A Deep Dive
CodeNotes
CodeNotes
May 26, 2026 · Fundamentals

Mastering Java Lambda Expressions: From Anonymous Classes to Method References

This guide walks through the evolution from traditional classes to anonymous inner classes and finally to Java 8 lambda expressions, explains lambda syntax, demonstrates all four method‑reference forms, covers variable capture rules, this binding, practical stream chaining, and highlights common pitfalls for Java developers.

Functional ProgrammingLambdaMethod Reference
0 likes · 9 min read
Mastering Java Lambda Expressions: From Anonymous Classes to Method References
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 18, 2022 · Fundamentals

Understanding Java Lambda Expressions and Functional Interfaces

This article provides a comprehensive guide to Java lambda expressions, covering their syntax, how they map to functional interfaces, differences from anonymous classes, parameter forms, method bodies, variable capture, and method references, with practical code examples for each concept.

Functional InterfaceLambdaMethod Reference
0 likes · 14 min read
Understanding Java Lambda Expressions and Functional Interfaces
Senior Brother's Insights
Senior Brother's Insights
Oct 13, 2019 · Fundamentals

Master Java 8 Lambda Expressions: From Anonymous Classes to Functional Interfaces

This guide explains Java 8’s Lambda expressions, covering their purpose, syntax, functional interfaces, method references, and practical examples such as thread creation, event handling, collection processing, and Stream API usage, while comparing them to traditional anonymous classes and highlighting compilation differences.

Functional InterfaceJava8Lambda
0 likes · 13 min read
Master Java 8 Lambda Expressions: From Anonymous Classes to Functional Interfaces