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.

PLANTUML / CATATAN</>
PlantUML04 Agt 2025

How to Create Class Diagrams with PlantUML for Clear Object-Oriented Design

PlantUML is a powerful tool to create class diagrams that help in visualizing and designing object-oriented software. Below is a comprehensive guide to creating class diagrams with PlantUML for clear object-oriented design. 1. What is PlantUML? PlantUML is a text-based tool for creating UML (Unified Modeling Language) diagrams. It uses simple plain-text descriptions to generate […]

Wayan · 4 menit baca
JAVA DATE TIME API / CATATAN</>
Java Date Time API03 Agt 2025

How to Format Dates with DateTimeFormatter

In Java (starting from Java 8), you can format dates using the DateTimeFormatter class, which provides an easier and more modern approach to date and time formatting. This class is part of the java.time.format package and works seamlessly with the java.time API (e.g., LocalDate, LocalDateTime, ZonedDateTime). Here’s how you can format dates with DateTimeFormatter: Example […]

Wayan · 5 menit baca
TEXT PACKAGE / CATATAN</>
Text Package02 Agt 2025

How to Format Dates with SimpleDateFormat

You can format dates in Java using the SimpleDateFormat class, which is part of the java.text package. This class allows you to specify patterns describing the formatting and parsing of date and time objects. Here’s a step-by-step guide: Example of Formatting Dates with SimpleDateFormat package org.kodejava.text; import java.text.SimpleDateFormat; import java.util.Date; public class DateFormatExample { public […]

Wayan · 2 menit baca
UTIL PACKAGE / CATATAN</>
Util Package01 Agt 2025

How to Use Locale for Internationalization

Internationalization (i18n) involves designing applications so that they can be adapted to different languages, regions, and cultures. In Java, the Locale class is a fundamental part of i18n. It represents a specific geographical, political, or cultural region and is used in conjunction with various APIs to format dates, numbers, and text according to a specific […]

Wayan · 4 menit baca
LANG PACKAGE / CATATAN</>
Lang Package31 Jul 2025

How to Use System.currentTimeMillis() for Performance Timing

In Java, System.currentTimeMillis() is commonly used as a simple way to measure the execution time of a block of code or a specific operation in terms of milliseconds. Here’s how you can effectively use it for performance timing: Example Usage package org.kodejava.lang; public class PerformanceTimingExample { public static void main(String[] args) { // Record the […]

Wayan · 3 menit baca
UTIL PACKAGE / CATATAN</>
Util Package30 Jul 2025

How to Use Objects.requireNonNull() Effectively

The Objects.requireNonNull() method is a utility provided in Java to enforce that an object is not null during runtime. It is part of the java.util.Objects class starting from Java 7 and is commonly used for validating method parameters, ensuring that null values don’t propagate and cause unexpected NullPointerExceptions later. Here’s a detailed explanation of how […]

Wayan · 4 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.