Tagged articles
2 articles
Page 1 of 1
Programmer DD
Programmer DD
Nov 23, 2019 · Backend Development

Mastering Java Lambda: From Runnable to UnaryOperator Explained

This article explains how Java lambda expressions work by showing thread creation, collection sorting, and the underlying functional interfaces such as Runnable, Comparator, Function, and UnaryOperator, while clarifying the role of the @FunctionalInterface annotation and the compiler’s automatic detection of functional interfaces.

FunctionalInterfaceJavaLambda
0 likes · 13 min read
Mastering Java Lambda: From Runnable to UnaryOperator Explained
Programmer DD
Programmer DD
Aug 8, 2018 · Fundamentals

Unlocking Java Lambdas: How Functional Interfaces Power Modern Code

This article explores Java 8 lambda expressions, demonstrating their syntax, how they map to functional interfaces like Runnable and Comparator, the role of the @FunctionalInterface annotation, and the practical use of UnaryOperator and Function interfaces in everyday code.

FunctionalInterfaceFunctionalProgrammingJava
0 likes · 14 min read
Unlocking Java Lambdas: How Functional Interfaces Power Modern Code