SupportWriter space ↗
REFERENCE LIBRARY

References from other publishers

Republished articles with source attribution. This collection is separate from Diary Coding’s original guides and does not display ads.

Read original guides → · Editorial policy

FOR YOUR CURIOSITY

Latest notes.

CORE API / NOTES</>↗
Core API28 Feb 2025

How do I use the BooleanSupplier functional interface in Java?

The BooleanSupplier interface in Java is a functional interface introduced in Java 8 as part of the java.util.function package. It is used as a supplier of boolean values, meaning it provides a single method to return a boolean value without taking any input parameters. Here’s how we can use the BooleanSupplier interface: Key Features: Functional […]

Wayan · 3 min read
CORE API / NOTES</>↗
Core API27 Feb 2025

How do I use the BiPredicate functional interface in Java?

The BiPredicate interface is a functional interface introduced in Java 8 that represents a predicate (boolean-valued function) with two arguments. It is located in the java.util.function package and can be used to evaluate a condition or logical test involving two input arguments. Key Details about BiPredicate: Functional Method: The BiPredicate interface defines a single abstract […]

Wayan · 4 min read
CORE API / NOTES</>↗
Core API26 Feb 2025

How do I use the BinaryOperator functional interface in Java?

The BinaryOperator interface in Java is a functional interface that extends the BiFunction interface. It takes two arguments of the same type and produces a result of the same type. It is typically used for functional-style operations where two operands of the same type need to be combined into one result. Key Details about BinaryOperator: […]

Wayan · 3 min read
CORE API / NOTES</>↗
Core API25 Feb 2025

How do I use the BiFunction functional interface in Java?

The BiFunction interface in Java is a functional interface introduced in Java 8 under the java.util.function package. It is designed to take two arguments of specified types, perform a computation on them, and return a result of another specified type. Below are the key concepts and usage examples to understand and use the BiFunction interface: […]

Wayan · 4 min read
CORE API / NOTES</>↗
Core API24 Feb 2025

How do I use the BiConsumer functional interface in Java?

The BiConsumer interface in Java is part of the java.util.function package and is used when we need to perform an operation that takes two input arguments and does not return any result. It is a functional interface commonly used in lambda expressions or functional programming scenarios. Key Features: It accepts two arguments of potentially different […]

Wayan · 3 min read
CORE API / NOTES</>↗
Core API23 Feb 2025

How do I use the Predicate functional interface in Java?

The Predicate class in Java is a functional interface introduced in Java 8 under the java.util.function package. It is used to test a condition on an input and return a boolean value (true or false). Predicates are often used in lambda expressions or method references to filter data or apply conditional logic. Here’s how we […]

Wayan · 4 min read
✳

Knowledge grows when shared.

Stay curious. There is always something new to learn.

Explore notes ↗
Putu Adi Guna Permana
ABOUT THE AUTHOR

Dr (C). Ir. Putu Adi Guna Permana, S.Kom., M.Kom., IPM., ASEAN Eng.

Writer and founder of Diary Coding — sharing notes, tutorials, and experiences about programming for anyone who wants to keep learning.