Class ScopedValuesFourthPreviewNotes
java.lang.Object
net.jrodolfo.java_evolution.java24.scoped_values.ScopedValuesFourthPreviewNotes
Explains scoped values fourth preview in Java 24.
Scoped values provide immutable contextual data through a bounded dynamic scope. Java 24 continued the preview before the feature became final in Java 25.
This repository keeps the Java 24 step as notes because the Java 25 module contains the final runnable learning example.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDescribes the feature status across releases.nextStep()Points learners to the final Java 25 module.Names the common older approach.Explains why Java 24 keeps this entry as a bridge note.Explains the context-propagation problem.Explains the scoped-value model.
-
Constructor Details
-
ScopedValuesFourthPreviewNotes
public ScopedValuesFourthPreviewNotes()
-
-
Method Details
-
problemSolved
Explains the context-propagation problem.- Returns:
- a short explanation
-
oldApproach
-
scopedValueModel
-
previewStep
Explains why Java 24 keeps this entry as a bridge note.- Returns:
- a short explanation
-
fourthPreviewStatus
Describes the feature status across releases.- Returns:
- a short status note
-
nextStep
Points learners to the final Java 25 module.- Returns:
- a short next-step note
-