Tagged articles
10 articles
Page 1 of 1
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 16, 2026 · Backend Development

14 Advanced Java Collection Tricks to Write Cleaner Code

This article presents fourteen practical Java collection techniques—ranging from creating immutable and empty collections to using computeIfAbsent, Map.merge, Collectors.groupingBy, and EnumMap/EnumSet—each illustrated with concise code snippets and explanations that improve readability, safety, and performance in Spring Boot applications.

CollectionsEnumMapJava
0 likes · 9 min read
14 Advanced Java Collection Tricks to Write Cleaner Code
Programmer DD
Programmer DD
Jun 4, 2024 · Backend Development

8 Essential Java Stream APIs to Simplify Collection Processing

This article introduces eight ready‑to‑use Java Stream APIs—including Stream.ofNullable, Stream.iterate, collectingAndThen, dropWhile/takeWhile, IntStream, teeing, concat, and partitioningBy—showing how each can cleanly handle nulls, generate sequences, transform collections, and combine streams with concise code examples.

CollectionsJavaJava 12
0 likes · 7 min read
8 Essential Java Stream APIs to Simplify Collection Processing
Programmer DD
Programmer DD
May 19, 2022 · Fundamentals

Master Java’s Interactive Shell: Quick JShell Guide for Rapid Prototyping

This article introduces Java's interactive programming environment, explains how to launch JShell, demonstrates calculations, variable and function definitions, class creation, and covers essential commands like /help, /list, /edit, /drop, /save, /open, /reset, /imports, /types, and /exit for efficient REPL usage.

JShellJavaJava 9
0 likes · 11 min read
Master Java’s Interactive Shell: Quick JShell Guide for Rapid Prototyping
Programmer DD
Programmer DD
Oct 2, 2021 · Fundamentals

What New APIs Does Java 9 Bring? Collections, Streams, Optional, and More

Java 9 introduces several notable enhancements—including immutable collection factories, expanded Stream operations like ofNullable, iterate, takeWhile, dropWhile, new Optional methods, simplified try‑with‑resources, private interface methods, a modern HttpClient, and preliminary Flow support—each illustrated with concise code examples for developers transitioning from earlier Java versions.

HttpClientJava 9Optional
0 likes · 7 min read
What New APIs Does Java 9 Bring? Collections, Streams, Optional, and More
21CTO
21CTO
May 23, 2021 · Backend Development

Unlock Java 9‑16: New APIs, Immutable Collections, and Stream Enhancements

This article introduces Java 9‑16 features such as factory methods for immutable collections, Optional.ifPresentOrElse, new Stream operations like takeWhile/dropWhile and toList, plus enhanced Duration and LocalDate utilities, providing concise, modern code patterns for developers.

DurationImmutable CollectionsJava
0 likes · 5 min read
Unlock Java 9‑16: New APIs, Immutable Collections, and Stream Enhancements
Qunar Tech Salon
Qunar Tech Salon
Nov 22, 2017 · Fundamentals

Overview of Java 9 New Features and JEP Enhancements

This article provides a comprehensive overview of Java 9’s major new features—including the JPMS (Jigsaw) module system, updated APIs, security improvements, the new HTTP/2 client, AOT compilation, and the time‑driven release model—illustrated with code examples and practical guidance for developers.

AoTJEPJLink
0 likes · 18 min read
Overview of Java 9 New Features and JEP Enhancements
21CTO
21CTO
Sep 22, 2017 · Backend Development

What’s New in Java 9? A Deep Dive into 150+ Features and Future Directions

This article reviews Java 9’s extensive new features—including the module system, jshell REPL, performance and security enhancements—explains their impact on development practices, and discusses the challenges and future directions for the Java platform.

JDKJVMJava 9
0 likes · 13 min read
What’s New in Java 9? A Deep Dive into 150+ Features and Future Directions