Ruang penulis
SEBUAH JURNAL TENTANG TEKNOLOGI

Belajar hal baru.
Tulis. Bagikan.

Ruang untuk merangkai pengetahuan, satu baris kode setiap hari.
Temukan tutorial, ide, dan catatan dari perjalanan belajar.

1914 catatan & terus bertumbuh
PILIHAN EDITOR
Java

Memahami Java Stream: olah koleksi dengan lebih ringkas

Pelajari alur filter, map, dan collect untuk mengolah data Java dengan kode yang mudah dibaca.

D Tim Diary Coding · 1 menit baca
UNTUK RASA INGIN TAHUMU

Catatan terbaru.

CORE API / CATATAN</>
Core API08 Mar 2025

How do I use the DoubleToLongFunction functional interface in Java?

The DoubleToLongFunction interface in Java, part of the java.util.function package, represents a functional interface with a method that accepts a double-valued argument and produces a long-valued result. It is often used when a computation or conversion needs to be performed from a double to a long. Functional Interface The DoubleToLongFunction interface is annotated with @FunctionalInterface, […]

Wayan · 4 menit baca
CORE API / CATATAN</>
Core API07 Mar 2025

How do I use the DoubleToIntFunction functional interface in Java?

The DoubleToIntFunction interface in Java, part of the java.util.function package, represents a function that accepts a single double-valued argument and produces an int-valued result. It can be used when a conversion or computation needs to be performed from a double type to an int. Functional Interface The DoubleToIntFunction interface is annotated with @FunctionalInterface, meaning it […]

Wayan · 3 menit baca
CORE API / CATATAN</>
Core API06 Mar 2025

How do I use the DoubleSupplier functional interface in Java?

The DoubleSupplier interface in Java is part of the java.util.function package and is used to represent a supplier of double-valued results. It is a functional interface and is often used when we need to generate or supply double values (for example, random numbers or calculated values) without taking any input. Functional Interface Like other functional […]

Wayan · 3 menit baca
CORE API / CATATAN</>
Core API05 Mar 2025

How do I use the DoublePredicate functional interface in Java?

The DoublePredicate interface in Java, part of the java.util.function package, is a functional interface used to represent a predicate (boolean-valued function) that tests a single double-valued argument. Functional Interface Details The DoublePredicate interface has only one abstract method: boolean test(double value); This method evaluates the predicate on the given double value and returns a boolean […]

Wayan · 3 menit baca
CORE API / CATATAN</>
Core API04 Mar 2025

How do I use the DoubleFunction functional interface in Java?

The DoubleFunction interface in Java is a functional interface in the java.util.function package. It represents a function that takes in a double as an argument and produces a result of some type. Since it is a functional interface, you can use it as a lambda expression or method reference. Method in DoubleFunction The DoubleFunction interface […]

Wayan · 3 menit baca
CORE API / CATATAN</>
Core API03 Mar 2025

How do I use the DoubleConsumer functional interface in Java?

The DoubleConsumer interface in Java is part of the java.util.function package and is used to represent an operation that takes a single double-valued argument and does not return a result. It is commonly used in lambda expressions or method references for consuming a double value (often for side effect operations such as logging or accumulating […]

Wayan · 3 menit baca

Pengetahuan tumbuh ketika dibagikan.

Simpan rasa ingin tahu. Selalu ada hal baru untuk dipelajari.

Jelajahi catatan ↗
Putu Adi Guna Permana
TENTANG PENULIS

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

Penulis dan pendiri Diary Coding — berbagi catatan, tutorial, dan pengalaman seputar pemrograman untuk siapa pun yang ingin terus belajar.