How pdichone/java-21-course-code works
This repository is a small set of standalone Java examples, not a single application workflow. Each source file demonstrates a Java language or runtime feature, including records and pattern matching, sequenced collections, scoped values, virtual threads, string templates, and the Vector API. The README describes a generic VS Code Java workspace but does not document relationships among the examples. Edges are limited to relationships visible in the excerpts; the examples are otherwise independent.
Main entry points: ScopedValues.java Scoped Values · VThreads.java Virtual Threads
Components 14
Other components
- Hello World
src/App.java - Record Deconstruction
src/Deconstructors.java - Pattern Matching
src/PatternMatching.java - Records
src/RecordsIntroduction.java - Scoped Values
src/ScopedValues.java - Scoped Task
src/ScopedValues.java - Sequenced Collections
src/SequencedCollections.java - Sequenced Map
src/SequencedMap.java - Sequenced Set
src/SequencedSet.java - String Templates
src/StringTemplate.java - Unnamed Patterns
src/UnnamedPatternsAndVariables.java - Virtual Threads
src/VThreads.java - Vector API
src/VectorApiDemo.java - User
Connections 2
- Scoped Values → Scoped Task: runs task
src/ScopedValues.java - User → Virtual Threads: chooses thread mode
src/VThreads.java