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</>
PlantUML17 Agt 2025

How to Visualize System Components with PlantUML Component Diagrams

To visualize system components using PlantUML Component Diagrams, you’ll need to follow these steps. Component diagrams allow you to model and delineate the architecture of a larger system by showing how components interact with each other. Steps to Create a Component Diagram with PlantUML Set Up PlantUML To create component diagrams with PlantUML, you need: […]

Wayan · 3 menit baca
PLANTUML / CATATAN</>
PlantUML15 Agt 2025

How to Design Package Diagrams Using PlantUML for Modular Architecture

In a modular architecture, package diagrams are a powerful way to represent the dependencies and relationships between different modules or packages within a system. With PlantUML, you can easily create package diagrams to visually describe your architecture and ensure modularity principles like separation of concerns, low coupling, and high cohesion are maintained. Here’s how you […]

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

How to Create a Custom Date Comparator in Java

To create a custom date comparator in Java, you can follow these steps: 1. Understand the Requirements A date comparator is used to sort objects based on date values. For instance, consider a User class that has a Date field (e.g., ). We’ll compare and sort User instances by that date. birthDate 2. Define a […]

Wayan · 3 menit baca
UTIL PACKAGE / CATATAN</>
Util Package13 Agt 2025

How to Use TreeMap for Sorted Key Access in Java

The TreeMap class in Java is part of the java.util package and provides an implementation of the Map interface that keeps its keys sorted in a natural order (according to ) or a custom order (defined by a Comparator, if provided during construction)Comparable. It’s commonly used when you need to access keys in sorted order […]

Wayan · 4 menit baca
NET PACKAGE / CATATAN</>
Net Package12 Agt 2025

How to Encode and Decode URLs in Java

In Java, you can encode and decode URLs using the java.net.URLEncoder and java.net.URLDecoder classes. These classes handle encoding and decoding in compliance with the application/x-www-form-urlencoded MIME type. Here’s how you can encode and decode URLs: Code Example import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.net.URLDecoder; public class URLEncoderDecoderExample { public static void main(String[] args) { try { […]

Wayan · 2 menit baca
NET PACKAGE / CATATAN</>
Net Package11 Agt 2025

How to Resolve a Domain Name in Java

Here are common ways to resolve domain names in Java, from simplest to more advanced use cases. Basic A/AAAA record lookup (IPv4/IPv6) Uses the system resolver and OS DNS settings. Returns all IPs (both IPv4 and IPv6 where available). import java.net.InetAddress; import java.net.UnknownHostException; public class DnsLookup { public static void main(String[] args) { String host […]

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.