Tag

Switch Expression

0 views collected around this technical thread.

政采云技术
政采云技术
Jan 25, 2024 · Fundamentals

Java JDK 12‑17 New Features and Enhancements Overview

This article provides a comprehensive overview of the major language and runtime enhancements introduced in JDK 12 through JDK 17, covering switch expressions, micro‑benchmarking with JMH, class‑data sharing, garbage‑collector improvements, new String methods, hidden and sealed classes, records, and unified asynchronous logging, all illustrated with code examples.

Garbage CollectionJDKJMH
0 likes · 23 min read
Java JDK 12‑17 New Features and Enhancements Overview
Architecture Digest
Architecture Digest
Aug 23, 2023 · Fundamentals

Key New Features in Java 17: Text Blocks, Records, Switch Expressions, Pattern Matching, Sealed Classes, and Improved NullPointerException

The article reviews the most notable Java 17 language enhancements—including text blocks, records, concise switch expressions, pattern‑matching instanceof, sealed classes, and richer NullPointerException messages—explaining their syntax, benefits, and providing side‑by‑side code comparisons with Java 11.

RecordsSealed ClassesSwitch Expression
0 likes · 9 min read
Key New Features in Java 17: Text Blocks, Records, Switch Expressions, Pattern Matching, Sealed Classes, and Improved NullPointerException
Java Architecture Diary
Java Architecture Diary
Sep 15, 2021 · Backend Development

Unlock Java 17 in IntelliJ IDEA 2021.2.1: Pattern Matching, Switch & Speed Tips

This article explains how to use Java 17 features such as pattern matching and switch expressions in IntelliJ IDEA 2021.2.1, demonstrates performance‑boosting tips by disabling unnecessary plugins, and provides practical code examples to streamline your Java development workflow.

IntelliJ IDEAPattern MatchingPerformance Optimization
0 likes · 4 min read
Unlock Java 17 in IntelliJ IDEA 2021.2.1: Pattern Matching, Switch & Speed Tips
High Availability Architecture
High Availability Architecture
Mar 19, 2020 · Backend Development

New Features in Java 14: Switch Expressions, Pattern Matching for instanceof, Helpful NullPointerExceptions, Records and More

The article introduces the major Java 14 enhancements—including standard switch expressions, preview pattern matching for instanceof, more informative NullPointerExceptions, preview records, text blocks, and several JVM and library improvements—while providing code examples that illustrate how each feature simplifies Java development.

JavaJava 14Pattern Matching
0 likes · 6 min read
New Features in Java 14: Switch Expressions, Pattern Matching for instanceof, Helpful NullPointerExceptions, Records and More
Architect's Tech Stack
Architect's Tech Stack
Oct 3, 2019 · Fundamentals

Detailed Overview of JDK 13 New Features

This article provides a comprehensive English summary of JDK 13's new features—including switch expression enhancements, text‑block syntax, dynamic CDS archives, ZGC memory reclamation, revamped socket APIs, new FileSystems methods, updated NIO ByteBuffer operations, the Reiwa era in java.time, Unicode 12.1 support, GC improvements, security updates, and removed legacy functionalities—accompanied by original Java code examples.

JavaNIOSwitch Expression
0 likes · 11 min read
Detailed Overview of JDK 13 New Features