Tagged articles
9 articles
Page 1 of 1
Java Architecture Diary
Java Architecture Diary
Nov 5, 2025 · Fundamentals

Why Scala Has Been Ahead of Java for Over a Decade – A Feature‑by‑Feature Comparison

The article examines the recent push for modern features in Java, contrasts them with Scala implementations that have existed for years, and walks through functional programming, pattern matching, immutable collections, type inference, string interpolation, sealed classes, and concurrency with side‑by‑side code examples in both languages.

Immutable CollectionsScalaconcurrency
0 likes · 17 min read
Why Scala Has Been Ahead of Java for Over a Decade – A Feature‑by‑Feature Comparison
Java Architecture Stack
Java Architecture Stack
Aug 9, 2024 · Fundamentals

Unlocking Guava: How 7 Design Patterns Power Its Core

This article dissects the Guava library to reveal how seven classic design patterns—Builder, Proxy, Immutable, Singleton, Decorator, Adapter, and Observer—are implemented in its core classes, providing clear code examples, step‑by‑step construction processes, and practical insights for Java developers.

Builder PatternDesign PatternsGuava
0 likes · 27 min read
Unlocking Guava: How 7 Design Patterns Power Its Core
Programmer DD
Programmer DD
May 21, 2022 · Backend Development

Simplify Immutable Collections in Java: From Collections.unmodifiable to List.of & Set.of

This article demonstrates how to create immutable collections in Java, comparing traditional approaches using Collections.unmodifiableSet/List with Java 8 Stream‑based methods and the concise Java 9 factory methods Set.of, List.of, and Map.of, and explains key differences between List.of and Arrays.asList.

Immutable CollectionsJava 9List.of
0 likes · 5 min read
Simplify Immutable Collections in Java: From Collections.unmodifiable to List.of & Set.of
Java Architect Essentials
Java Architect Essentials
Apr 28, 2022 · Backend Development

An Overview of Google Guava: Immutable Collections, New Collection Types, and Utility Classes

This article introduces Google Guava, covering its core purpose, how to add the library via Maven, the benefits and creation methods of immutable collections, the additional collection types such as Multiset, Multimap, BiMap, Table, and ClassToInstanceMap, as well as Guava's helper utilities for JDK collections, primitive types, strings, and the Stopwatch timing class, each illustrated with code examples and links to source repositories.

Google GuavaImmutable CollectionsMultimap
0 likes · 15 min read
An Overview of Google Guava: Immutable Collections, New Collection Types, and Utility Classes
Programmer DD
Programmer DD
Oct 5, 2021 · Backend Development

What’s New in Java 10? Exploring var, Immutable Collections, and Optional Enhancements

This article reviews the key Java 10 features—including the shortened six‑month release cycle, local‑variable type inference with the new var keyword, strengthened immutable collection APIs, the Optional.orElseThrow() method, and other performance and container‑integration improvements—while highlighting best‑practice pitfalls.

Immutable CollectionsJava 10Type Inference
0 likes · 7 min read
What’s New in Java 10? Exploring var, Immutable Collections, and Optional Enhancements
Programmer DD
Programmer DD
Jun 18, 2021 · Backend Development

Unlock Functional Java with Vavr: Immutable Collections & Pattern Matching

This article introduces Vavr, a Java 8 functional library that brings immutable, persistent collections, observable side‑effects via Try, tuple types, enhanced function composition, lazy evaluation, and Scala‑like pattern matching, showing code examples and explaining how to integrate the library into Maven projects.

Immutable CollectionsVavrfunctional programming
0 likes · 9 min read
Unlock Functional Java with Vavr: Immutable Collections & Pattern Matching
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 16
0 likes · 5 min read
Unlock Java 9‑16: New APIs, Immutable Collections, and Stream Enhancements
Qunar Tech Salon
Qunar Tech Salon
Nov 25, 2014 · Fundamentals

Guava Immutable Collections and Advanced Collection Types Overview

This article explains why immutable collections improve safety and performance, how to create them with Guava's copyOf, of, and Builder methods, and introduces Guava's extended collection types such as Multiset, Multimap, BiMap, Table, ClassToInstanceMap, RangeSet, and RangeMap with usage examples.

Data StructuresGuavaImmutable Collections
0 likes · 16 min read
Guava Immutable Collections and Advanced Collection Types Overview