Tag

Core Library

1 views collected around this technical thread.

Architect's Tech Stack
Architect's Tech Stack
May 15, 2021 · Fundamentals

Understanding Java's StringJoiner: Design, Implementation, and Practical Usage

This article explains why the StringJoiner class was introduced as a more flexible alternative to StringBuilder, details its internal fields, constructors, and core methods such as add, merge, toString, length, and setEmptyValue, and demonstrates their behavior with concrete Java code examples.

APICodeCore Library
0 likes · 9 min read
Understanding Java's StringJoiner: Design, Implementation, and Practical Usage
IT Xianyu
IT Xianyu
Oct 16, 2020 · Fundamentals

Java Random Class: Constructors, Methods, and Implementation Details

This article provides a comprehensive overview of Java's Random class, describing its constructor, implemented interfaces, direct subclasses, and detailed explanations of all public methods—including setSeed, next, nextBytes, nextInt, nextLong, nextBoolean, nextFloat, nextDouble, and nextGaussian—along with the underlying linear‑congruential algorithm and code examples.

AlgorithmsCore LibraryJava
0 likes · 12 min read
Java Random Class: Constructors, Methods, and Implementation Details
Java Captain
Java Captain
Oct 4, 2019 · Fundamentals

JDK 11‑13 Enhancements: Switch Expressions, Text Blocks, Dynamic CDS, ZGC Improvements, Socket API Rewrite, New FileSystem Methods, NIO Updates, Time API, I18N, and Feature Removals

This article summarizes the major JDK 11‑13 updates, including switch expression simplifications, multi‑line text block literals, dynamic AppCDS archives, ZGC memory‑release enhancements, a modernized socket API, new FileSystems methods, bulk NIO ByteBuffer operations, the Reiwa era in java.time, Unicode 12.1 support, and several deprecated features that have been removed.

Core LibraryJDKJava
0 likes · 10 min read
JDK 11‑13 Enhancements: Switch Expressions, Text Blocks, Dynamic CDS, ZGC Improvements, Socket API Rewrite, New FileSystem Methods, NIO Updates, Time API, I18N, and Feature Removals