Tagged articles
5 articles
Page 1 of 1
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 14, 2021 · Fundamentals

Understanding the Decorator Pattern in Java: Core Roles and Practical Implementation

This article explains the Decorator design pattern in Java, detailing its four core participants—Component, ConcreteComponent, Decorator, and ConcreteDecorator—through UML diagrams and complete code examples, and also illustrates how Java’s InputStream hierarchy uses FilterInputStream as a real‑world decorator.

Decorator PatternDesign PatternsInputStream
0 likes · 5 min read
Understanding the Decorator Pattern in Java: Core Roles and Practical Implementation
Java High-Performance Architecture
Java High-Performance Architecture
Oct 1, 2018 · Backend Development

Unlock Java 11: Powerful New Features You Need to Know

This article introduces Java 11's most useful enhancements—including the var keyword, new String utilities, collection factory methods, Stream API additions, InputStream.transferTo, and the revamped HttpClient—showing how each feature simplifies code and improves productivity for modern Java developers.

CollectionsHttpClientInputStream
0 likes · 7 min read
Unlock Java 11: Powerful New Features You Need to Know
Java Captain
Java Captain
Dec 4, 2017 · Fundamentals

Understanding Java IO Streams: Concepts, Class Hierarchy, and Usage

This article explains the concept of streams, classifies Java IO streams into character/byte and input/output types, details the main InputStream and OutputStream class hierarchies, and describes related classes such as Reader, Writer, File, and RandomAccessFile for effective data handling.

InputStreamOutputStreamReader
0 likes · 10 min read
Understanding Java IO Streams: Concepts, Class Hierarchy, and Usage