Tagged articles
10 articles
Page 1 of 1
Architecture Digest
Architecture Digest
Aug 19, 2024 · Backend Development

Java 8 Functional Interfaces: Simplifying Conditional Logic with Function, Supplier, Consumer, and Runnable

This article explains how Java 8 functional interfaces such as Function, Supplier, Consumer, and Runnable can replace repetitive if‑else statements, providing code examples for exception handling, branch processing, and present‑or‑else logic to improve readability and maintainability in backend development.

Exception HandlingFunctionalInterfaceLambda
0 likes · 6 min read
Java 8 Functional Interfaces: Simplifying Conditional Logic with Function, Supplier, Consumer, and Runnable
Architect's Guide
Architect's Guide
Feb 1, 2024 · Fundamentals

Java 8 Functional Interfaces: Function, Supplier, Consumer, Runnable and Practical Usage Patterns

This article introduces Java 8 functional interfaces—including Function, Supplier, Consumer, and Runnable—explains their signatures, demonstrates how they can replace traditional if‑else statements for exception handling, branch processing, and null checks, and provides concrete code examples and usage tips.

BackendFunctionalInterfaceLambda
0 likes · 7 min read
Java 8 Functional Interfaces: Function, Supplier, Consumer, Runnable and Practical Usage Patterns
Programmer DD
Programmer DD
Sep 19, 2021 · Fundamentals

Master Java Method References and Optional: A Practical Guide

This article explains Java method references, static and instance forms, constructor references, and the Optional class with code examples, showing how to write concise, null‑safe functional code using Java 8 features.

FunctionalInterfaceLambdaMethodReference
0 likes · 8 min read
Master Java Method References and Optional: A Practical Guide
Java Architect Essentials
Java Architect Essentials
Sep 2, 2021 · Backend Development

Understanding Java Method References, Optional, and Static Factory Methods

This article explains Java's method reference syntax, including static, instance, and constructor references, demonstrates their use with functional interfaces, introduces the Optional class for handling nullable values, and shows how static factory methods like of() can replace constructors, providing practical code examples throughout.

BackendFunctionalInterfaceMethodReference
0 likes · 8 min read
Understanding Java Method References, Optional, and Static Factory Methods
Java Backend Technology
Java Backend Technology
Aug 22, 2020 · Backend Development

Master Java Method References and Optional: A Practical Guide

This article explains Java’s method reference syntax—including static, instance, and constructor references—demonstrates how to assign them to functional interfaces, explores the Optional class and its common methods, and shows how static factory methods like of replace constructors, all with clear code examples.

FactoryMethodFunctionalInterfaceLambda
0 likes · 9 min read
Master Java Method References and Optional: A Practical Guide
Architect's Tech Stack
Architect's Tech Stack
Jun 5, 2020 · Fundamentals

Introduction to Java Lambda Expressions and Common Usage Examples

This article introduces Java Lambda expressions, explains the functional interface requirements, demonstrates basic and simplified syntax, and provides numerous practical examples such as method references, constructor references, thread creation, collection iteration, element removal, sorting, and closure behavior.

CollectionsFunctionalInterfaceLambda
0 likes · 13 min read
Introduction to Java Lambda Expressions and Common Usage Examples
Java Captain
Java Captain
Jan 29, 2020 · Backend Development

Understanding Java Lambda Expressions: Concepts, Usage, and Simplifications

This article explains Java Lambda expressions, covering their definition as functional interface implementations, how they enable assigning code blocks to variables, their advantages over traditional anonymous classes, and step‑by‑step simplifications using built‑in functional interfaces, streams, method references, and Optional for cleaner, more expressive backend code.

FunctionalInterfaceLambdaStream
0 likes · 6 min read
Understanding Java Lambda Expressions: Concepts, Usage, and Simplifications
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.

FunctionalInterfaceLambdaUnaryOperator
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.

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