Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- acceptsURL(String) - Method in class net.jrodolfo.java_evolution.java01.jdbc.JdbcExamples.LearningDriver
- accessFlags() - Method in record class net.jrodolfo.java_evolution.java24.class_file.ClassFileSummary
-
Returns the value of the
accessFlagsrecord component. - accessorPair(String) - Method in class net.jrodolfo.java_evolution.java01.javabeans.JavaBeansExamples
-
Finds the read and write methods for a JavaBeans property.
- account(String) - Method in class net.jrodolfo.java_evolution.java25.FlexibleConstructorBodiesExamples
-
Creates a validated account.
- Account(String) - Constructor for class net.jrodolfo.java_evolution.java25.FlexibleConstructorBodiesExamples.Account
-
Creates an active account after validating and normalizing the owner.
- active() - Method in class net.jrodolfo.java_evolution.java08.StreamExamples.User
- active() - Method in class net.jrodolfo.java_evolution.java10.UnmodifiableCollectorsExamples.Feature
- active() - Method in class net.jrodolfo.java_evolution.java25.FlexibleConstructorBodiesExamples.Account
-
Returns whether the account is active.
- activeFeatureNames(List) - Method in class net.jrodolfo.java_evolution.java10.UnmodifiableCollectorsExamples
-
Collects active feature names into an unmodifiable list.
- activeUserNames(List) - Method in class net.jrodolfo.java_evolution.java08.StreamExamples
-
Finds active users, extracts their names, and sorts the result.
- addDays(LocalDate, long) - Method in class net.jrodolfo.java_evolution.java08.DateTimeApiExamples
-
Adds days to a date, returning a new instance because java.time types are immutable.
- addProjectListener(JavaBeansExamples.ProjectListener) - Method in class net.jrodolfo.java_evolution.java01.javabeans.JavaBeansExamples.ProjectBean
- address() - Method in class net.jrodolfo.java_evolution.java14.HelpfulNullPointerExceptionExamples.Customer
-
Returns the address reference.
- address() - Method in record class net.jrodolfo.java_evolution.java20.RecordPatternsSecondPreviewExamples.Customer
-
Returns the value of the
addressrecord component. - Address(String) - Constructor for class net.jrodolfo.java_evolution.java14.HelpfulNullPointerExceptionExamples.Address
-
Creates an address.
- Address(String, String) - Constructor for record class net.jrodolfo.java_evolution.java20.RecordPatternsSecondPreviewExamples.Address
-
Creates an instance of a
Addressrecord class. - addToEnvironment(String, Object) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- adminUser(String) - Method in class net.jrodolfo.java_evolution.java08.DefaultMethodExamples
-
Creates a user that overrides one default method.
- AdminUser(String) - Constructor for class net.jrodolfo.java_evolution.java08.DefaultMethodExamples.AdminUser
-
Creates an admin user that overrides the display-name behavior.
- after() - Method in class net.jrodolfo.java_evolution.java07.invokedynamic.InvokeDynamicExamples.RetargetResult
- age() - Method in class net.jrodolfo.java_evolution.java08.StreamExamples.User
- algorithm() - Method in class net.jrodolfo.java_evolution.java04.security.SecurityIntegrationExamples.ProviderServiceSummary
- algorithm() - Method in record class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeDsaResult
-
Returns the value of the
algorithmrecord component. - algorithm() - Method in record class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeKemResult
-
Returns the value of the
algorithmrecord component. - algorithm() - Method in record class net.jrodolfo.java_evolution.java25.key_derivation.DerivedKeyMaterial
-
Returns the value of the
algorithmrecord component. - ALGORITHM - Static variable in class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeDsaExample
-
Standard algorithm name for module-lattice digital signatures.
- ALGORITHM - Static variable in class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeKemExample
-
Standard algorithm name for module-lattice key encapsulation.
- ALGORITHM - Static variable in class net.jrodolfo.java_evolution.java25.key_derivation.HkdfKeyDerivationExample
-
Standard algorithm name for HKDF with SHA-256.
- algorithmExists(String) - Method in class net.jrodolfo.java_evolution.java17.RandomGeneratorExamples
-
Checks whether a named random generator algorithm exists.
- alive() - Method in class net.jrodolfo.java_evolution.java09.ProcessApiExamples.CurrentProcessSummary
- alternativeTo() - Method in class net.jrodolfo.java_evolution.java19.ForeignFunctionMemoryApiPreviewNotes
-
Names the older technology this API can replace for many use cases.
- AnnotationExamples - Class in net.jrodolfo.java_evolution.java05
-
Demonstrates annotations, introduced in Java 5.
- AnnotationExamples() - Constructor for class net.jrodolfo.java_evolution.java05.AnnotationExamples
- AnnotationExamples.ExampleFeature - Annotation Interface in net.jrodolfo.java_evolution.java05
-
Runtime-retained marker used by the example.
- AotClassLoadingExamples - Class in net.jrodolfo.java_evolution.java24.aot_class_loading
-
Demonstrates ahead-of-time class loading and linking, introduced in Java 24.
- AotClassLoadingExamples() - Constructor for class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples
- AotClassLoadingExamples.AotClassLoadingWorkflowResult - Record Class in net.jrodolfo.java_evolution.java24.aot_class_loading
-
Result of the complete Java 24 AOT class-loading workflow.
- AotClassLoadingExamples.CommandResult - Record Class in net.jrodolfo.java_evolution.java24.aot_class_loading
-
Result from one child process invocation.
- AotClassLoadingWorkflowResult(Path, Path, Path, Path, Path, long, long, AotClassLoadingExamples.CommandResult, AotClassLoadingExamples.CommandResult, AotClassLoadingExamples.CommandResult, AotClassLoadingExamples.CommandResult, AotClassLoadingExamples.CommandResult) - Constructor for record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.AotClassLoadingWorkflowResult
-
Creates an instance of a
AotClassLoadingWorkflowResultrecord class. - AotCommandLineErgonomicsExamples - Class in net.jrodolfo.java_evolution.java25.aot_command_line
-
Demonstrates Java 25 Ahead-of-Time (AOT) Command-Line Ergonomics, introduced by JEP 514.
- AotCommandLineErgonomicsExamples() - Constructor for class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples
- AotCommandLineErgonomicsExamples.AotWorkflowResult - Record Class in net.jrodolfo.java_evolution.java25.aot_command_line
-
Result of the full AOT workflow.
- AotCommandLineErgonomicsExamples.CommandResult - Record Class in net.jrodolfo.java_evolution.java25.aot_command_line
-
Result from one child JVM invocation.
- AotObjectCachingExamples - Class in net.jrodolfo.java_evolution.java26.aot_object_caching
-
Demonstrates the Java 26 AOT object-caching command-line workflow.
- AotObjectCachingExamples() - Constructor for class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples
- AotObjectCachingExamples.AotObjectCachingWorkflowResult - Record Class in net.jrodolfo.java_evolution.java26.aot_object_caching
-
Result of the complete AOT object-caching workflow.
- AotObjectCachingExamples.CommandResult - Record Class in net.jrodolfo.java_evolution.java26.aot_object_caching
-
Result from one child-JVM invocation.
- AotObjectCachingWorkflowResult(Path, Path, long, AotObjectCachingExamples.CommandResult, AotObjectCachingExamples.CommandResult) - Constructor for record class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples.AotObjectCachingWorkflowResult
-
Creates an instance of a
AotObjectCachingWorkflowResultrecord class. - AotWorkflowResult(Path, Path, long, AotCommandLineErgonomicsExamples.CommandResult, AotCommandLineErgonomicsExamples.CommandResult) - Constructor for record class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples.AotWorkflowResult
-
Creates an instance of a
AotWorkflowResultrecord class. - apiAreas() - Method in class net.jrodolfo.java_evolution.java06.web_services.WebServiceSupportNotes
- apiPackage() - Method in class net.jrodolfo.java_evolution.java06.scripting.ScriptingSupportExamples
- apiShape() - Method in class net.jrodolfo.java_evolution.java04.preferences.PreferencesNotes
- AppletApiRemovalExamples - Class in net.jrodolfo.java_evolution.java26.applet_api_removal
-
Demonstrates removal of the Applet API in Java 26.
- AppletApiRemovalExamples() - Constructor for class net.jrodolfo.java_evolution.java26.applet_api_removal.AppletApiRemovalExamples
- AppletApiRemovalExamples.CompilationResult - Record Class in net.jrodolfo.java_evolution.java26.applet_api_removal
-
Result from compiling obsolete applet source.
- apply(int, int) - Method in interface net.jrodolfo.java_evolution.java08.LambdaExamples.IntegerOperation
-
Applies an operation to two integers.
- apply(int, int) - Method in interface net.jrodolfo.java_evolution.java22.UnnamedVariablesPatternsExamples.IntPairOperation
-
Applies an operation to two integer values.
- area(SealedClassesPreviewExamples.Shape) - Method in class net.jrodolfo.java_evolution.java15.SealedClassesPreviewExamples
-
Calculates the area of a known shape hierarchy.
- area(SealedClassesExamples.Shape) - Method in class net.jrodolfo.java_evolution.java17.SealedClassesExamples
-
Calculates the area for a known sealed shape hierarchy.
- AssertionExamples - Class in net.jrodolfo.java_evolution.java04.assertions
-
Demonstrates assertions, introduced in J2SE 1.4.
- AssertionExamples() - Constructor for class net.jrodolfo.java_evolution.java04.assertions.AssertionExamples
- assertionsEnabled() - Method in class net.jrodolfo.java_evolution.java04.assertions.AssertionExamples
-
Shows whether assertions are enabled for this class.
- attributeValue(String, String, String) - Method in class net.jrodolfo.java_evolution.java04.xml.JaxpExamples
-
Reads an attribute from the first element with the requested name.
- audience() - Method in class net.jrodolfo.java_evolution.java22.class_file_api.ClassFileApiPreviewNotes
-
Names the main audience.
- AutoboxingExamples - Class in net.jrodolfo.java_evolution.java05
-
Demonstrates autoboxing and unboxing, introduced in Java 5.
- AutoboxingExamples() - Constructor for class net.jrodolfo.java_evolution.java05.AutoboxingExamples
- available() - Method in class net.jrodolfo.java_evolution.java06.console_api.ConsoleApiExamples.ConsoleAvailability
- average() - Method in class net.jrodolfo.java_evolution.java12.TeeingCollectorExamples.NumberSummary
B
- before() - Method in class net.jrodolfo.java_evolution.java07.invokedynamic.InvokeDynamicExamples.RetargetResult
- benchmarkBoundary() - Method in class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples
-
Explains the boundary of the executable example.
- benefit() - Method in class net.jrodolfo.java_evolution.java24.virtual_thread_synchronization.VirtualThreadSynchronizationExamples
-
Names the practical benefit.
- bind(String, Object) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- bind(Name, Object) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- bindAndLookup(String, Object) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples
-
Binds a name and looks it up again through the JNDI API.
- blankImage(int, int) - Method in class net.jrodolfo.java_evolution.java02.java2d.Java2DExamples
-
Creates a blank image that can be drawn without opening a GUI window.
- body() - Method in record class net.jrodolfo.java_evolution.java18.simple_web_server.StaticFileResponse
-
Returns the value of the
bodyrecord component. - bottomRight() - Method in record class net.jrodolfo.java_evolution.java21.RecordPatternsExamples.Rectangle
-
Returns the value of the
bottomRightrecord component. - boundary() - Method in class net.jrodolfo.java_evolution.java27.compact_object_headers.CompactObjectHeadersDefaultExamples
-
Explains why this is a flag observation rather than a layout benchmark.
- boundary() - Method in class net.jrodolfo.java_evolution.java27.jfr_data_redaction.JfrRedactionOptionExamples
-
States what this focused, deterministic probe does not establish.
- boundary() - Method in class net.jrodolfo.java_evolution.java27.pem_encodings.PemEncodingsThirdPreviewExamples
-
Explains the preview boundary and deterministic scope.
- boundary() - Method in class net.jrodolfo.java_evolution.java27.primitive_patterns.PrimitivePatternsFifthPreviewExamples
-
Explains why preview syntax is isolated from Maven compilation.
- boundary() - Method in class net.jrodolfo.java_evolution.java27.structured_concurrency.StructuredConcurrencySeventhPreviewExamples
-
Explains the scoped task-lifetime boundary.
- boundary() - Method in class net.jrodolfo.java_evolution.java27.tls_hybrid_key_exchange.PostQuantumHybridKeyExchangeExamples
-
Explains the deliberately local scope of this example.
- boundedDynamicScope() - Method in class net.jrodolfo.java_evolution.java22.scoped_values.ScopedValuesSecondPreviewNotes
-
Explains bounded dynamic scope in plain language.
- boundedRandomValue(String, int) - Method in class net.jrodolfo.java_evolution.java17.RandomGeneratorExamples
-
Creates a generator by algorithm name and produces a bounded value.
- boxedNumbers(int, int) - Method in class net.jrodolfo.java_evolution.java05.AutoboxingExamples
-
Adds primitive
intvalues to a list ofIntegervalues. - broadType(Object) - Method in class net.jrodolfo.java_evolution.java22.UnnamedVariablesPatternsExamples
-
Uses an unnamed pattern variable in a switch pattern.
- buttonActionClicks() - Method in class net.jrodolfo.java_evolution.java02.swing.SwingExamples
-
Triggers a Swing action through a button model without showing a window.
- byteLength() - Method in record class net.jrodolfo.java_evolution.java25.key_derivation.DerivedKeyMaterial
-
Returns the number of derived bytes.
- bytes() - Method in record class net.jrodolfo.java_evolution.java25.key_derivation.DerivedKeyMaterial
-
Returns the value of the
bytesrecord component. - bytesWithDefaultCharset(String) - Method in class net.jrodolfo.java_evolution.java18.Utf8DefaultCharsetExamples
-
Encodes text using the default charset, which Java 18 standardized as UTF-8 under the normal Java 18+ default configuration.
C
- cacheCreation() - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.AotClassLoadingWorkflowResult
-
Returns the value of the
cacheCreationrecord component. - cacheCreation() - Method in record class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples.AotWorkflowResult
-
Returns the value of the
cacheCreationrecord component. - cacheCreation() - Method in record class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples.AotObjectCachingWorkflowResult
-
Returns the value of the
cacheCreationrecord component. - cachedRun() - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.AotClassLoadingWorkflowResult
-
Returns the value of the
cachedRunrecord component. - cachedSummary() - Method in class net.jrodolfo.java_evolution.java01.serialization.SerializationExamples.ProjectSnapshot
- cacheFile() - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.AotClassLoadingWorkflowResult
-
Returns the value of the
cacheFilerecord component. - cacheFile() - Method in record class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples.AotWorkflowResult
-
Returns the value of the
cacheFilerecord component. - cacheFile() - Method in record class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples.AotObjectCachingWorkflowResult
-
Returns the value of the
cacheFilerecord component. - cacheSize() - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.AotClassLoadingWorkflowResult
-
Returns the value of the
cacheSizerecord component. - cacheSize() - Method in record class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples.AotWorkflowResult
-
Returns the value of the
cacheSizerecord component. - cacheSize() - Method in record class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples.AotObjectCachingWorkflowResult
-
Returns the value of the
cacheSizerecord component. - cacheUsage() - Method in record class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples.AotWorkflowResult
-
Returns the value of the
cacheUsagerecord component. - cacheUsage() - Method in record class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples.AotObjectCachingWorkflowResult
-
Returns the value of the
cacheUsagerecord component. - calculate(int, int, LambdaExamples.IntegerOperation) - Method in class net.jrodolfo.java_evolution.java08.LambdaExamples
-
Receives a custom operation as a method argument.
- callerClassName() - Method in class net.jrodolfo.java_evolution.java09.StackWalkerExamples
-
Finds the class that called this method.
- callerMethodName() - Method in class net.jrodolfo.java_evolution.java09.StackWalkerExamples
-
Finds the method that called this method.
- canConnectToApi() - Method in class net.jrodolfo.java_evolution.java02.security.SecurityPolicyExamples
-
Checks whether the domain implies the granted connect permission.
- canFindByName(Class) - Method in class net.jrodolfo.java_evolution.java15.hidden_classes.HiddenClassesExamples
-
Checks whether normal class-name lookup can discover a hidden class.
- cannotListenOnApiPort() - Method in class net.jrodolfo.java_evolution.java02.security.SecurityPolicyExamples
-
Checks whether the same domain implies a different, ungranted action.
- canParseInteger(String) - Method in class net.jrodolfo.java_evolution.java21.UnnamedPatternsVariablesPreviewExamples
-
Uses an unnamed catch parameter when the exception object is not needed.
- captureLogMessage() - Method in class net.jrodolfo.java_evolution.java04.LoggingExamples
-
Logs to a custom in-memory handler.
- categoriesByFeatureName(List) - Method in class net.jrodolfo.java_evolution.java10.UnmodifiableCollectorsExamples
-
Collects features into an unmodifiable map keyed by feature name.
- categoriesByFeatureNameWithDuplicateKey(List) - Method in class net.jrodolfo.java_evolution.java10.UnmodifiableCollectorsExamples
-
Attempts to collect duplicate keys into an unmodifiable map.
- category() - Method in class net.jrodolfo.java_evolution.java10.UnmodifiableCollectorsExamples.Feature
- ChainedExceptionExamples - Class in net.jrodolfo.java_evolution.java04
-
Demonstrates chained exceptions, standardized in J2SE 1.4.
- ChainedExceptionExamples() - Constructor for class net.jrodolfo.java_evolution.java04.ChainedExceptionExamples
- checksum() - Method in record class net.jrodolfo.java_evolution.java25.jfr_enhancements.JfrEnhancementsExamples.JfrMethodObservation
-
Returns the value of the
checksumrecord component. - Circle(double) - Constructor for record class net.jrodolfo.java_evolution.java15.SealedClassesPreviewExamples.Circle
-
Creates an instance of a
Circlerecord class. - Circle(double) - Constructor for record class net.jrodolfo.java_evolution.java17.SealedClassesExamples.Circle
-
Creates an instance of a
Circlerecord class. - circleArea(double) - Method in class net.jrodolfo.java_evolution.java05.StaticImportExamples
-
Uses statically imported
Mathmembers for a compact formula. - city() - Method in class net.jrodolfo.java_evolution.java14.HelpfulNullPointerExceptionExamples.Address
-
Returns the city name.
- city() - Method in record class net.jrodolfo.java_evolution.java20.RecordPatternsSecondPreviewExamples.Address
-
Returns the value of the
cityrecord component. - classesDirectory() - Method in record class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples.VectorWorkflowResult
-
Returns the value of the
classesDirectoryrecord component. - classesDirectory() - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.AotClassLoadingWorkflowResult
-
Returns the value of the
classesDirectoryrecord component. - classesDirectory() - Method in record class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples.PemWorkflowResult
-
Returns the value of the
classesDirectoryrecord component. - classesDirectory() - Method in record class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples.PrimitivePatternsWorkflowResult
-
Returns the value of the
classesDirectoryrecord component. - classesDirectory() - Method in record class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples.StableValuesWorkflowResult
-
Returns the value of the
classesDirectoryrecord component. - classesDirectory() - Method in record class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples.StructuredConcurrencyWorkflowResult
-
Returns the value of the
classesDirectoryrecord component. - classesDirectory() - Method in record class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples.VectorWorkflowResult
-
Returns the value of the
classesDirectoryrecord component. - classesDirectory() - Method in record class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples.LazyConstantsWorkflowResult
-
Returns the value of the
classesDirectoryrecord component. - classesDirectory() - Method in record class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples.PemWorkflowResult
-
Returns the value of the
classesDirectoryrecord component. - classesDirectory() - Method in record class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples.PrimitivePatternsWorkflowResult
-
Returns the value of the
classesDirectoryrecord component. - classesDirectory() - Method in record class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples.StructuredConcurrencyWorkflowResult
-
Returns the value of the
classesDirectoryrecord component. - classesDirectory() - Method in record class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes.VectorWorkflowResult
-
Returns the value of the
classesDirectoryrecord component. - ClassFileApiPreviewNotes - Class in net.jrodolfo.java_evolution.java22.class_file_api
-
Explains the Class-File API, introduced as a Java 22 preview feature.
- ClassFileApiPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java22.class_file_api.ClassFileApiPreviewNotes
- ClassFileApiSecondPreviewNotes - Class in net.jrodolfo.java_evolution.java23.class_file_api
-
Explains the Class-File API as a Java 23 second preview feature.
- ClassFileApiSecondPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java23.class_file_api.ClassFileApiSecondPreviewNotes
- ClassFileInspector - Class in net.jrodolfo.java_evolution.java24.class_file
-
Demonstrates parsing a compiled Java class with the Java 24 Class-File API.
- ClassFileInspector() - Constructor for class net.jrodolfo.java_evolution.java24.class_file.ClassFileInspector
- ClassFileSummary - Record Class in net.jrodolfo.java_evolution.java24.class_file
-
Summarizes information parsed from a Java
.classfile. - ClassFileSummary(String, int, int, List, List, Set) - Constructor for record class net.jrodolfo.java_evolution.java24.class_file.ClassFileSummary
-
Creates an immutable summary.
- classify(Object) - Method in class net.jrodolfo.java_evolution.java20.PatternMatchingSwitchFourthPreviewExamples
-
Uses switch patterns to classify values.
- classifyCommand(String) - Method in class net.jrodolfo.java_evolution.java07.StringSwitchExamples
-
Classifies a command using a classic switch statement on
String. - classLinking() - Method in class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples
-
Explains class linking in learner-friendly terms.
- classLoading() - Method in class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples
-
Explains class loading in learner-friendly terms.
- className() - Method in record class net.jrodolfo.java_evolution.java24.class_file.ClassFileSummary
-
Returns the value of the
classNamerecord component. - clearSecret(char[]) - Method in class net.jrodolfo.java_evolution.java06.console_api.ConsoleApiExamples
- clientWithTimeout() - Method in class net.jrodolfo.java_evolution.java11.HttpClientExamples
-
Creates an HTTP client using the Java 11 standard API.
- close() - Method in class net.jrodolfo.java_evolution.java01.jdbc.JdbcExamples.LearningConnection
- close() - Method in class net.jrodolfo.java_evolution.java01.rmi.RmiExamples.RmiGreetingEndpoint
-
Unbinds the RMI service name.
- close() - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- close() - Method in class net.jrodolfo.java_evolution.java18.simple_web_server.SimpleStaticFileServer
-
Stops the server immediately.
- CollectionFactoryExamples - Class in net.jrodolfo.java_evolution.java09
-
Demonstrates collection factory methods introduced in Java 9.
- CollectionFactoryExamples() - Constructor for class net.jrodolfo.java_evolution.java09.CollectionFactoryExamples
- CollectionsFrameworkExamples - Class in net.jrodolfo.java_evolution.java02
-
Demonstrates the Collections Framework introduced in Java 2.
- CollectionsFrameworkExamples() - Constructor for class net.jrodolfo.java_evolution.java02.CollectionsFrameworkExamples
- commandAvailable() - Method in class net.jrodolfo.java_evolution.java09.ProcessApiExamples.CurrentProcessSummary
- CommandResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples.CommandResult
-
Creates an instance of a
CommandResultrecord class. - CommandResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.CommandResult
-
Creates an instance of a
CommandResultrecord class. - CommandResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples.CommandResult
-
Creates an instance of a
CommandResultrecord class. - CommandResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples.CommandResult
-
Creates an instance of a
CommandResultrecord class. - CommandResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples.CommandResult
-
Creates an instance of a
CommandResultrecord class. - CommandResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples.CommandResult
-
Creates an instance of a
CommandResultrecord class. - CommandResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples.CommandResult
-
Creates an instance of a
CommandResultrecord class. - CommandResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples.CommandResult
-
Creates an instance of a
CommandResultrecord class. - CommandResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples.CommandResult
-
Creates an instance of a
CommandResultrecord class. - CommandResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples.CommandResult
-
Creates an instance of a
CommandResultrecord class. - CommandResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples.CommandResult
-
Creates an instance of a
CommandResultrecord class. - CommandResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples.CommandResult
-
Creates an instance of a
CommandResultrecord class. - CommandResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples.CommandResult
-
Creates an instance of a
CommandResultrecord class. - CommandResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples.CommandResult
-
Creates an instance of a
CommandResultrecord class. - CommandResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes.CommandResult
-
Creates an instance of a
CommandResultrecord class. - commonAlternative() - Method in class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples
-
Explains how this problem is commonly handled without structured concurrency.
- commonUseCase() - Method in class net.jrodolfo.java_evolution.java19.ForeignFunctionMemoryApiPreviewNotes
-
Explains why native integration matters.
- CompactNumberFormatExamples - Class in net.jrodolfo.java_evolution.java12
-
Demonstrates compact number formatting, introduced in Java 12.
- CompactNumberFormatExamples() - Constructor for class net.jrodolfo.java_evolution.java12.CompactNumberFormatExamples
- CompactObjectHeadersDefaultExamples - Class in net.jrodolfo.java_evolution.java27.compact_object_headers
-
Verifies the Java 27 HotSpot Compact Object Headers default.
- CompactObjectHeadersDefaultExamples() - Constructor for class net.jrodolfo.java_evolution.java27.compact_object_headers.CompactObjectHeadersDefaultExamples
- CompactObjectHeadersExamples - Class in net.jrodolfo.java_evolution.java25.compact_object_headers
-
Demonstrates the Java 25 Compact Object Headers runtime option.
- CompactObjectHeadersExamples() - Constructor for class net.jrodolfo.java_evolution.java25.compact_object_headers.CompactObjectHeadersExamples
- CompactObjectHeadersExamples.VmFlagState - Record Class in net.jrodolfo.java_evolution.java25.compact_object_headers
-
A JVM flag state reported by
-XX:+PrintFlagsFinal. - CompactSourceFilesExamples - Class in net.jrodolfo.java_evolution.java25
-
Demonstrates Java 25 compact source files and instance main methods.
- CompactSourceFilesExamples() - Constructor for class net.jrodolfo.java_evolution.java25.CompactSourceFilesExamples
- CompactSourceFilesExamples.LaunchResult - Class in net.jrodolfo.java_evolution.java25
-
Captures the compact source launcher result.
- comparisonWithFinalFields() - Method in class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples
-
Explains the relationship to ordinary final fields.
- compilation() - Method in record class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples.VectorWorkflowResult
-
Returns the value of the
compilationrecord component. - compilation() - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.AotClassLoadingWorkflowResult
-
Returns the value of the
compilationrecord component. - compilation() - Method in record class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples.PemWorkflowResult
-
Returns the value of the
compilationrecord component. - compilation() - Method in record class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples.PrimitivePatternsWorkflowResult
-
Returns the value of the
compilationrecord component. - compilation() - Method in record class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples.StableValuesWorkflowResult
-
Returns the value of the
compilationrecord component. - compilation() - Method in record class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples.StructuredConcurrencyWorkflowResult
-
Returns the value of the
compilationrecord component. - compilation() - Method in record class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples.VectorWorkflowResult
-
Returns the value of the
compilationrecord component. - compilation() - Method in record class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples.MutationProbeResult
-
Returns the value of the
compilationrecord component. - compilation() - Method in record class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples.LazyConstantsWorkflowResult
-
Returns the value of the
compilationrecord component. - compilation() - Method in record class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples.PemWorkflowResult
-
Returns the value of the
compilationrecord component. - compilation() - Method in record class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples.PrimitivePatternsWorkflowResult
-
Returns the value of the
compilationrecord component. - compilation() - Method in record class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples.StructuredConcurrencyWorkflowResult
-
Returns the value of the
compilationrecord component. - compilation() - Method in record class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes.VectorWorkflowResult
-
Returns the value of the
compilationrecord component. - CompilationResult(Path, int, String) - Constructor for record class net.jrodolfo.java_evolution.java26.applet_api_removal.AppletApiRemovalExamples.CompilationResult
-
Creates an instance of a
CompilationResultrecord class. - compile(Path, Path) - Method in class net.jrodolfo.java_evolution.java25.ModuleImportDeclarationsExamples
-
Compiles a generated source file.
- compile(List, File) - Method in class net.jrodolfo.java_evolution.java06.compiler_api.CompilerApiExamples
-
Compiles Java source files into a class-output directory.
- compileLegacyApplet(Path) - Method in class net.jrodolfo.java_evolution.java26.applet_api_removal.AppletApiRemovalExamples
-
Compiles a tiny obsolete applet source file with the active JDK.
- compileModules(Path, Path) - Method in class net.jrodolfo.java_evolution.java09.module_system.ModuleSystemExamples
-
Compiles all module source files under a module source root.
- CompilerApiExamples - Class in net.jrodolfo.java_evolution.java06.compiler_api
-
Demonstrates the Java 6 Compiler API with real source files and structured diagnostics.
- CompilerApiExamples() - Constructor for class net.jrodolfo.java_evolution.java06.compiler_api.CompilerApiExamples
- CompilerApiExamples.CompilationResult - Class in net.jrodolfo.java_evolution.java06.compiler_api
-
Immutable result returned by a compiler invocation.
- compileStrictfpProbe(File) - Method in class net.jrodolfo.java_evolution.java02.strict_floating_point.StrictFloatingPointExamples
- compileUnsafeMemoryAccessProbe(Path) - Method in class net.jrodolfo.java_evolution.java23.unsafe_memory_access_deprecation.UnsafeMemoryAccessDeprecationExamples
-
Compiles the generated child source and captures compiler diagnostics.
- CompletableFutureExamples - Class in net.jrodolfo.java_evolution.java08
-
Demonstrates
CompletableFuture, introduced in Java 8 to make asynchronous work easier to compose. - CompletableFutureExamples(Executor) - Constructor for class net.jrodolfo.java_evolution.java08.CompletableFutureExamples
-
Creates examples that run asynchronous stages on the supplied executor.
- composeName(String, String) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- composeName(Name, Name) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- ConcurrencyUtilitiesExamples - Class in net.jrodolfo.java_evolution.java05
-
Demonstrates
java.util.concurrent, introduced in Java 5. - ConcurrencyUtilitiesExamples() - Constructor for class net.jrodolfo.java_evolution.java05.ConcurrencyUtilitiesExamples
- configurationFile() - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.AotClassLoadingWorkflowResult
-
Returns the value of the
configurationFilerecord component. - configurationRecording() - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.AotClassLoadingWorkflowResult
-
Returns the value of the
configurationRecordingrecord component. - configurationSize() - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.AotClassLoadingWorkflowResult
-
Returns the value of the
configurationSizerecord component. - configuredDiscoveryMode(URI, HttpOption.Http3DiscoveryMode) - Method in class net.jrodolfo.java_evolution.java26.Http3ClientExamples
-
Builds one HTTP/3 request with an explicit discovery hint.
- configureHybridGroup() - Method in class net.jrodolfo.java_evolution.java27.tls_hybrid_key_exchange.PostQuantumHybridKeyExchangeExamples
-
Configures a TLS parameter object for the hybrid group.
- connect(String) - Method in class net.jrodolfo.java_evolution.java01.jdbc.JdbcExamples.LearningDriver
- ConsoleApiExamples - Class in net.jrodolfo.java_evolution.java06.console_api
-
Demonstrates the Java 6
ConsoleAPI at a testable process boundary. - ConsoleApiExamples() - Constructor for class net.jrodolfo.java_evolution.java06.console_api.ConsoleApiExamples
- ConsoleApiExamples.ConsoleAvailability - Class in net.jrodolfo.java_evolution.java06.console_api
- ConsoleApiExamples.ConsoleSession - Interface in net.jrodolfo.java_evolution.java06.console_api
- ConsoleApiExamples.JavaConsoleSession - Class in net.jrodolfo.java_evolution.java06.console_api
- consoleAvailability(ConsoleApiExamples.ConsoleSession) - Method in class net.jrodolfo.java_evolution.java06.console_api.ConsoleApiExamples
- constantCallSiteType() - Method in class net.jrodolfo.java_evolution.java07.invokedynamic.InvokeDynamicExamples
-
Returns the method type associated with the bootstrap-linked call site.
- contextLabel() - Method in record class net.jrodolfo.java_evolution.java25.key_derivation.DerivedKeyMaterial
-
Returns the value of the
contextLabelrecord component. - cooperativeSamplingCaveat() - Method in class net.jrodolfo.java_evolution.java25.jfr_enhancements.JfrEnhancementsExamples
-
Explains why cooperative sampling remains explanatory in this repository.
- coordinationBenefits() - Method in class net.jrodolfo.java_evolution.java19.structured_concurrency.StructuredConcurrencyPreviewNotes
-
Names the practical benefits.
- coordinationBenefits() - Method in class net.jrodolfo.java_evolution.java20.structured_concurrency.StructuredConcurrencySecondIncubatorNotes
-
Names the practical benefits.
- coordinationBenefits() - Method in class net.jrodolfo.java_evolution.java21.structured_concurrency.StructuredConcurrencyPreviewNotes
-
Names the coordination benefits.
- coordinationBenefits() - Method in class net.jrodolfo.java_evolution.java22.structured_concurrency.StructuredConcurrencySecondPreviewNotes
-
Names important behavior that structure makes clearer.
- copyBytes(String) - Method in class net.jrodolfo.java_evolution.java01.IoBasicsExamples
-
Copies bytes from an input stream to an output stream.
- count() - Method in class net.jrodolfo.java_evolution.java12.TeeingCollectorExamples.NumberSummary
- countCompletedTasks(ExecutorService, int) - Method in class net.jrodolfo.java_evolution.java05.ConcurrencyUtilitiesExamples
-
Uses a latch to wait for several tasks to finish and an atomic counter to count completions safely.
- countDrivers() - Method in class net.jrodolfo.java_evolution.java01.jdbc.JdbcExamples.LearningDriverManager
- countNames(List) - Method in class net.jrodolfo.java_evolution.java10.LocalVariableTypeInferenceExamples
-
Uses
varfor a local variable whose constructor initializer makes a longer generic type obvious. - country() - Method in record class net.jrodolfo.java_evolution.java20.RecordPatternsSecondPreviewExamples.Address
-
Returns the value of the
countryrecord component. - countValues(int...) - Method in class net.jrodolfo.java_evolution.java05.VarargsExamples
-
Shows that a varargs parameter is an array inside the method.
- countValues(Iterable) - Method in class net.jrodolfo.java_evolution.java22.UnnamedVariablesPatternsExamples
-
Uses unnamed variables in a loop when only iteration count matters.
- countWithoutUsingElements(Iterable) - Method in class net.jrodolfo.java_evolution.java21.UnnamedPatternsVariablesPreviewExamples
-
Uses an unnamed variable where the value is intentionally ignored.
- CovariantReturnExamples - Class in net.jrodolfo.java_evolution.java05
-
Demonstrates covariant return types, introduced in Java 5.
- CovariantReturnExamples() - Constructor for class net.jrodolfo.java_evolution.java05.CovariantReturnExamples
- cpuTimeProfilingCaveat() - Method in class net.jrodolfo.java_evolution.java25.jfr_enhancements.JfrEnhancementsExamples
-
Explains why CPU-time profiling remains explanatory in this repository.
- create() - Static method in class net.jrodolfo.java_evolution.java21.key_encapsulation.KemReceiver
-
Creates a receiver with a fresh X25519 key pair.
- createAmbiguousDateSource(Path) - Method in class net.jrodolfo.java_evolution.java25.ModuleImportDeclarationsExamples
-
Creates a source file where broad module imports produce a simple-name ambiguity.
- createBrokenSourceTree(Path) - Method in class net.jrodolfo.java_evolution.java22.launch_multi_file_source_programs.LaunchMultiFileSourceProgramsExamples
-
Creates a source tree that should fail because
Main.javareferences a missing helper type. - createCommandByClassName(String, String) - Method in class net.jrodolfo.java_evolution.java01.reflection.ReflectionExamples
-
Creates an object through a constructor selected at runtime.
- createContext() - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples
-
Creates an
InitialContextconfigured with the in-memory provider used by this example. - createDocumentedSource(Path) - Method in class net.jrodolfo.java_evolution.java23.markdown_documentation_comments.MarkdownDocumentationCommentsExamples
-
Creates a Java source file that uses Markdown documentation comments.
- createFormatterWithSupplier() - Method in class net.jrodolfo.java_evolution.java08.MethodReferenceExamples
-
Shows a zero-argument constructor reference with
Supplier. - createGreetingSource(Path) - Method in class net.jrodolfo.java_evolution.java25.CompactSourceFilesExamples
-
Creates a compact source file that accepts launcher arguments.
- createGreetingSourceTree(Path) - Method in class net.jrodolfo.java_evolution.java22.launch_multi_file_source_programs.LaunchMultiFileSourceProgramsExamples
-
Creates a small source tree where
Main.javauses helper source files. - createHelloWorldSource(Path) - Method in class net.jrodolfo.java_evolution.java25.CompactSourceFilesExamples
-
Creates a compact source file that can be launched directly.
- createHttpModuleImportSource(Path) - Method in class net.jrodolfo.java_evolution.java25.ModuleImportDeclarationsExamples
-
Creates a source file that combines module imports from
java.baseandjava.net.http. - createInvoiceDocument() - Method in class net.jrodolfo.java_evolution.java05.CovariantReturnExamples
-
Creates a specialized document through an overriding method that returns a subtype.
- createJavaBaseModuleImportSource(Path) - Method in class net.jrodolfo.java_evolution.java25.ModuleImportDeclarationsExamples
-
Creates a source file that imports
java.baseand uses types from several exported packages without ordinary imports. - createLocalDate(int, int, int) - Method in class net.jrodolfo.java_evolution.java08.DateTimeApiExamples
-
Creates a date without a time zone.
- createModularSourceTree(Path) - Method in class net.jrodolfo.java_evolution.java09.module_system.ModuleSystemExamples
-
Creates a small modular source tree with one library module and one application module.
- createSourceTreeWithInternalPackageAccess(Path) - Method in class net.jrodolfo.java_evolution.java09.module_system.ModuleSystemExamples
-
Creates a modular source tree where the app module incorrectly imports an unexported package from the greetings module.
- createSourceWithoutImports(Path) - Method in class net.jrodolfo.java_evolution.java25.ModuleImportDeclarationsExamples
-
Creates the same source shape without imports, which should fail to compile.
- createSubcontext(String) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- createSubcontext(Name) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- createUnsafeMemoryAccessProbe(Path) - Method in class net.jrodolfo.java_evolution.java23.unsafe_memory_access_deprecation.UnsafeMemoryAccessDeprecationExamples
-
Writes the generated child source used only for migration-boundary testing.
- createUsers(List) - Method in class net.jrodolfo.java_evolution.java08.MethodReferenceExamples
-
Uses a constructor reference to create a domain object from each input value.
- createUserWithFunction(String) - Method in class net.jrodolfo.java_evolution.java08.MethodReferenceExamples
-
Shows that constructor references can also be assigned to functional interfaces.
- createZonedDateTime(LocalDateTime, String) - Method in class net.jrodolfo.java_evolution.java08.DateTimeApiExamples
-
Creates a date-time associated with a time zone.
- currentConsoleAvailability() - Method in class net.jrodolfo.java_evolution.java06.console_api.ConsoleApiExamples
- currentProcessCommand() - Method in class net.jrodolfo.java_evolution.java09.ProcessApiExamples
-
Reads the current process command when the JVM can provide it.
- currentProcessId() - Method in class net.jrodolfo.java_evolution.java09.ProcessApiExamples
-
Reads the current process id.
- currentProcessSummary() - Method in class net.jrodolfo.java_evolution.java09.ProcessApiExamples
-
Creates a small immutable summary of the current process.
- CurrentProcessSummary(long, boolean, boolean) - Constructor for class net.jrodolfo.java_evolution.java09.ProcessApiExamples.CurrentProcessSummary
-
Creates immutable process metadata for tests and examples.
- Customer(String, RecordPatternsSecondPreviewExamples.Address) - Constructor for record class net.jrodolfo.java_evolution.java20.RecordPatternsSecondPreviewExamples.Customer
-
Creates an instance of a
Customerrecord class. - Customer(HelpfulNullPointerExceptionExamples.Address) - Constructor for class net.jrodolfo.java_evolution.java14.HelpfulNullPointerExceptionExamples.Customer
-
Creates a customer.
D
- DateTimeApiExamples - Class in net.jrodolfo.java_evolution.java08
-
Demonstrates the Date and Time API introduced in Java 8 under
java.time. - DateTimeApiExamples() - Constructor for class net.jrodolfo.java_evolution.java08.DateTimeApiExamples
- dayType(int) - Method in class net.jrodolfo.java_evolution.java12.SwitchExpressionPreviewExamples
-
Uses a switch expression to return a value directly.
- decapsulate(byte[]) - Method in class net.jrodolfo.java_evolution.java21.key_encapsulation.KemReceiver
-
Recovers the shared secret from the sender's encapsulation message.
- declaredFieldDescription() - Method in class net.jrodolfo.java_evolution.java01.reflection.ReflectionExamples
-
Inspects a declared field without reading or changing its value.
- defaultCharset() - Method in class net.jrodolfo.java_evolution.java18.Utf8DefaultCharsetExamples
-
Reads the JVM default charset.
- defaultCharsetIsUtf8() - Method in class net.jrodolfo.java_evolution.java18.Utf8DefaultCharsetExamples
-
Checks whether the default charset is UTF-8.
- defaultClientVersion() - Method in class net.jrodolfo.java_evolution.java26.Http3ClientExamples
-
Shows the default preferred protocol version for a standard client.
- DefaultMessageFormatter() - Constructor for class net.jrodolfo.java_evolution.java09.PrivateInterfaceMethodExamples.DefaultMessageFormatter
- DefaultMethodExamples - Class in net.jrodolfo.java_evolution.java08
-
Demonstrates default methods, introduced in Java 8 so interfaces could evolve without forcing every existing implementation to add new methods immediately.
- DefaultMethodExamples() - Constructor for class net.jrodolfo.java_evolution.java08.DefaultMethodExamples
- DefaultMethodExamples.AdminUser - Class in net.jrodolfo.java_evolution.java08
-
Implementation that overrides a default method while keeping the others.
- DefaultMethodExamples.Named - Interface in net.jrodolfo.java_evolution.java08
-
Interface with one abstract method and two default methods.
- DefaultMethodExamples.RegularUser - Class in net.jrodolfo.java_evolution.java08
-
Implementation that inherits all default behavior from
DefaultMethodExamples.Named. - defaultNamedGroups() - Method in class net.jrodolfo.java_evolution.java27.tls_hybrid_key_exchange.PostQuantumHybridKeyExchangeExamples
-
Returns the named groups advertised by the default TLS context.
- defineHiddenTemplateClass() - Method in class net.jrodolfo.java_evolution.java15.hidden_classes.HiddenClassesExamples
-
Defines a hidden class from the compiled bytes of the nested template class.
- definition() - Method in class net.jrodolfo.java_evolution.java26.g1_synchronization.G1SynchronizationNotes
-
Defines G1 in learner-friendly terms.
- department() - Method in class net.jrodolfo.java_evolution.java08.StreamExamples.User
- dequeProcessingOrder() - Method in class net.jrodolfo.java_evolution.java06.NavigableCollectionExamples
-
Uses a
Dequeas a double-ended queue. - deregisterDriver(JdbcExamples.LearningDriver) - Method in class net.jrodolfo.java_evolution.java01.jdbc.JdbcExamples
-
Removes a previously registered learning driver.
- deregisterDriver(JdbcExamples.LearningDriver) - Method in class net.jrodolfo.java_evolution.java01.jdbc.JdbcExamples.LearningDriverManager
- deriveAes256Key(byte[], byte[], String) - Method in class net.jrodolfo.java_evolution.java25.key_derivation.HkdfKeyDerivationExample
-
Derives 256-bit key material for a specific application context.
- DerivedKeyMaterial - Record Class in net.jrodolfo.java_evolution.java25.key_derivation
-
Captures key material derived by the Java 25 KDF API.
- DerivedKeyMaterial(String, String, byte[]) - Constructor for record class net.jrodolfo.java_evolution.java25.key_derivation.DerivedKeyMaterial
-
Creates an immutable holder for derived key bytes.
- describe(Object) - Method in class net.jrodolfo.java_evolution.java14.PatternMatchingInstanceofPreviewExamples
-
Uses a type pattern to bind the checked value to a local variable.
- describe(Object) - Method in class net.jrodolfo.java_evolution.java16.PatternMatchingInstanceofExamples
-
Uses
instanceofpatterns to avoid a separate cast after a type check. - describe(Object) - Method in class net.jrodolfo.java_evolution.java17.PatternMatchingSwitchPreviewExamples
-
Uses type patterns inside a switch expression.
- describe(Object) - Method in class net.jrodolfo.java_evolution.java19.RecordPatternsPreviewExamples
-
Deconstructs a record with an
instanceofrecord pattern. - describe(Object) - Method in class net.jrodolfo.java_evolution.java20.RecordPatternsSecondPreviewExamples
-
Deconstructs nested records with record patterns.
- describe(Object) - Method in class net.jrodolfo.java_evolution.java21.RecordPatternsExamples
-
Deconstructs nested records in the
instanceofcondition. - describe(Optional) - Method in class net.jrodolfo.java_evolution.java09.OptionalEnhancementExamples
-
Uses
Optional.ifPresentOrElse(java.util.function.Consumer, Runnable)to handle both branches explicitly. - describe(RecordPreviewExamples.Feature) - Method in class net.jrodolfo.java_evolution.java14.RecordPreviewExamples
-
Formats a record using its generated accessor methods.
- describe(PatternMatchingSwitchPreviewExamples.Event) - Method in class net.jrodolfo.java_evolution.java19.PatternMatchingSwitchPreviewExamples
-
Switches over a sealed hierarchy with type patterns.
- describe(PatternMatchingSwitchExamples.Command) - Method in class net.jrodolfo.java_evolution.java21.PatternMatchingSwitchExamples
-
Handles a sealed command hierarchy with switch patterns.
- describePrioritizedFeature(T) - Method in class net.jrodolfo.java_evolution.java05.GenericsExamples
-
Describes a value whose type parameter has multiple bounds.
- describeRequiredFeature(String) - Method in class net.jrodolfo.java_evolution.java10.OptionalOrElseThrowExamples
-
Looks up a feature by name and unwraps the result with no-arg
Optional.orElseThrow(). - deserialize(byte[]) - Method in class net.jrodolfo.java_evolution.java01.serialization.SerializationExamples
-
Deserializes bytes produced by this example.
- destroySubcontext(String) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- destroySubcontext(Name) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- diagnostics() - Method in class net.jrodolfo.java_evolution.java06.compiler_api.CompilerApiExamples.CompilationResult
- DiamondOperatorExamples - Class in net.jrodolfo.java_evolution.java07
-
Demonstrates the diamond operator, introduced in Java 7.
- DiamondOperatorExamples() - Constructor for class net.jrodolfo.java_evolution.java07.DiamondOperatorExamples
- disabledFlagState() - Method in class net.jrodolfo.java_evolution.java25.compact_object_headers.CompactObjectHeadersExamples
-
Reads the compact-object-headers VM flag after disabling it explicitly.
- discoveryModes() - Method in class net.jrodolfo.java_evolution.java26.Http3ClientExamples
-
Lists the HTTP/3 discovery modes understood by the JDK HTTP Client.
- dispatchThroughSuperclass() - Method in class net.jrodolfo.java_evolution.java01.ObjectOrientedBasicsExamples
-
Uses polymorphism through a superclass reference.
- displayEmail(OptionalExamples.User) - Method in class net.jrodolfo.java_evolution.java08.OptionalExamples
-
Uses
Optional.orElse(Object)to provide a default value. - displayEmailGeneratedLazily(OptionalExamples.User) - Method in class net.jrodolfo.java_evolution.java08.OptionalExamples
-
Uses
Optional.orElseGet(java.util.function.Supplier)to create a fallback only when the Optional is empty. - displayEmailGeneratedLazily(OptionalExamples.User, Supplier) - Method in class net.jrodolfo.java_evolution.java08.OptionalExamples
-
Uses
Optional.orElseGet(Supplier)with a caller-provided fallback. - displayName() - Method in class net.jrodolfo.java_evolution.java08.DefaultMethodExamples.AdminUser
- displayName() - Method in interface net.jrodolfo.java_evolution.java08.DefaultMethodExamples.Named
-
Returns the display form of the name.
- documentationDirectory() - Method in record class net.jrodolfo.java_evolution.java23.markdown_documentation_comments.MarkdownDocumentationCommentsExamples.JavaDocResult
-
Returns the value of the
documentationDirectoryrecord component. - domainWithConnectPermission() - Method in class net.jrodolfo.java_evolution.java02.security.SecurityPolicyExamples
-
Creates a protection domain with one explicit permission grant.
- drawFilledRectangle() - Method in class net.jrodolfo.java_evolution.java02.java2d.Java2DExamples
-
Draws a filled rectangle into an in-memory image.
- drawOutlinedEllipse() - Method in class net.jrodolfo.java_evolution.java02.java2d.Java2DExamples
-
Draws an outlined ellipse using Java 2D shape and stroke APIs.
- durationBetween(LocalDateTime, LocalDateTime) - Method in class net.jrodolfo.java_evolution.java08.DateTimeApiExamples
-
Calculates a time-based amount of time with
Duration. - DynamicProxyExamples - Class in net.jrodolfo.java_evolution.java03
-
Demonstrates dynamic proxies, introduced in J2SE 1.3.
- DynamicProxyExamples() - Constructor for class net.jrodolfo.java_evolution.java03.DynamicProxyExamples
E
- email() - Method in class net.jrodolfo.java_evolution.java08.OptionalExamples.User
- enabled() - Method in record class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples.VmFlagState
-
Returns the value of the
enabledrecord component. - enabled() - Method in record class net.jrodolfo.java_evolution.java25.compact_object_headers.CompactObjectHeadersExamples.VmFlagState
-
Returns the value of the
enabledrecord component. - enabledFlagState() - Method in class net.jrodolfo.java_evolution.java25.compact_object_headers.CompactObjectHeadersExamples
-
Reads the compact-object-headers VM flag after enabling it explicitly.
- encapsulate() - Method in class net.jrodolfo.java_evolution.java21.key_encapsulation.KemSender
-
Creates the sender-side secret and the encapsulation message.
- EncapsulatedSecret - Record Class in net.jrodolfo.java_evolution.java21.key_encapsulation
-
Holds the two pieces produced by the sender side of a KEM exchange.
- EncapsulatedSecret(SecretKey, byte[]) - Constructor for record class net.jrodolfo.java_evolution.java21.key_encapsulation.EncapsulatedSecret
-
Creates an immutable holder for the encapsulation bytes.
- encapsulation() - Method in record class net.jrodolfo.java_evolution.java21.key_encapsulation.EncapsulatedSecret
-
Returns the value of the
encapsulationrecord component. - encapsulation() - Method in record class net.jrodolfo.java_evolution.java21.key_encapsulation.KeyEncapsulationExchange.KeyExchangeResult
-
Returns the value of the
encapsulationrecord component. - encapsulation() - Method in record class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeKemResult
-
Returns the value of the
encapsulationrecord component. - end() - Method in record class net.jrodolfo.java_evolution.java21.UnnamedPatternsVariablesPreviewExamples.Line
-
Returns the value of the
endrecord component. - engineFactorySource() - Method in class net.jrodolfo.java_evolution.java06.scripting.ScriptingSupportExamples
- engineSource() - Method in class net.jrodolfo.java_evolution.java06.scripting.ScriptingSupportExamples
- EnhancedForLoopExamples - Class in net.jrodolfo.java_evolution.java05
-
Demonstrates the enhanced
forloop introduced in Java 5. - EnhancedForLoopExamples() - Constructor for class net.jrodolfo.java_evolution.java05.EnhancedForLoopExamples
- EnhancedForLoopExamples.ReleaseNames - Class in net.jrodolfo.java_evolution.java05
-
Minimal custom iterable used by the enhanced-for examples.
- EnumExamples - Class in net.jrodolfo.java_evolution.java05
-
Demonstrates Java 5 typesafe enums.
- EnumExamples() - Constructor for class net.jrodolfo.java_evolution.java05.EnumExamples
- EnumExamples.Priority - Enum Class in net.jrodolfo.java_evolution.java05
-
Real enum values can carry fields and methods while remaining a closed set of constants.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java14.RecordPreviewExamples.Feature
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java15.SealedClassesPreviewExamples.Circle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java15.SealedClassesPreviewExamples.Rectangle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java16.RecordExamples.Feature
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java16.RecordExamples.Release
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java17.SealedClassesExamples.Circle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java17.SealedClassesExamples.Rectangle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java18.simple_web_server.StaticFileResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java19.PatternMatchingSwitchPreviewExamples.Login
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java19.PatternMatchingSwitchPreviewExamples.Logout
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java19.RecordPatternsPreviewExamples.Point
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java20.RecordPatternsSecondPreviewExamples.Address
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java20.RecordPatternsSecondPreviewExamples.Customer
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples.CommandResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples.VectorWorkflowResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java21.key_encapsulation.EncapsulatedSecret
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java21.key_encapsulation.KeyEncapsulationExchange.KeyExchangeResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java21.PatternMatchingSwitchExamples.Restart
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java21.PatternMatchingSwitchExamples.Start
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java21.PatternMatchingSwitchExamples.Stop
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java21.RecordPatternsExamples.Point
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java21.RecordPatternsExamples.Rectangle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.MapOrderSummary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.SequenceSummary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.SequenceViewSummary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java21.UnnamedPatternsVariablesPreviewExamples.Line
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java21.UnnamedPatternsVariablesPreviewExamples.Point
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java22.foreign_function.ForeignFunctionCallResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java22.launch_multi_file_source_programs.LaunchMultiFileSourceProgramsExamples.LaunchResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java23.markdown_documentation_comments.MarkdownDocumentationCommentsExamples.JavaDocResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java23.unsafe_memory_access_deprecation.UnsafeMemoryAccessDeprecationExamples.ProcessResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples.ProcessResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples.VmFlagState
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.AotClassLoadingWorkflowResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.CommandResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java24.class_file.ClassFileSummary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeDsaResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeKemResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples.AotWorkflowResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples.CommandResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java25.compact_object_headers.CompactObjectHeadersExamples.VmFlagState
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java25.generational_shenandoah.GenerationalShenandoahNotes.ProcessResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java25.jfr_enhancements.JfrEnhancementsExamples.JfrMethodObservation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java25.key_derivation.DerivedKeyMaterial
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples.CommandResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples.PemWorkflowResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples.CommandResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples.PrimitivePatternsWorkflowResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples.CommandResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples.StableValuesWorkflowResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples.CommandResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples.StructuredConcurrencyWorkflowResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples.CommandResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples.VectorWorkflowResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples.AotObjectCachingWorkflowResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples.CommandResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java26.applet_api_removal.AppletApiRemovalExamples.CompilationResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples.CommandResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples.MutationProbeResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples.CommandResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples.LazyConstantsWorkflowResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples.CommandResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples.PemWorkflowResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples.CommandResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples.PrimitivePatternsWorkflowResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples.CommandResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples.StructuredConcurrencyWorkflowResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes.CommandResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes.VectorWorkflowResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.jrodolfo.java_evolution.java27.Java27ChildProcess.Result
-
Indicates whether some other object is "equal to" this one.
- errors() - Method in class net.jrodolfo.java_evolution.java06.compiler_api.CompilerApiExamples.CompilationResult
- evaluateWithCustomEngine(String, String) - Method in class net.jrodolfo.java_evolution.java06.scripting.ScriptingSupportExamples
- eventListenerParameterType() - Method in class net.jrodolfo.java_evolution.java01.javabeans.JavaBeansExamples
-
Finds the event object type accepted by the sample listener method.
- eventSetName() - Method in class net.jrodolfo.java_evolution.java01.javabeans.JavaBeansExamples
-
Finds the listener set exposed through add/remove listener methods.
- exampleBoundary() - Method in class net.jrodolfo.java_evolution.java23.unsafe_memory_access_deprecation.UnsafeMemoryAccessDeprecationExamples
-
Explains why
sun.misc.Unsafeappears only in generated child source. - exampleScope() - Method in class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples
-
Explains the scope of this example.
- exampleUseCases() - Method in class net.jrodolfo.java_evolution.java22.stream_gatherers.StreamGatherersPreviewNotes
-
Names transformations that show why gatherers are useful.
- ExceptionHandlingBasicsExamples - Class in net.jrodolfo.java_evolution.java01
-
Refreshes checked exceptions and basic exception wrapping.
- ExceptionHandlingBasicsExamples() - Constructor for class net.jrodolfo.java_evolution.java01.ExceptionHandlingBasicsExamples
- ExceptionHandlingExamples - Class in net.jrodolfo.java_evolution.java07
-
Demonstrates Java 7 exception-handling improvements from Project Coin.
- ExceptionHandlingExamples() - Constructor for class net.jrodolfo.java_evolution.java07.ExceptionHandlingExamples
- ExceptionHandlingExamples.FailureMode - Enum Class in net.jrodolfo.java_evolution.java07
-
Failure modes used by the example.
- exchange() - Method in class net.jrodolfo.java_evolution.java21.key_encapsulation.KeyEncapsulationExchange
-
Runs a complete in-memory KEM exchange.
- exchange() - Method in class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeKemExample
-
Runs a complete in-memory ML-KEM exchange.
- exchangeMessage(Path, String) - Method in class net.jrodolfo.java_evolution.java16.unix_domain_socket.UnixDomainSocketChannelExamples
-
Exchanges one short message through a Unix-domain socket.
- executableBoundary() - Method in class net.jrodolfo.java_evolution.java25.compact_object_headers.CompactObjectHeadersExamples
-
Explains the executable boundary of this example.
- executableBoundary() - Method in class net.jrodolfo.java_evolution.java26.Http3ClientExamples
-
Explains the executable boundary for this repository example.
- execute(String) - Method in class net.jrodolfo.java_evolution.java01.reflection.ReflectionExamples.PluginCommand
- execution() - Method in record class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples.VectorWorkflowResult
-
Returns the value of the
executionrecord component. - execution() - Method in record class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples.PemWorkflowResult
-
Returns the value of the
executionrecord component. - execution() - Method in record class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples.PrimitivePatternsWorkflowResult
-
Returns the value of the
executionrecord component. - execution() - Method in record class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples.StableValuesWorkflowResult
-
Returns the value of the
executionrecord component. - execution() - Method in record class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples.StructuredConcurrencyWorkflowResult
-
Returns the value of the
executionrecord component. - execution() - Method in record class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples.VectorWorkflowResult
-
Returns the value of the
executionrecord component. - execution() - Method in record class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples.MutationProbeResult
-
Returns the value of the
executionrecord component. - execution() - Method in record class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples.LazyConstantsWorkflowResult
-
Returns the value of the
executionrecord component. - execution() - Method in record class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples.PemWorkflowResult
-
Returns the value of the
executionrecord component. - execution() - Method in record class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples.PrimitivePatternsWorkflowResult
-
Returns the value of the
executionrecord component. - execution() - Method in record class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples.StructuredConcurrencyWorkflowResult
-
Returns the value of the
executionrecord component. - execution() - Method in record class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes.VectorWorkflowResult
-
Returns the value of the
executionrecord component. - exitCode() - Method in class net.jrodolfo.java_evolution.java02.strict_floating_point.StrictFloatingPointExamples.CompilationResult
- exitCode() - Method in class net.jrodolfo.java_evolution.java06.scripting.ScriptingSupportExamples.CommandResult
- exitCode() - Method in class net.jrodolfo.java_evolution.java09.module_system.ModuleSystemExamples.CommandResult
- exitCode() - Method in class net.jrodolfo.java_evolution.java17.strong_encapsulation.StrongEncapsulationExamples.CommandResult
- exitCode() - Method in class net.jrodolfo.java_evolution.java18.inet_address_resolution.InetAddressResolutionExamples.CommandResult
- exitCode() - Method in record class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples.CommandResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in record class net.jrodolfo.java_evolution.java22.launch_multi_file_source_programs.LaunchMultiFileSourceProgramsExamples.LaunchResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in record class net.jrodolfo.java_evolution.java23.markdown_documentation_comments.MarkdownDocumentationCommentsExamples.JavaDocResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in record class net.jrodolfo.java_evolution.java23.unsafe_memory_access_deprecation.UnsafeMemoryAccessDeprecationExamples.ProcessResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in record class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples.ProcessResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.CommandResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in class net.jrodolfo.java_evolution.java24.security_manager_disabled.SecurityManagerDisabledExamples.CommandResult
- exitCode() - Method in class net.jrodolfo.java_evolution.java24.virtual_thread_synchronization.VirtualThreadSynchronizationExamples.CommandResult
- exitCode() - Method in record class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples.CommandResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in class net.jrodolfo.java_evolution.java25.CompactSourceFilesExamples.LaunchResult
- exitCode() - Method in record class net.jrodolfo.java_evolution.java25.generational_shenandoah.GenerationalShenandoahNotes.ProcessResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in class net.jrodolfo.java_evolution.java25.ModuleImportDeclarationsExamples.CommandResult
- exitCode() - Method in record class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples.CommandResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in record class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples.CommandResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in record class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples.CommandResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in record class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples.CommandResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in record class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples.CommandResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in record class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples.CommandResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in record class net.jrodolfo.java_evolution.java26.applet_api_removal.AppletApiRemovalExamples.CompilationResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in record class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples.CommandResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in record class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples.CommandResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in record class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples.CommandResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in record class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples.CommandResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in record class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples.CommandResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in record class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes.CommandResult
-
Returns the value of the
exitCoderecord component. - exitCode() - Method in record class net.jrodolfo.java_evolution.java27.Java27ChildProcess.Result
-
Returns the value of the
exitCoderecord component. - extensionPoint() - Method in class net.jrodolfo.java_evolution.java18.inet_address_resolution.InetAddressResolutionExamples
F
- failWithSuppressedCloseFailure() - Method in class net.jrodolfo.java_evolution.java07.TryWithResourcesStatementExamples
-
Shows that cleanup failures are preserved as suppressed exceptions when the main operation already failed.
- feature(String, boolean) - Method in class net.jrodolfo.java_evolution.java14.RecordPreviewExamples
-
Creates a record value.
- feature(String, int) - Method in class net.jrodolfo.java_evolution.java16.RecordExamples
-
Creates a feature record.
- Feature(String, boolean) - Constructor for record class net.jrodolfo.java_evolution.java14.RecordPreviewExamples.Feature
-
Creates an instance of a
Featurerecord class. - Feature(String, int) - Constructor for record class net.jrodolfo.java_evolution.java16.RecordExamples.Feature
-
Creates an instance of a
Featurerecord class. - Feature(String, String, boolean) - Constructor for class net.jrodolfo.java_evolution.java10.UnmodifiableCollectorsExamples.Feature
-
Creates a feature used by unmodifiable collector examples.
- featureCategories(List) - Method in class net.jrodolfo.java_evolution.java10.UnmodifiableCollectorsExamples
-
Collects feature categories into an unmodifiable set.
- features() - Method in class net.jrodolfo.java_evolution.java25.jfr_enhancements.JfrEnhancementsExamples
-
Names the Java 25 JFR areas represented by this learning module.
- featuresByRelease() - Method in class net.jrodolfo.java_evolution.java07.DiamondOperatorExamples
-
Creates a nested generic map using diamond inference on the right side.
- featureShape() - Method in class net.jrodolfo.java_evolution.java02.strict_floating_point.StrictFloatingPointExamples
- fetchFullNameAsync() - Method in class net.jrodolfo.java_evolution.java08.CompletableFutureExamples
-
Combines two independent futures with
CompletableFuture.thenCombine(CompletionStage, BiFunction). - fetchNameAsync() - Method in class net.jrodolfo.java_evolution.java08.CompletableFutureExamples
-
Creates an asynchronous computation with
CompletableFuture.supplyAsync(java.util.function.Supplier, Executor). - fetchUppercaseNameAsync() - Method in class net.jrodolfo.java_evolution.java08.CompletableFutureExamples
-
Chains a transformation with
CompletableFuture.thenApply(Function). - fetchUppercaseNameBlocking() - Method in class net.jrodolfo.java_evolution.java08.CompletableFutureExamples
-
Uses
CompletableFuture.join()to wait for a composed future. - fieldNames() - Method in record class net.jrodolfo.java_evolution.java24.class_file.ClassFileSummary
-
Returns the value of the
fieldNamesrecord component. - FilesApiExamples - Class in net.jrodolfo.java_evolution.java11
-
Demonstrates file convenience methods introduced in Java 11.
- FilesApiExamples() - Constructor for class net.jrodolfo.java_evolution.java11.FilesApiExamples
- fileSize(Path) - Method in class net.jrodolfo.java_evolution.java07.Nio2Examples
-
Reads basic file attributes through
Files. - FilesMismatchExamples - Class in net.jrodolfo.java_evolution.java12
-
Demonstrates
Files.mismatch(Path, Path), introduced in Java 12. - FilesMismatchExamples() - Constructor for class net.jrodolfo.java_evolution.java12.FilesMismatchExamples
- FileSystemsNewFileSystemExamples - Class in net.jrodolfo.java_evolution.java13
-
Demonstrates the
FileSystems.newFileSystem(Path)convenience overload added in Java 13. - FileSystemsNewFileSystemExamples() - Constructor for class net.jrodolfo.java_evolution.java13.FileSystemsNewFileSystemExamples
- FinalFieldRestrictionsExamples - Class in net.jrodolfo.java_evolution.java26.final_field_restrictions
-
Demonstrates Java 26 warnings for deep-reflective mutation of final fields.
- FinalFieldRestrictionsExamples() - Constructor for class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples
- FinalFieldRestrictionsExamples.CommandResult - Record Class in net.jrodolfo.java_evolution.java26.final_field_restrictions
-
Result from a child
javacorjavaprocess. - FinalFieldRestrictionsExamples.MutationProbeResult - Record Class in net.jrodolfo.java_evolution.java26.final_field_restrictions
-
Complete result of a final-field mutation probe.
- finalRelease() - Method in class net.jrodolfo.java_evolution.java20.ForeignFunctionMemorySecondPreviewNotes
-
Names the release where the API became final.
- finalRelease() - Method in class net.jrodolfo.java_evolution.java20.VirtualThreadsSecondPreviewNotes
-
Names the release where virtual threads became final.
- findCompanyDomain(OptionalExamples.User) - Method in class net.jrodolfo.java_evolution.java08.OptionalExamples
-
Uses
Optional.flatMap(java.util.function.Function)when the transformation already returns an Optional. - findEmail(OptionalExamples.User) - Method in class net.jrodolfo.java_evolution.java08.OptionalExamples
-
Wraps a possibly null user email in an
Optional. - first() - Method in record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.SequenceSummary
-
Returns the value of the
firstrecord component. - first(List) - Method in class net.jrodolfo.java_evolution.java05.GenericsExamples
-
Returns the first element from a typed list without a cast.
- firstKey() - Method in record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.MapOrderSummary
-
Returns the value of the
firstKeyrecord component. - firstMismatchPosition(Path, Path) - Method in class net.jrodolfo.java_evolution.java12.FilesMismatchExamples
-
Finds the first byte position where two files differ.
- firstPreviewSource() - Method in class net.jrodolfo.java_evolution.java12.SwitchExpressionPreviewExamples
-
Returns a minimal source example of the Java 12 first-preview form.
- firstPreviewStatus() - Method in class net.jrodolfo.java_evolution.java21.scoped_values.ScopedValuesPreviewNotes
-
Describes the Java 21 maturity level.
- firstPreviewStatus() - Method in class net.jrodolfo.java_evolution.java21.structured_concurrency.StructuredConcurrencyPreviewNotes
-
Describes the Java 21 maturity level.
- firstRawValue(List) - Method in class net.jrodolfo.java_evolution.java05.GenericsExamples
-
Shows the old raw-list shape that generics were designed to replace.
- firstValue() - Method in record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.MapOrderSummary
-
Returns the value of the
firstValuerecord component. - fixedWindows(List, int) - Method in class net.jrodolfo.java_evolution.java24.StreamGatherersExamples
-
Groups values into fixed-size windows.
- FlexibleConstructorBodiesExamples - Class in net.jrodolfo.java_evolution.java25
-
Demonstrates flexible constructor bodies, finalized in Java 25.
- FlexibleConstructorBodiesExamples() - Constructor for class net.jrodolfo.java_evolution.java25.FlexibleConstructorBodiesExamples
- FlexibleConstructorBodiesExamples.Account - Class in net.jrodolfo.java_evolution.java25
-
Simple account model used to demonstrate validation before constructor delegation.
- FlexibleConstructorBodiesSecondPreviewNotes - Class in net.jrodolfo.java_evolution.java23.flexible_constructor_bodies
-
Explains flexible constructor bodies as a Java 23 second preview feature.
- FlexibleConstructorBodiesSecondPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java23.flexible_constructor_bodies.FlexibleConstructorBodiesSecondPreviewNotes
- FlexibleConstructorBodiesThirdPreviewNotes - Class in net.jrodolfo.java_evolution.java24.flexible_constructor_bodies
-
Explains flexible constructor bodies third preview in Java 24.
- FlexibleConstructorBodiesThirdPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java24.flexible_constructor_bodies.FlexibleConstructorBodiesThirdPreviewNotes
- flexibleConstructorModel() - Method in class net.jrodolfo.java_evolution.java24.flexible_constructor_bodies.FlexibleConstructorBodiesThirdPreviewNotes
-
Explains the flexible constructor model.
- ForeignFunctionCallResult - Record Class in net.jrodolfo.java_evolution.java22.foreign_function
-
Captures the observable result of a small native function call.
- ForeignFunctionCallResult(String, String, Number, String) - Constructor for record class net.jrodolfo.java_evolution.java22.foreign_function.ForeignFunctionCallResult
-
Creates an instance of a
ForeignFunctionCallResultrecord class. - ForeignFunctionMemoryApiPreviewNotes - Class in net.jrodolfo.java_evolution.java19
-
Explains the Foreign Function and Memory API as a Java 19 preview feature.
- ForeignFunctionMemoryApiPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java19.ForeignFunctionMemoryApiPreviewNotes
- ForeignFunctionMemorySecondPreviewNotes - Class in net.jrodolfo.java_evolution.java20
-
Explains the Foreign Function and Memory API second preview in Java 20.
- ForeignFunctionMemorySecondPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java20.ForeignFunctionMemorySecondPreviewNotes
- ForkJoinExamples - Class in net.jrodolfo.java_evolution.java07
-
Demonstrates the fork/join framework introduced in Java 7.
- ForkJoinExamples() - Constructor for class net.jrodolfo.java_evolution.java07.ForkJoinExamples
- format(String) - Method in class net.jrodolfo.java_evolution.java08.MethodReferenceExamples.NameFormatter
-
Formats one name for display.
- formatAmount(double) - Method in class net.jrodolfo.java_evolution.java05.FormattingExamples
-
Formats a currency-like amount with grouping and two decimal places.
- formatCommand(String, int) - Method in class net.jrodolfo.java_evolution.java18.javadoc_snippets.JavaDocSnippetExamples
-
Formats a command shown in documentation.
- formatIsoDate(LocalDate) - Method in class net.jrodolfo.java_evolution.java08.DateTimeApiExamples
-
Formats a date with
DateTimeFormatter. - formatNames(List) - Method in class net.jrodolfo.java_evolution.java08.MethodReferenceExamples
-
Uses a bound instance method reference, where the receiver object already exists.
- formattedSummary(int, String) - Method in class net.jrodolfo.java_evolution.java15.TextBlockExamples
-
Uses
String.formatted(Object...)with a text block template. - formatter() - Method in class net.jrodolfo.java_evolution.java09.PrivateInterfaceMethodExamples
-
Creates a formatter that inherits default methods using private interface helpers.
- FormattingExamples - Class in net.jrodolfo.java_evolution.java05
-
Demonstrates formatted output APIs introduced in Java 5.
- FormattingExamples() - Constructor for class net.jrodolfo.java_evolution.java05.FormattingExamples
- formatWithInnerClass(String) - Method in class net.jrodolfo.java_evolution.java01.InnerClassExamples
-
Uses an inner class that can read state from the enclosing instance.
- forReceiver(PublicKey) - Static method in class net.jrodolfo.java_evolution.java21.key_encapsulation.KemSender
-
Creates a sender that can encapsulate a secret for the supplied receiver.
- fourthPreviewStatus() - Method in class net.jrodolfo.java_evolution.java24.scoped_values.ScopedValuesFourthPreviewNotes
-
Describes the feature status across releases.
- fourthPreviewStatus() - Method in class net.jrodolfo.java_evolution.java24.structured_concurrency.StructuredConcurrencyFourthPreviewNotes
-
Describes the Java 24 maturity level.
- fromHex(String) - Method in class net.jrodolfo.java_evolution.java17.HexFormatExamples
-
Parses hexadecimal text into bytes.
- functionName() - Method in record class net.jrodolfo.java_evolution.java22.foreign_function.ForeignFunctionCallResult
-
Returns the value of the
functionNamerecord component.
G
- G1DefaultNotes - Class in net.jrodolfo.java_evolution.java27.g1_default
-
Explains the Java 27 HotSpot change making G1 the default collector broadly.
- G1DefaultNotes() - Constructor for class net.jrodolfo.java_evolution.java27.g1_default.G1DefaultNotes
- G1SynchronizationNotes - Class in net.jrodolfo.java_evolution.java26.g1_synchronization
-
Explains Java 26 G1 throughput improvements from reduced synchronization.
- G1SynchronizationNotes() - Constructor for class net.jrodolfo.java_evolution.java26.g1_synchronization.G1SynchronizationNotes
- garbageCollectionProblem() - Method in class net.jrodolfo.java_evolution.java25.generational_shenandoah.GenerationalShenandoahNotes
- generateAesKey() - Method in class net.jrodolfo.java_evolution.java04.security.SecurityIntegrationExamples
-
Generates an AES key with the platform provider.
- generateJavaDoc(Path, Path) - Method in class net.jrodolfo.java_evolution.java23.markdown_documentation_comments.MarkdownDocumentationCommentsExamples
-
Runs the JavaDoc tool for one source file.
- generateRsaKeyPair() - Method in class net.jrodolfo.java_evolution.java04.security.SecurityIntegrationExamples
-
Generates an RSA key pair for the signature example.
- generationalIdea() - Method in class net.jrodolfo.java_evolution.java25.generational_shenandoah.GenerationalShenandoahNotes
- generationalModeProbe() - Method in class net.jrodolfo.java_evolution.java25.generational_shenandoah.GenerationalShenandoahNotes
-
Probes Java 25's product-feature behavior: generational mode is selected without unlocking experimental VM options.
- generationalObservation() - Method in class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples
-
Explains the generational observation behind the Java 23 default change.
- GenerationalShenandoahNotes - Class in net.jrodolfo.java_evolution.java25.generational_shenandoah
-
Explains Generational Shenandoah, introduced as a product feature in Java 25 by JEP 521.
- GenerationalShenandoahNotes() - Constructor for class net.jrodolfo.java_evolution.java25.generational_shenandoah.GenerationalShenandoahNotes
- GenerationalShenandoahNotes.ProcessResult - Record Class in net.jrodolfo.java_evolution.java25.generational_shenandoah
-
Captures the child JVM exit code and merged output.
- GenericsExamples - Class in net.jrodolfo.java_evolution.java05
-
Demonstrates generics, introduced in Java 5.
- GenericsExamples() - Constructor for class net.jrodolfo.java_evolution.java05.GenericsExamples
- GenericsExamples.LanguageFeature - Class in net.jrodolfo.java_evolution.java05
-
Language-level feature used by the wildcard example.
- GenericsExamples.NamedFeature - Interface in net.jrodolfo.java_evolution.java05
-
First capability required by the multiple-bound example.
- GenericsExamples.PlatformFeature - Class in net.jrodolfo.java_evolution.java05
-
Platform-level feature used by the wildcard example.
- GenericsExamples.PrioritizedFeature - Interface in net.jrodolfo.java_evolution.java05
-
Second capability required by the multiple-bound example.
- GenericsExamples.RankedFeature - Class in net.jrodolfo.java_evolution.java05
-
Concrete type that satisfies both bounds.
- GenericsExamples.ReleaseFeature - Interface in net.jrodolfo.java_evolution.java05
-
Base type for the bounded wildcard example.
- get(String) - Method in class net.jrodolfo.java_evolution.java18.simple_web_server.SimpleStaticFileServer
-
Requests a static file from the server.
- getConnection(String) - Method in class net.jrodolfo.java_evolution.java01.jdbc.JdbcExamples.LearningDriverManager
- getDatabaseProductName() - Method in class net.jrodolfo.java_evolution.java01.jdbc.JdbcExamples.LearningDatabaseMetaData
- getDriverName() - Method in class net.jrodolfo.java_evolution.java01.jdbc.JdbcExamples.LearningDatabaseMetaData
- getEnvironment() - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- getInitialContext(Hashtable) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryInitialContextFactory
- getMetaData() - Method in class net.jrodolfo.java_evolution.java01.jdbc.JdbcExamples.LearningConnection
- getName() - Method in class net.jrodolfo.java_evolution.java01.javabeans.JavaBeansExamples.ProjectBean
- getNameInNamespace() - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- getNameParser(String) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- getNameParser(Name) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- getRequest(URI) - Method in class net.jrodolfo.java_evolution.java11.HttpClientExamples
-
Builds a GET request.
- getURL() - Method in class net.jrodolfo.java_evolution.java01.jdbc.JdbcExamples.LearningDatabaseMetaData
- goal() - Method in class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes
- grade(int) - Method in class net.jrodolfo.java_evolution.java13.SwitchYieldPreviewExamples
-
Uses
yieldwhen a switch branch needs multiple statements. - grade(int) - Method in class net.jrodolfo.java_evolution.java14.SwitchExpressionExamples
-
Uses
yieldwhen a switch branch needs a block with more than one statement. - grantedPermissions() - Method in class net.jrodolfo.java_evolution.java02.security.SecurityPolicyExamples
-
Exposes the static permission collection used by the protection domain.
- greet(RmiExamples.GreetingRequest) - Method in interface net.jrodolfo.java_evolution.java01.rmi.RmiExamples.GreetingService
-
Greets the supplied request.
- GreetingRequest(String) - Constructor for class net.jrodolfo.java_evolution.java01.rmi.RmiExamples.GreetingRequest
- greetUser(ConsoleApiExamples.ConsoleSession) - Method in class net.jrodolfo.java_evolution.java06.console_api.ConsoleApiExamples
- groupedLargeNumber() - Method in class net.jrodolfo.java_evolution.java07.NumericLiteralExamples
-
Uses underscores to group digits in a large numeric literal.
H
- hasAccessFlag(AccessFlag) - Method in record class net.jrodolfo.java_evolution.java24.class_file.ClassFileSummary
-
Checks whether the class has a specific class-level access flag.
- hasField(String) - Method in record class net.jrodolfo.java_evolution.java24.class_file.ClassFileSummary
-
Checks whether the class file declares a field.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java14.RecordPreviewExamples.Feature
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java15.SealedClassesPreviewExamples.Circle
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java15.SealedClassesPreviewExamples.Rectangle
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java16.RecordExamples.Feature
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java16.RecordExamples.Release
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java17.SealedClassesExamples.Circle
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java17.SealedClassesExamples.Rectangle
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java18.simple_web_server.StaticFileResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java19.PatternMatchingSwitchPreviewExamples.Login
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java19.PatternMatchingSwitchPreviewExamples.Logout
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java19.RecordPatternsPreviewExamples.Point
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java20.RecordPatternsSecondPreviewExamples.Address
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java20.RecordPatternsSecondPreviewExamples.Customer
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples.CommandResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples.VectorWorkflowResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java21.key_encapsulation.EncapsulatedSecret
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java21.key_encapsulation.KeyEncapsulationExchange.KeyExchangeResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java21.PatternMatchingSwitchExamples.Restart
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java21.PatternMatchingSwitchExamples.Start
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java21.PatternMatchingSwitchExamples.Stop
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java21.RecordPatternsExamples.Point
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java21.RecordPatternsExamples.Rectangle
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.MapOrderSummary
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.SequenceSummary
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.SequenceViewSummary
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java21.UnnamedPatternsVariablesPreviewExamples.Line
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java21.UnnamedPatternsVariablesPreviewExamples.Point
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java22.foreign_function.ForeignFunctionCallResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java22.launch_multi_file_source_programs.LaunchMultiFileSourceProgramsExamples.LaunchResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java23.markdown_documentation_comments.MarkdownDocumentationCommentsExamples.JavaDocResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java23.unsafe_memory_access_deprecation.UnsafeMemoryAccessDeprecationExamples.ProcessResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples.ProcessResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples.VmFlagState
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.AotClassLoadingWorkflowResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.CommandResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java24.class_file.ClassFileSummary
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeDsaResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeKemResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples.AotWorkflowResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples.CommandResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java25.compact_object_headers.CompactObjectHeadersExamples.VmFlagState
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java25.generational_shenandoah.GenerationalShenandoahNotes.ProcessResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java25.jfr_enhancements.JfrEnhancementsExamples.JfrMethodObservation
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java25.key_derivation.DerivedKeyMaterial
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples.CommandResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples.PemWorkflowResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples.CommandResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples.PrimitivePatternsWorkflowResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples.CommandResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples.StableValuesWorkflowResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples.CommandResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples.StructuredConcurrencyWorkflowResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples.CommandResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples.VectorWorkflowResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples.AotObjectCachingWorkflowResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples.CommandResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java26.applet_api_removal.AppletApiRemovalExamples.CompilationResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples.CommandResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples.MutationProbeResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples.CommandResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples.LazyConstantsWorkflowResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples.CommandResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples.PemWorkflowResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples.CommandResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples.PrimitivePatternsWorkflowResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples.CommandResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples.StructuredConcurrencyWorkflowResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes.CommandResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes.VectorWorkflowResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.jrodolfo.java_evolution.java27.Java27ChildProcess.Result
-
Returns a hash code value for this object.
- hasMethod(String) - Method in record class net.jrodolfo.java_evolution.java24.class_file.ClassFileSummary
-
Checks whether the class file declares a method.
- height() - Method in record class net.jrodolfo.java_evolution.java15.SealedClassesPreviewExamples.Rectangle
-
Returns the value of the
heightrecord component. - height() - Method in record class net.jrodolfo.java_evolution.java17.SealedClassesExamples.Rectangle
-
Returns the value of the
heightrecord component. - HelpfulNullPointerExceptionExamples - Class in net.jrodolfo.java_evolution.java14
-
Demonstrates helpful
NullPointerExceptionmessages, introduced in Java 14. - HelpfulNullPointerExceptionExamples() - Constructor for class net.jrodolfo.java_evolution.java14.HelpfulNullPointerExceptionExamples
- HelpfulNullPointerExceptionExamples.Address - Class in net.jrodolfo.java_evolution.java14
-
Address with a city value used by the null-pointer diagnostic example.
- HelpfulNullPointerExceptionExamples.Customer - Class in net.jrodolfo.java_evolution.java14
-
Customer with an address reference used to trigger nested null access.
- hex() - Method in record class net.jrodolfo.java_evolution.java25.key_derivation.DerivedKeyMaterial
-
Formats the derived bytes for deterministic tests and documentation.
- HexFormatExamples - Class in net.jrodolfo.java_evolution.java17
-
Demonstrates
HexFormat, introduced in Java 17. - HexFormatExamples() - Constructor for class net.jrodolfo.java_evolution.java17.HexFormatExamples
- HiddenClassesExamples - Class in net.jrodolfo.java_evolution.java15.hidden_classes
-
Demonstrates hidden classes, introduced in Java 15 by JEP 371.
- HiddenClassesExamples() - Constructor for class net.jrodolfo.java_evolution.java15.hidden_classes.HiddenClassesExamples
- HiddenClassesExamples.Template - Class in net.jrodolfo.java_evolution.java15.hidden_classes
-
Compiled template used as class-file bytes for the hidden class definition.
- historicalContext() - Method in class net.jrodolfo.java_evolution.java03.legacy_integration.LegacyIntegrationNotes
- historicalContext() - Method in class net.jrodolfo.java_evolution.java26.applet_api_removal.AppletApiRemovalExamples
-
Explains what applets represented historically.
- HkdfKeyDerivationExample - Class in net.jrodolfo.java_evolution.java25.key_derivation
-
Demonstrates the Java 25 Key Derivation Function API with HKDF-SHA256.
- HkdfKeyDerivationExample() - Constructor for class net.jrodolfo.java_evolution.java25.key_derivation.HkdfKeyDerivationExample
- hmacSha1(String) - Method in class net.jrodolfo.java_evolution.java04.security.SecurityIntegrationExamples
-
Computes an HMAC-SHA1 tag for this historical provider example.
- Http3ClientExamples - Class in net.jrodolfo.java_evolution.java26
-
Demonstrates Java 26 HTTP/3 support in the HTTP Client API.
- Http3ClientExamples() - Constructor for class net.jrodolfo.java_evolution.java26.Http3ClientExamples
- http3DiscoveryOption() - Method in class net.jrodolfo.java_evolution.java26.Http3ClientExamples
-
Returns the standard HTTP/3 discovery option added with Java 26.
- http3PreferredClientVersion() - Method in class net.jrodolfo.java_evolution.java26.Http3ClientExamples
-
Builds an HTTP client whose preferred protocol version is HTTP/3.
- http3PreferredRequestVersion(URI) - Method in class net.jrodolfo.java_evolution.java26.Http3ClientExamples
-
Builds one request whose preferred protocol version is HTTP/3.
- HttpClientExamples - Class in net.jrodolfo.java_evolution.java11
-
Demonstrates the standard HTTP Client API finalized in Java 11.
- HttpClientExamples() - Constructor for class net.jrodolfo.java_evolution.java11.HttpClientExamples
- HYBRID_GROUP - Static variable in class net.jrodolfo.java_evolution.java27.tls_hybrid_key_exchange.PostQuantumHybridKeyExchangeExamples
-
The first hybrid group exposed by the Java 27 default TLS provider.
I
- idea() - Method in class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples
-
Explains the structured-concurrency idea.
- importance() - Method in class net.jrodolfo.java_evolution.java05.GenericsExamples.LanguageFeature
- importance() - Method in class net.jrodolfo.java_evolution.java05.GenericsExamples.PlatformFeature
- importance() - Method in interface net.jrodolfo.java_evolution.java05.GenericsExamples.ReleaseFeature
-
Returns a small teaching-oriented importance score.
- improvement() - Method in class net.jrodolfo.java_evolution.java26.g1_synchronization.G1SynchronizationNotes
-
Explains the Java 26 runtime improvement.
- incompatibleTargetFailure() - Method in class net.jrodolfo.java_evolution.java07.invokedynamic.InvokeDynamicExamples
-
Attempts to retarget a mutable call site to an incompatible method type.
- incubatorBoundary() - Method in class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples
-
Explains why this example uses a child process.
- incubatorBoundary() - Method in class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples
-
Explains why this example uses a child process.
- incubatorIdea() - Method in class net.jrodolfo.java_evolution.java19.structured_concurrency.StructuredConcurrencyPreviewNotes
-
Explains the first incubator idea.
- incubatorIdea() - Method in class net.jrodolfo.java_evolution.java20.scoped_values.ScopedValuesIncubatorNotes
-
Describes what Java 20 introduced.
- incubatorIdea() - Method in class net.jrodolfo.java_evolution.java20.structured_concurrency.StructuredConcurrencySecondIncubatorNotes
-
Explains the incubator idea.
- incubatorIdea() - Method in class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples
-
Explains the Vector API idea.
- incubatorStatus() - Method in class net.jrodolfo.java_evolution.java20.scoped_values.ScopedValuesIncubatorNotes
-
Describes the Java 20 maturity level.
- incubatorStatus() - Method in class net.jrodolfo.java_evolution.java20.structured_concurrency.StructuredConcurrencySecondIncubatorNotes
-
Describes the Java 20 maturity level.
- incubatorStatus() - Method in class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples
-
Describes the Java 20 maturity level.
- indent(String, int) - Method in class net.jrodolfo.java_evolution.java12.StringIndentExamples
-
Adds indentation to every line.
- InetAddressResolutionExamples - Class in net.jrodolfo.java_evolution.java18.inet_address_resolution
-
Demonstrates the Internet-Address Resolution SPI introduced in Java 18.
- InetAddressResolutionExamples() - Constructor for class net.jrodolfo.java_evolution.java18.inet_address_resolution.InetAddressResolutionExamples
- InetAddressResolutionExamples.CommandResult - Class in net.jrodolfo.java_evolution.java18.inet_address_resolution
- inferredTypeSupportsStringOperations() - Method in class net.jrodolfo.java_evolution.java10.LocalVariableTypeInferenceExamples
-
Shows that a
varvariable still has a concrete compile-time type by calling aString-specific method on the inferred variable. - initials() - Method in interface net.jrodolfo.java_evolution.java08.DefaultMethodExamples.Named
-
Builds initials from the display name without requiring each implementation to duplicate the same string-processing logic.
- InnerClassExamples - Class in net.jrodolfo.java_evolution.java01
-
Demonstrates inner classes, added in Java 1.1.
- InnerClassExamples(String) - Constructor for class net.jrodolfo.java_evolution.java01.InnerClassExamples
- input() - Method in record class net.jrodolfo.java_evolution.java22.foreign_function.ForeignFunctionCallResult
-
Returns the value of the
inputrecord component. - inspect(byte[]) - Method in class net.jrodolfo.java_evolution.java24.class_file.ClassFileInspector
-
Parses compiled class-file bytes.
- inspectDefaultCollector() - Method in class net.jrodolfo.java_evolution.java27.g1_default.G1DefaultNotes
-
Runs HotSpot without explicitly selecting a garbage collector.
- inspectDefaultFlag() - Method in class net.jrodolfo.java_evolution.java27.compact_object_headers.CompactObjectHeadersDefaultExamples
-
Runs
PrintFlagsFinalin a child JVM and returns its output. - inspection() - Method in record class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples.VectorWorkflowResult
-
Returns the value of the
inspectionrecord component. - inspectRedactionOptions() - Method in class net.jrodolfo.java_evolution.java27.jfr_data_redaction.JfrRedactionOptionExamples
-
Runs the JDK's documented Flight Recorder option-help probe.
- InterfaceExamples - Class in net.jrodolfo.java_evolution.java01
-
Refreshes interfaces as early Java contracts.
- InterfaceExamples() - Constructor for class net.jrodolfo.java_evolution.java01.InterfaceExamples
- invokeConstantCallSite(String, String) - Method in class net.jrodolfo.java_evolution.java07.invokedynamic.InvokeDynamicExamples
-
Creates a bootstrap-like constant call site and invokes it.
- InvokeDynamicExamples - Class in net.jrodolfo.java_evolution.java07.invokedynamic
-
Demonstrates Java 7
invokedynamiclinkage support. - InvokeDynamicExamples() - Constructor for class net.jrodolfo.java_evolution.java07.invokedynamic.InvokeDynamicExamples
- InvokeDynamicExamples.RetargetResult - Class in net.jrodolfo.java_evolution.java07.invokedynamic
-
Captures mutable call-site behavior before and after retargeting.
- invokeHiddenClassMethod(Class) - Method in class net.jrodolfo.java_evolution.java15.hidden_classes.HiddenClassesExamples
-
Invokes behavior on an instance of the hidden class.
- invokeMethodByName(Object, String, String) - Method in class net.jrodolfo.java_evolution.java01.reflection.ReflectionExamples
-
Invokes a method selected by name at runtime.
- IO - Enum constant in enum class net.jrodolfo.java_evolution.java07.ExceptionHandlingExamples.FailureMode
- IoBasicsExamples - Class in net.jrodolfo.java_evolution.java01
-
Refreshes classic
java.iostream concepts. - IoBasicsExamples() - Constructor for class net.jrodolfo.java_evolution.java01.IoBasicsExamples
- isActive() - Method in class net.jrodolfo.java_evolution.java01.javabeans.JavaBeansExamples.ProjectBean
- isBlankText(String) - Method in class net.jrodolfo.java_evolution.java11.StringApiExamples
-
Uses
String.isBlank()to detect text that contains only whitespace. - isClosed() - Method in class net.jrodolfo.java_evolution.java01.jdbc.JdbcExamples.LearningConnection
- isHidden(Class) - Method in class net.jrodolfo.java_evolution.java15.hidden_classes.HiddenClassesExamples
-
Reports whether a class is hidden.
- isJava24OrNewer() - Method in record class net.jrodolfo.java_evolution.java24.class_file.ClassFileSummary
-
Checks whether the class file was compiled for Java 24 or newer.
- isMissing(Optional) - Method in class net.jrodolfo.java_evolution.java11.OptionalIsEmptyExamples
-
Uses
Optional.isEmpty()as the direct opposite ofOptional.isPresent(). - isNotFound() - Method in record class net.jrodolfo.java_evolution.java18.simple_web_server.StaticFileResponse
-
Checks whether the requested static file was not found.
- isReleasePackageName(String) - Method in class net.jrodolfo.java_evolution.java04.RegexExamples
-
Validates a simple release package name.
- isSuccessful() - Method in record class net.jrodolfo.java_evolution.java18.simple_web_server.StaticFileResponse
-
Checks whether the server returned a successful HTTP response.
- issueIds(String) - Method in class net.jrodolfo.java_evolution.java04.RegexExamples
-
Extracts all simple issue identifiers from text.
- isUserBound() - Method in class net.jrodolfo.java_evolution.java25.scoped_values.ScopedValuesExamples
-
Reports whether the user key has a value in the current execution scope.
- iterator() - Method in class net.jrodolfo.java_evolution.java05.EnhancedForLoopExamples.ReleaseNames
J
- jarFile() - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.AotClassLoadingWorkflowResult
-
Returns the value of the
jarFilerecord component. - java15ReflectionApiSource() - Method in class net.jrodolfo.java_evolution.java15.SealedClassesPreviewExamples
-
Returns the reflection API shape from the Java 15 first preview.
- java19ApiShape() - Method in class net.jrodolfo.java_evolution.java19.ForeignFunctionMemoryApiPreviewNotes
-
Returns the central lifecycle API shape from the Java 19 preview.
- java20ApiShape() - Method in class net.jrodolfo.java_evolution.java20.ForeignFunctionMemorySecondPreviewNotes
-
Returns the Java 20 lifecycle API shape that replaced the Java 19 session model.
- java20Status() - Method in class net.jrodolfo.java_evolution.java20.ForeignFunctionMemorySecondPreviewNotes
-
Describes the Java 20 maturity level.
- java22Connection() - Method in class net.jrodolfo.java_evolution.java23.class_file_api.ClassFileApiSecondPreviewNotes
-
Explains the Java 22 connection.
- java22Connection() - Method in class net.jrodolfo.java_evolution.java23.flexible_constructor_bodies.FlexibleConstructorBodiesSecondPreviewNotes
-
Explains the relationship to the Java 22 preview.
- java22Connection() - Method in class net.jrodolfo.java_evolution.java23.scoped_values.ScopedValuesThirdPreviewNotes
-
Explains the Java 22 connection.
- java22Connection() - Method in class net.jrodolfo.java_evolution.java23.stream_gatherers.StreamGatherersSecondPreviewNotes
-
Explains the Java 22 connection.
- java23Status() - Method in class net.jrodolfo.java_evolution.java23.stream_gatherers.StreamGatherersSecondPreviewNotes
-
Explains the Java 23 status.
- java24Impact() - Method in class net.jrodolfo.java_evolution.java24.security_manager_disabled.SecurityManagerDisabledExamples
- java24Improvement() - Method in class net.jrodolfo.java_evolution.java24.virtual_thread_synchronization.VirtualThreadSynchronizationExamples
-
Explains the Java 24 runtime goal.
- java24Workflow() - Method in class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples
-
Explains the explicit Java 24 workflow.
- java25Idea() - Method in class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples
-
Explains the Java 25 improvement.
- java25Idea() - Method in class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples
-
Explains what the Java 25 preview API provides.
- java25Idea() - Method in class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples
-
Explains the Java 25 feature goal.
- java25Idea() - Method in class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples
-
Explains the Java 25 structured-concurrency idea.
- java25Idea() - Method in class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples
-
Explains the Java 25 feature idea.
- java25Status() - Method in class net.jrodolfo.java_evolution.java25.generational_shenandoah.GenerationalShenandoahNotes
- java26Behavior() - Method in class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples
-
Describes the Java 26 behavior.
- java26Change() - Method in class net.jrodolfo.java_evolution.java26.applet_api_removal.AppletApiRemovalExamples
-
Describes the Java 26 change.
- java26Idea() - Method in class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples
-
Describes the Java 26 idea.
- Java27ChildProcess - Class in net.jrodolfo.java_evolution.java27
-
Shared bounded child-process support used by Java 27 preview examples.
- Java27ChildProcess.Result - Record Class in net.jrodolfo.java_evolution.java27
-
Result from one child command.
- Java2DExamples - Class in net.jrodolfo.java_evolution.java02.java2d
-
Demonstrates Java 2D rendering to an in-memory image.
- Java2DExamples() - Constructor for class net.jrodolfo.java_evolution.java02.java2d.Java2DExamples
- JavaBeansExamples - Class in net.jrodolfo.java_evolution.java01.javabeans
-
Demonstrates JavaBeans introspection, introduced in Java 1.1.
- JavaBeansExamples() - Constructor for class net.jrodolfo.java_evolution.java01.javabeans.JavaBeansExamples
- JavaBeansExamples.ProjectBean - Class in net.jrodolfo.java_evolution.java01.javabeans
-
Small bean used by the introspection examples.
- JavaBeansExamples.ProjectEvent - Class in net.jrodolfo.java_evolution.java01.javabeans
-
Event object delivered when a project changes.
- JavaBeansExamples.ProjectListener - Interface in net.jrodolfo.java_evolution.java01.javabeans
-
Listener type used to demonstrate JavaBeans event-set discovery.
- JavaDocResult(int, String, Path) - Constructor for record class net.jrodolfo.java_evolution.java23.markdown_documentation_comments.MarkdownDocumentationCommentsExamples.JavaDocResult
-
Creates an instance of a
JavaDocResultrecord class. - JavaDocSnippetExamples - Class in net.jrodolfo.java_evolution.java18.javadoc_snippets
-
Demonstrates JavaDoc
@snippet, introduced in Java 18. - JavaDocSnippetExamples() - Constructor for class net.jrodolfo.java_evolution.java18.javadoc_snippets.JavaDocSnippetExamples
- JavaEvolutionApplication - Class in net.jrodolfo.java_evolution
- JavaEvolutionApplication() - Constructor for class net.jrodolfo.java_evolution.JavaEvolutionApplication
- javascriptEngineAvailable() - Method in class net.jrodolfo.java_evolution.java06.scripting.ScriptingSupportExamples
- javascriptEngineLookupResult() - Method in class net.jrodolfo.java_evolution.java06.scripting.ScriptingSupportExamples
- javaSixDirection() - Method in class net.jrodolfo.java_evolution.java06.web_services.WebServiceSupportNotes
- javaType() - Method in record class net.jrodolfo.java_evolution.java22.foreign_function.ForeignFunctionCallResult
-
Returns the value of the
javaTyperecord component. - JaxpExamples - Class in net.jrodolfo.java_evolution.java04.xml
-
Demonstrates JAXP XML processing, standardized in J2SE 1.4.
- JaxpExamples() - Constructor for class net.jrodolfo.java_evolution.java04.xml.JaxpExamples
- JdbcExamples - Class in net.jrodolfo.java_evolution.java01.jdbc
-
Demonstrates the JDBC 1.1 driver-dispatch model introduced in Java 1.1.
- JdbcExamples() - Constructor for class net.jrodolfo.java_evolution.java01.jdbc.JdbcExamples
- JdbcExamples.LearningConnection - Class in net.jrodolfo.java_evolution.java01.jdbc
-
Minimal connection that exposes the selected URL and metadata.
- JdbcExamples.LearningDatabaseMetaData - Class in net.jrodolfo.java_evolution.java01.jdbc
-
Minimal metadata returned by the learning connection.
- JdbcExamples.LearningDriver - Class in net.jrodolfo.java_evolution.java01.jdbc
-
Minimal driver contract used by the learning model.
- JdbcExamples.LearningDriverManager - Class in net.jrodolfo.java_evolution.java01.jdbc
-
Small model of the JDBC driver-selection role.
- JfrEnhancementsExamples - Class in net.jrodolfo.java_evolution.java25.jfr_enhancements
-
Demonstrates Java Flight Recorder (JFR) method timing and tracing introduced in Java 25.
- JfrEnhancementsExamples() - Constructor for class net.jrodolfo.java_evolution.java25.jfr_enhancements.JfrEnhancementsExamples
- JfrEnhancementsExamples.JfrMethodObservation - Record Class in net.jrodolfo.java_evolution.java25.jfr_enhancements
-
Summary of method events observed in a JFR recording.
- JfrMethodObservation(Path, int, long, int, int, long, List) - Constructor for record class net.jrodolfo.java_evolution.java25.jfr_enhancements.JfrEnhancementsExamples.JfrMethodObservation
-
Creates an instance of a
JfrMethodObservationrecord class. - JfrRedactionOptionExamples - Class in net.jrodolfo.java_evolution.java27.jfr_data_redaction
-
Probes Java 27 JFR redaction options for arguments, environment, and properties.
- JfrRedactionOptionExamples() - Constructor for class net.jrodolfo.java_evolution.java27.jfr_data_redaction.JfrRedactionOptionExamples
- JndiExamples - Class in net.jrodolfo.java_evolution.java03.jndi
-
Demonstrates Java Naming and Directory Interface (JNDI), included in J2SE 1.3.
- JndiExamples() - Constructor for class net.jrodolfo.java_evolution.java03.jndi.JndiExamples
- JndiExamples.MemoryContext - Class in net.jrodolfo.java_evolution.java03.jndi
-
Minimal in-memory context for demonstrating focused JNDI operations.
- JndiExamples.MemoryInitialContextFactory - Class in net.jrodolfo.java_evolution.java03.jndi
-
JNDI provider factory selected through
Context.INITIAL_CONTEXT_FACTORY. - join(String, String) - Static method in class net.jrodolfo.java_evolution.java07.invokedynamic.InvokeDynamicExamples
-
Target used by the constant call-site example.
- joinLabels(Iterable) - Method in class net.jrodolfo.java_evolution.java05.VarargsExamples
-
Joins labels supplied by an existing
Iterable. - joinLabels(String...) - Method in class net.jrodolfo.java_evolution.java05.VarargsExamples
-
Joins zero or more labels.
- json() - Method in class net.jrodolfo.java_evolution.java15.TextBlockExamples
-
Creates JSON using a text block.
- jsonTextBlock() - Method in class net.jrodolfo.java_evolution.java13.TextBlockPreviewExamples
-
Uses a text block for readable multi-line JSON.
- JvmSnapshot(String, int, long, int) - Constructor for class net.jrodolfo.java_evolution.java06.monitoring_management.MonitoringManagementExamples.JvmSnapshot
K
- kdfInputs() - Method in class net.jrodolfo.java_evolution.java24.key_derivation.KeyDerivationFunctionPreviewNotes
-
Names the common KDF inputs.
- keepMatching(Iterable, Predicate) - Method in class net.jrodolfo.java_evolution.java08.LambdaExamples
-
Filters values using a caller-supplied
Predicate. - KEM_ALGORITHM - Static variable in class net.jrodolfo.java_evolution.java21.key_encapsulation.KemReceiver
-
The Java 21 KEM algorithm name used by the standard API.
- KemReceiver - Class in net.jrodolfo.java_evolution.java21.key_encapsulation
-
Represents the receiver side of a Java 21 KEM exchange.
- KemSender - Class in net.jrodolfo.java_evolution.java21.key_encapsulation
-
Represents the sender side of a Java 21 KEM exchange.
- KEY_PAIR_ALGORITHM - Static variable in class net.jrodolfo.java_evolution.java21.key_encapsulation.KemReceiver
-
The key agreement key type used by this compact example.
- KeyDerivationFunctionPreviewNotes - Class in net.jrodolfo.java_evolution.java24.key_derivation
-
Explains the Key Derivation Function API preview in Java 24.
- KeyDerivationFunctionPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java24.key_derivation.KeyDerivationFunctionPreviewNotes
- KeyEncapsulationExchange - Class in net.jrodolfo.java_evolution.java21.key_encapsulation
-
Demonstrates the full Java 21 Key Encapsulation Mechanism API flow.
- KeyEncapsulationExchange() - Constructor for class net.jrodolfo.java_evolution.java21.key_encapsulation.KeyEncapsulationExchange
- KeyEncapsulationExchange.KeyExchangeResult - Record Class in net.jrodolfo.java_evolution.java21.key_encapsulation
-
Captures the observable result of the KEM exchange for tests and readers.
- KeyExchangeResult(byte[], byte[], byte[], String) - Constructor for record class net.jrodolfo.java_evolution.java21.key_encapsulation.KeyEncapsulationExchange.KeyExchangeResult
-
Creates an immutable exchange result.
L
- label() - Element in annotation interface net.jrodolfo.java_evolution.java05.AnnotationExamples.ExampleFeature
- label(EnumExamples.Priority) - Method in class net.jrodolfo.java_evolution.java05.EnumExamples
-
Returns a display label from enum behavior instead of a parallel switch or map.
- labelFor(String) - Method in class net.jrodolfo.java_evolution.java05.AnnotationExamples
-
Reads runtime annotation metadata from a method.
- LambdaExamples - Class in net.jrodolfo.java_evolution.java08
-
Demonstrates lambda expressions, one of the main language features introduced in Java 8.
- LambdaExamples() - Constructor for class net.jrodolfo.java_evolution.java08.LambdaExamples
- LambdaExamples.IntegerOperation - Interface in net.jrodolfo.java_evolution.java08
-
Simple functional interface used to demonstrate passing behavior into a method.
- LambdaVarExamples - Class in net.jrodolfo.java_evolution.java11
-
Demonstrates
varin lambda parameters, introduced in Java 11. - LambdaVarExamples() - Constructor for class net.jrodolfo.java_evolution.java11.LambdaVarExamples
- LambdaVarExamples.ExampleParameter - Annotation Interface in net.jrodolfo.java_evolution.java11
-
Marker annotation used only to demonstrate annotating an inferred lambda parameter.
- languageDirection() - Method in class net.jrodolfo.java_evolution.java23.primitive_patterns.PrimitivePatternsPreviewNotes
-
Explains the broader pattern-matching direction.
- LanguageFeature(int) - Constructor for class net.jrodolfo.java_evolution.java05.GenericsExamples.LanguageFeature
- languageFeatureCategories() - Method in class net.jrodolfo.java_evolution.java09.CollectionFactoryExamples
-
Creates an immutable set.
- languageFeatures() - Method in class net.jrodolfo.java_evolution.java09.CollectionFactoryExamples
-
Creates an immutable list.
- last() - Method in record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.SequenceSummary
-
Returns the value of the
lastrecord component. - lastKey() - Method in record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.MapOrderSummary
-
Returns the value of the
lastKeyrecord component. - lastReceivedRequest() - Method in class net.jrodolfo.java_evolution.java01.rmi.RmiExamples.RmiGreetingEndpoint
-
Returns the last request received by the exported object.
- lastValue() - Method in record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.MapOrderSummary
-
Returns the value of the
lastValuerecord component. - launch(Path) - Method in class net.jrodolfo.java_evolution.java25.ModuleImportDeclarationsExamples
-
Launches a generated source file directly with the JDK
javalauncher. - launch(Path, String...) - Method in class net.jrodolfo.java_evolution.java25.CompactSourceFilesExamples
-
Launches a compact source file with the JDK
javalauncher. - launchMain(Path, String...) - Method in class net.jrodolfo.java_evolution.java22.launch_multi_file_source_programs.LaunchMultiFileSourceProgramsExamples
-
Runs
java Main.javain the supplied source directory. - LaunchMultiFileSourceProgramsExamples - Class in net.jrodolfo.java_evolution.java22.launch_multi_file_source_programs
-
Demonstrates Java 22 multi-file source-program launching.
- LaunchMultiFileSourceProgramsExamples() - Constructor for class net.jrodolfo.java_evolution.java22.launch_multi_file_source_programs.LaunchMultiFileSourceProgramsExamples
- LaunchMultiFileSourceProgramsExamples.LaunchResult - Record Class in net.jrodolfo.java_evolution.java22.launch_multi_file_source_programs
-
Captures the launcher child process result.
- LaunchResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java22.launch_multi_file_source_programs.LaunchMultiFileSourceProgramsExamples.LaunchResult
-
Creates an instance of a
LaunchResultrecord class. - LazyConstantsSecondPreviewExamples - Class in net.jrodolfo.java_evolution.java26.lazy_constants
-
Demonstrates the second preview of Lazy Constants from JEP 526.
- LazyConstantsSecondPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples
- LazyConstantsSecondPreviewExamples.CommandResult - Record Class in net.jrodolfo.java_evolution.java26.lazy_constants
-
Result from one child process invocation.
- LazyConstantsSecondPreviewExamples.LazyConstantsWorkflowResult - Record Class in net.jrodolfo.java_evolution.java26.lazy_constants
-
Result from compiling and running the generated preview source.
- LazyConstantsThirdPreviewExamples - Class in net.jrodolfo.java_evolution.java27.lazy_constants
-
Demonstrates the third preview of Lazy Constants from JEP 531.
- LazyConstantsThirdPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java27.lazy_constants.LazyConstantsThirdPreviewExamples
- LazyConstantsWorkflowResult(Path, Path, LazyConstantsSecondPreviewExamples.CommandResult, LazyConstantsSecondPreviewExamples.CommandResult) - Constructor for record class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples.LazyConstantsWorkflowResult
-
Creates an instance of a
LazyConstantsWorkflowResultrecord class. - LearningDriverManager() - Constructor for class net.jrodolfo.java_evolution.java01.jdbc.JdbcExamples.LearningDriverManager
- legacyAppletSource() - Method in class net.jrodolfo.java_evolution.java26.applet_api_removal.AppletApiRemovalExamples
-
Source that would compile only on JDKs where
java.applet.Appletstill existed. - LegacyIntegrationNotes - Class in net.jrodolfo.java_evolution.java03.legacy_integration
-
Explains legacy integration context around J2SE 1.3.
- LegacyIntegrationNotes() - Constructor for class net.jrodolfo.java_evolution.java03.legacy_integration.LegacyIntegrationNotes
- length(String) - Static method in class net.jrodolfo.java_evolution.java07.invokedynamic.InvokeDynamicExamples
-
Incompatible target used to demonstrate call-site type checks.
- lengthOf(String) - Method in class net.jrodolfo.java_evolution.java22.foreign_function.NativeStringLength
-
Calls native
strlenfor the supplied text. - Line(UnnamedPatternsVariablesPreviewExamples.Point, UnnamedPatternsVariablesPreviewExamples.Point) - Constructor for record class net.jrodolfo.java_evolution.java21.UnnamedPatternsVariablesPreviewExamples.Line
-
Creates an instance of a
Linerecord class. - lines(String) - Method in class net.jrodolfo.java_evolution.java11.StringApiExamples
-
Uses
String.lines()to split text into a stream of lines. - list(String) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- list(Name) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- listBindings(String) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- listBindings(Name) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- listFromNullableValue(String) - Method in class net.jrodolfo.java_evolution.java09.StreamEnhancementExamples
-
Uses
Stream.ofNullable(Object)to create either a one-element stream or an empty stream. - listModelSnapshot() - Method in class net.jrodolfo.java_evolution.java02.swing.SwingExamples
-
Uses Swing's list model without creating a visible list component.
- listWithNullValue() - Method in class net.jrodolfo.java_evolution.java09.CollectionFactoryExamples
-
Shows that factory collections reject
null. - liveThreadCount() - Method in class net.jrodolfo.java_evolution.java06.monitoring_management.MonitoringManagementExamples.JvmSnapshot
- liveThreadCount() - Method in class net.jrodolfo.java_evolution.java06.monitoring_management.MonitoringManagementExamples
-
Reads the current live-thread count.
- loadedClassCount() - Method in class net.jrodolfo.java_evolution.java06.monitoring_management.MonitoringManagementExamples.JvmSnapshot
- loadedClassCount() - Method in class net.jrodolfo.java_evolution.java06.monitoring_management.MonitoringManagementExamples
-
Reads how many classes are currently loaded in this JVM.
- loadOrThrowDomainFailure() - Method in class net.jrodolfo.java_evolution.java01.ExceptionHandlingBasicsExamples
-
Converts a checked exception into a domain-specific unchecked exception.
- loadRequiredValue(boolean) - Method in class net.jrodolfo.java_evolution.java01.ExceptionHandlingBasicsExamples
-
Declares a checked exception for callers to handle or propagate.
- LocalVariableTypeInferenceExamples - Class in net.jrodolfo.java_evolution.java10
-
Demonstrates local variable type inference, introduced in Java 10 through the
varreserved type name. - LocalVariableTypeInferenceExamples() - Constructor for class net.jrodolfo.java_evolution.java10.LocalVariableTypeInferenceExamples
- LoggingExamples - Class in net.jrodolfo.java_evolution.java04
-
Demonstrates
java.util.logging, introduced in J2SE 1.4. - LoggingExamples() - Constructor for class net.jrodolfo.java_evolution.java04.LoggingExamples
- Login(String) - Constructor for record class net.jrodolfo.java_evolution.java19.PatternMatchingSwitchPreviewExamples.Login
-
Creates an instance of a
Loginrecord class. - Logout(String) - Constructor for record class net.jrodolfo.java_evolution.java19.PatternMatchingSwitchPreviewExamples.Logout
-
Creates an instance of a
Logoutrecord class. - longCompactNumber(long, Locale) - Method in class net.jrodolfo.java_evolution.java12.CompactNumberFormatExamples
-
Formats a number with the long compact style.
- longestName(List) - Method in class net.jrodolfo.java_evolution.java08.StreamExamples
-
Uses
maxwith a comparator to find the longest user name. - lookup(String) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- lookup(Name) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- lookupGreetingService() - Method in class net.jrodolfo.java_evolution.java01.rmi.RmiExamples.RmiGreetingEndpoint
-
Looks up the remote service through the registry.
- lookupLink(String) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- lookupLink(Name) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- LOW - Enum constant in enum class net.jrodolfo.java_evolution.java05.EnumExamples.Priority
- lowercase(String) - Static method in class net.jrodolfo.java_evolution.java07.invokedynamic.InvokeDynamicExamples
-
Target used after mutable call-site retargeting.
M
- main(String[]) - Static method in class net.jrodolfo.java_evolution.java03.shutdown_hooks.ShutdownHookExamples
- main(String[]) - Static method in class net.jrodolfo.java_evolution.JavaEvolutionApplication
- majorVersion() - Method in record class net.jrodolfo.java_evolution.java24.class_file.ClassFileSummary
-
Returns the value of the
majorVersionrecord component. - manualParsingProblem() - Method in class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples
-
Explains the problem that Java 25 PEM support addresses.
- MapOrderSummary(int, String, int, String) - Constructor for record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.MapOrderSummary
-
Creates an instance of a
MapOrderSummaryrecord class. - mapWithDuplicateKeys() - Method in class net.jrodolfo.java_evolution.java09.CollectionFactoryExamples
-
Shows that
Map.of(Object, Object, Object, Object)rejects duplicate keys. - MarkdownDocumentationCommentsExamples - Class in net.jrodolfo.java_evolution.java23.markdown_documentation_comments
-
Demonstrates Java 23 Markdown documentation comments by invoking JavaDoc.
- MarkdownDocumentationCommentsExamples() - Constructor for class net.jrodolfo.java_evolution.java23.markdown_documentation_comments.MarkdownDocumentationCommentsExamples
- MarkdownDocumentationCommentsExamples.JavaDocResult - Record Class in net.jrodolfo.java_evolution.java23.markdown_documentation_comments
-
Captures the JavaDoc child process result.
- MARKER_MESSAGE - Static variable in class net.jrodolfo.java_evolution.java03.shutdown_hooks.ShutdownHookExamples
- max(int, int...) - Method in class net.jrodolfo.java_evolution.java05.VarargsExamples
-
Returns the maximum value while requiring at least one argument.
- measurementCaution() - Method in class net.jrodolfo.java_evolution.java25.compact_object_headers.CompactObjectHeadersExamples
-
Explains why memory savings are not asserted in the unit test.
- MemoryInitialContextFactory() - Constructor for class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryInitialContextFactory
- message() - Method in class net.jrodolfo.java_evolution.java06.console_api.ConsoleApiExamples.ConsoleAvailability
- message() - Method in class net.jrodolfo.java_evolution.java15.hidden_classes.HiddenClassesExamples.Template
- message() - Method in record class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeDsaResult
-
Returns the value of the
messagerecord component. - methodNames() - Method in record class net.jrodolfo.java_evolution.java24.class_file.ClassFileSummary
-
Returns the value of the
methodNamesrecord component. - methodNames() - Method in record class net.jrodolfo.java_evolution.java25.jfr_enhancements.JfrEnhancementsExamples.JfrMethodObservation
-
Returns the value of the
methodNamesrecord component. - MethodReferenceExamples - Class in net.jrodolfo.java_evolution.java08
-
Demonstrates method references, introduced in Java 8 as a compact syntax for lambdas that only call an existing method or constructor.
- MethodReferenceExamples() - Constructor for class net.jrodolfo.java_evolution.java08.MethodReferenceExamples
- MethodReferenceExamples.NameFormatter - Class in net.jrodolfo.java_evolution.java08
-
Simple formatter used to demonstrate a bound instance method reference.
- MethodReferenceExamples.User - Class in net.jrodolfo.java_evolution.java08
-
Small Java 8-style data class used by constructor reference examples.
- methodTimingCount() - Method in record class net.jrodolfo.java_evolution.java25.jfr_enhancements.JfrEnhancementsExamples.JfrMethodObservation
-
Returns the value of the
methodTimingCountrecord component. - methodTraceCount() - Method in record class net.jrodolfo.java_evolution.java25.jfr_enhancements.JfrEnhancementsExamples.JfrMethodObservation
-
Returns the value of the
methodTraceCountrecord component. - migrationDirection() - Method in class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples
-
Explains the migration direction.
- migrationLesson() - Method in class net.jrodolfo.java_evolution.java23.unsafe_memory_access_deprecation.UnsafeMemoryAccessDeprecationExamples
-
Explains the migration lesson.
- migrationLesson() - Method in class net.jrodolfo.java_evolution.java26.applet_api_removal.AppletApiRemovalExamples
-
Explains the learning value.
- minorVersion() - Method in record class net.jrodolfo.java_evolution.java24.class_file.ClassFileSummary
-
Returns the value of the
minorVersionrecord component. - modelSummary() - Method in class net.jrodolfo.java_evolution.java02.security.SecurityPolicyExamples
-
Explains the core Java 2 security model in one sentence.
- modernBoundary() - Method in class net.jrodolfo.java_evolution.java02.security.SecurityPolicyExamples
-
Explains the modern boundary of this example.
- modernCaveat() - Method in class net.jrodolfo.java_evolution.java03.legacy_integration.LegacyIntegrationNotes
- modernContext() - Method in class net.jrodolfo.java_evolution.java02.strict_floating_point.StrictFloatingPointExamples
- modernIsolationAdvice() - Method in class net.jrodolfo.java_evolution.java24.security_manager_disabled.SecurityManagerDisabledExamples
- modernJdkCaveat() - Method in class net.jrodolfo.java_evolution.java06.web_services.WebServiceSupportNotes
- modernPractice() - Method in class net.jrodolfo.java_evolution.java06.scripting.ScriptingSupportExamples
- ModuleImportDeclarationsExamples - Class in net.jrodolfo.java_evolution.java25
-
Demonstrates module import declarations, finalized in Java 25.
- ModuleImportDeclarationsExamples() - Constructor for class net.jrodolfo.java_evolution.java25.ModuleImportDeclarationsExamples
- ModuleImportDeclarationsExamples.CommandResult - Class in net.jrodolfo.java_evolution.java25
-
Captures JDK tool output.
- ModuleImportDeclarationsPreviewNotes - Class in net.jrodolfo.java_evolution.java23.module_import_declarations
-
Explains module import declarations as a Java 23 preview feature.
- ModuleImportDeclarationsPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java23.module_import_declarations.ModuleImportDeclarationsPreviewNotes
- ModuleImportDeclarationsSecondPreviewNotes - Class in net.jrodolfo.java_evolution.java24.module_import_declarations
-
Explains module import declarations second preview in Java 24.
- ModuleImportDeclarationsSecondPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java24.module_import_declarations.ModuleImportDeclarationsSecondPreviewNotes
- moduleImportModel() - Method in class net.jrodolfo.java_evolution.java24.module_import_declarations.ModuleImportDeclarationsSecondPreviewNotes
-
Explains what a module import declaration makes available.
- ModuleLatticeDsaExample - Class in net.jrodolfo.java_evolution.java24.quantum_resistant_crypto
-
Demonstrates Java 24 module-lattice digital signature support.
- ModuleLatticeDsaExample() - Constructor for class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeDsaExample
- ModuleLatticeDsaResult - Record Class in net.jrodolfo.java_evolution.java24.quantum_resistant_crypto
-
Captures the result of signing and verifying data with ML-DSA.
- ModuleLatticeDsaResult(String, String, byte[], boolean, boolean) - Constructor for record class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeDsaResult
-
Creates an immutable signature result.
- ModuleLatticeKemExample - Class in net.jrodolfo.java_evolution.java24.quantum_resistant_crypto
-
Demonstrates Java 24 module-lattice key encapsulation support.
- ModuleLatticeKemExample() - Constructor for class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeKemExample
- ModuleLatticeKemResult - Record Class in net.jrodolfo.java_evolution.java24.quantum_resistant_crypto
-
Captures the observable pieces of a module-lattice KEM exchange.
- ModuleLatticeKemResult(byte[], byte[], byte[], String) - Constructor for record class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeKemResult
-
Creates an immutable KEM result.
- ModuleSystemExamples - Class in net.jrodolfo.java_evolution.java09.module_system
-
Demonstrates the Java Platform Module System (JPMS), introduced in Java 9.
- ModuleSystemExamples() - Constructor for class net.jrodolfo.java_evolution.java09.module_system.ModuleSystemExamples
- ModuleSystemExamples.CommandResult - Class in net.jrodolfo.java_evolution.java09.module_system
-
Captures child process output.
- MonitoringManagementExamples - Class in net.jrodolfo.java_evolution.java06.monitoring_management
-
Demonstrates platform MXBean monitoring APIs improved around Java 6.
- MonitoringManagementExamples() - Constructor for class net.jrodolfo.java_evolution.java06.monitoring_management.MonitoringManagementExamples
- MonitoringManagementExamples.JvmSnapshot - Class in net.jrodolfo.java_evolution.java06.monitoring_management
-
Immutable snapshot of runtime monitoring values.
- MutationProbeResult(Path, FinalFieldRestrictionsExamples.CommandResult, FinalFieldRestrictionsExamples.CommandResult) - Constructor for record class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples.MutationProbeResult
-
Creates an instance of a
MutationProbeResultrecord class.
N
- name() - Method in class net.jrodolfo.java_evolution.java01.rmi.RmiExamples.GreetingRequest
- name() - Method in interface net.jrodolfo.java_evolution.java05.GenericsExamples.NamedFeature
-
Returns the feature name.
- name() - Method in class net.jrodolfo.java_evolution.java05.GenericsExamples.RankedFeature
- name() - Method in class net.jrodolfo.java_evolution.java08.DefaultMethodExamples.AdminUser
- name() - Method in interface net.jrodolfo.java_evolution.java08.DefaultMethodExamples.Named
-
Supplies the raw name owned by the implementation.
- name() - Method in class net.jrodolfo.java_evolution.java08.DefaultMethodExamples.RegularUser
- name() - Method in class net.jrodolfo.java_evolution.java08.MethodReferenceExamples.User
-
Returns the user's display name.
- name() - Method in class net.jrodolfo.java_evolution.java08.OptionalExamples.User
- name() - Method in class net.jrodolfo.java_evolution.java08.StreamExamples.User
- name() - Method in class net.jrodolfo.java_evolution.java10.UnmodifiableCollectorsExamples.Feature
- name() - Method in record class net.jrodolfo.java_evolution.java14.RecordPreviewExamples.Feature
-
Returns the value of the
namerecord component. - name() - Method in record class net.jrodolfo.java_evolution.java16.RecordExamples.Feature
-
Returns the value of the
namerecord component. - name() - Method in record class net.jrodolfo.java_evolution.java16.RecordExamples.Release
-
Returns the value of the
namerecord component. - name() - Method in record class net.jrodolfo.java_evolution.java20.RecordPatternsSecondPreviewExamples.Customer
-
Returns the value of the
namerecord component. - name() - Method in record class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples.VmFlagState
-
Returns the value of the
namerecord component. - name() - Method in record class net.jrodolfo.java_evolution.java25.compact_object_headers.CompactObjectHeadersExamples.VmFlagState
-
Returns the value of the
namerecord component. - NameFormatter() - Constructor for class net.jrodolfo.java_evolution.java08.MethodReferenceExamples.NameFormatter
- nameLengths(List) - Method in class net.jrodolfo.java_evolution.java11.LambdaVarExamples
-
Uses an annotation on a lambda parameter whose type is inferred with
var. - namesByDepartment(List) - Method in class net.jrodolfo.java_evolution.java08.StreamExamples
-
Groups user names by department with
Collectors.groupingBy(Function). - namesWithAtLeastFourLetters(List) - Method in class net.jrodolfo.java_evolution.java08.LambdaExamples
-
Filters a list by assigning a lambda expression to a
Predicate. - namingEvolution() - Method in class net.jrodolfo.java_evolution.java22.statements_before_super.StatementsBeforeSuperPreviewNotes
-
Explains how the feature name evolved after the first preview.
- NativeStringLength - Class in net.jrodolfo.java_evolution.java22.foreign_function
-
Demonstrates a Java 22 foreign function call to the native
strlenfunction. - NativeStringLength() - Constructor for class net.jrodolfo.java_evolution.java22.foreign_function.NativeStringLength
- NativeStringParser - Class in net.jrodolfo.java_evolution.java22.foreign_function
-
Demonstrates a Java 22 foreign function call to the native
atoifunction. - NativeStringParser() - Constructor for class net.jrodolfo.java_evolution.java22.foreign_function.NativeStringParser
- NavigableCollectionExamples - Class in net.jrodolfo.java_evolution.java06
- NavigableCollectionExamples() - Constructor for class net.jrodolfo.java_evolution.java06.NavigableCollectionExamples
- nearestPassingScore(NavigableSet, int) - Method in class net.jrodolfo.java_evolution.java06.NavigableCollectionExamples
-
Finds the nearest score greater than or equal to a target.
- net.jrodolfo.java_evolution - package net.jrodolfo.java_evolution
- net.jrodolfo.java_evolution.java01 - package net.jrodolfo.java_evolution.java01
-
Foundational examples and notes for early Java 1.0 and 1.1 concepts.
- net.jrodolfo.java_evolution.java01.javabeans - package net.jrodolfo.java_evolution.java01.javabeans
-
Executable examples for JavaBeans.
- net.jrodolfo.java_evolution.java01.jdbc - package net.jrodolfo.java_evolution.java01.jdbc
-
Executable model of the Java 1.1 JDBC driver-registration and dispatch roles, using small local types to preserve the historical API boundary.
- net.jrodolfo.java_evolution.java01.reflection - package net.jrodolfo.java_evolution.java01.reflection
-
Executable examples for Java 1.1 reflection.
- net.jrodolfo.java_evolution.java01.rmi - package net.jrodolfo.java_evolution.java01.rmi
-
Executable example for Java RMI.
- net.jrodolfo.java_evolution.java01.serialization - package net.jrodolfo.java_evolution.java01.serialization
-
Executable examples for Java 1.1 object serialization.
- net.jrodolfo.java_evolution.java02 - package net.jrodolfo.java_evolution.java02
-
Examples and notes for Java 2 / J2SE 1.2.
- net.jrodolfo.java_evolution.java02.java2d - package net.jrodolfo.java_evolution.java02.java2d
-
Executable examples for Java 2D.
- net.jrodolfo.java_evolution.java02.security - package net.jrodolfo.java_evolution.java02.security
-
Executable example for the Java 2 security-policy permission model.
- net.jrodolfo.java_evolution.java02.strict_floating_point - package net.jrodolfo.java_evolution.java02.strict_floating_point
-
Executable examples for Java 2 strict floating-point semantics.
- net.jrodolfo.java_evolution.java02.swing - package net.jrodolfo.java_evolution.java02.swing
-
Executable examples for headless-safe Swing concepts.
- net.jrodolfo.java_evolution.java03 - package net.jrodolfo.java_evolution.java03
-
Examples and notes for J2SE 1.3.
- net.jrodolfo.java_evolution.java03.jndi - package net.jrodolfo.java_evolution.java03.jndi
-
Executable example for JNDI.
- net.jrodolfo.java_evolution.java03.legacy_integration - package net.jrodolfo.java_evolution.java03.legacy_integration
-
Explanatory module for J2SE 1.3 legacy integration context.
- net.jrodolfo.java_evolution.java03.shutdown_hooks - package net.jrodolfo.java_evolution.java03.shutdown_hooks
-
Executable examples for JVM shutdown hooks.
- net.jrodolfo.java_evolution.java04 - package net.jrodolfo.java_evolution.java04
-
Examples and notes for J2SE 1.4.
- net.jrodolfo.java_evolution.java04.assertions - package net.jrodolfo.java_evolution.java04.assertions
-
Executable examples for Java 4 assertions.
- net.jrodolfo.java_evolution.java04.preferences - package net.jrodolfo.java_evolution.java04.preferences
-
Explanatory module for the Preferences API.
- net.jrodolfo.java_evolution.java04.security - package net.jrodolfo.java_evolution.java04.security
-
Executable local examples for Java 4 integrated security APIs.
- net.jrodolfo.java_evolution.java04.xml - package net.jrodolfo.java_evolution.java04.xml
-
Executable examples for JAXP/XML support in Java 4.
- net.jrodolfo.java_evolution.java05 - package net.jrodolfo.java_evolution.java05
-
Examples for features introduced in Java 5.
- net.jrodolfo.java_evolution.java06 - package net.jrodolfo.java_evolution.java06
-
Examples and notes for features introduced in Java 6.
- net.jrodolfo.java_evolution.java06.compiler_api - package net.jrodolfo.java_evolution.java06.compiler_api
-
Executable examples for the Java 6 Compiler API.
- net.jrodolfo.java_evolution.java06.console_api - package net.jrodolfo.java_evolution.java06.console_api
-
Executable examples for the Java 6 Console API.
- net.jrodolfo.java_evolution.java06.monitoring_management - package net.jrodolfo.java_evolution.java06.monitoring_management
-
Executable examples for Java 6 monitoring and management improvements.
- net.jrodolfo.java_evolution.java06.scripting - package net.jrodolfo.java_evolution.java06.scripting
-
Executable examples for Java 6 scripting support.
- net.jrodolfo.java_evolution.java06.web_services - package net.jrodolfo.java_evolution.java06.web_services
-
Explanatory module for Java 6 web-service support.
- net.jrodolfo.java_evolution.java07 - package net.jrodolfo.java_evolution.java07
-
Examples and notes for features introduced in Java 7.
- net.jrodolfo.java_evolution.java07.invokedynamic - package net.jrodolfo.java_evolution.java07.invokedynamic
-
Executable linkage and bytecode-inspection example for Java 7
invokedynamicsupport. - net.jrodolfo.java_evolution.java08 - package net.jrodolfo.java_evolution.java08
-
Examples for features introduced in Java 8.
- net.jrodolfo.java_evolution.java09 - package net.jrodolfo.java_evolution.java09
-
Examples for features introduced in Java 9.
- net.jrodolfo.java_evolution.java09.module_system - package net.jrodolfo.java_evolution.java09.module_system
-
Executable examples for the Java 9 Java Platform Module System (JPMS).
- net.jrodolfo.java_evolution.java10 - package net.jrodolfo.java_evolution.java10
-
Examples for features introduced in Java 10.
- net.jrodolfo.java_evolution.java11 - package net.jrodolfo.java_evolution.java11
-
Examples for features introduced in Java 11.
- net.jrodolfo.java_evolution.java12 - package net.jrodolfo.java_evolution.java12
-
Examples for features introduced in Java 12.
- net.jrodolfo.java_evolution.java13 - package net.jrodolfo.java_evolution.java13
-
Examples for features introduced in Java 13.
- net.jrodolfo.java_evolution.java14 - package net.jrodolfo.java_evolution.java14
-
Examples for features introduced in Java 14.
- net.jrodolfo.java_evolution.java15 - package net.jrodolfo.java_evolution.java15
-
Examples for features introduced in Java 15.
- net.jrodolfo.java_evolution.java15.hidden_classes - package net.jrodolfo.java_evolution.java15.hidden_classes
-
Executable examples for Java 15 hidden classes.
- net.jrodolfo.java_evolution.java16 - package net.jrodolfo.java_evolution.java16
-
Examples for features introduced in Java 16.
- net.jrodolfo.java_evolution.java16.unix_domain_socket - package net.jrodolfo.java_evolution.java16.unix_domain_socket
-
Executable examples for Java 16 Unix-domain socket channels.
- net.jrodolfo.java_evolution.java17 - package net.jrodolfo.java_evolution.java17
-
Examples for features introduced in Java 17.
- net.jrodolfo.java_evolution.java17.strong_encapsulation - package net.jrodolfo.java_evolution.java17.strong_encapsulation
-
Executable child-JVM examples for Java 17 strong encapsulation of JDK internals.
- net.jrodolfo.java_evolution.java18 - package net.jrodolfo.java_evolution.java18
-
Examples for features introduced in Java 18.
- net.jrodolfo.java_evolution.java18.inet_address_resolution - package net.jrodolfo.java_evolution.java18.inet_address_resolution
-
Executable examples for the Java 18 Internet-Address Resolution SPI.
- net.jrodolfo.java_evolution.java18.javadoc_snippets - package net.jrodolfo.java_evolution.java18.javadoc_snippets
-
Executable examples for Java 18 JavaDoc code snippets.
- net.jrodolfo.java_evolution.java18.simple_web_server - package net.jrodolfo.java_evolution.java18.simple_web_server
-
Executable examples for the Java 18 Simple Web Server API.
- net.jrodolfo.java_evolution.java19 - package net.jrodolfo.java_evolution.java19
-
Examples for features introduced or previewed in Java 19.
- net.jrodolfo.java_evolution.java19.structured_concurrency - package net.jrodolfo.java_evolution.java19.structured_concurrency
-
Explains Java 19 structured concurrency as the first incubator release.
- net.jrodolfo.java_evolution.java20 - package net.jrodolfo.java_evolution.java20
-
Examples for features introduced or refined in Java 20.
- net.jrodolfo.java_evolution.java20.scoped_values - package net.jrodolfo.java_evolution.java20.scoped_values
-
Explains Java 20 scoped values as an incubating API.
- net.jrodolfo.java_evolution.java20.structured_concurrency - package net.jrodolfo.java_evolution.java20.structured_concurrency
-
Explains Java 20 structured concurrency as a second incubator feature.
- net.jrodolfo.java_evolution.java20.vector_api - package net.jrodolfo.java_evolution.java20.vector_api
-
Demonstrates the Java 20 Vector API fifth incubator.
- net.jrodolfo.java_evolution.java21 - package net.jrodolfo.java_evolution.java21
-
Examples for features introduced in Java 21.
- net.jrodolfo.java_evolution.java21.key_encapsulation - package net.jrodolfo.java_evolution.java21.key_encapsulation
-
Executable examples for the Java 21 Key Encapsulation Mechanism API.
- net.jrodolfo.java_evolution.java21.scoped_values - package net.jrodolfo.java_evolution.java21.scoped_values
-
Explains Java 21 Scoped Values as a first preview feature.
- net.jrodolfo.java_evolution.java21.structured_concurrency - package net.jrodolfo.java_evolution.java21.structured_concurrency
-
Explains Java 21 Structured Concurrency as a first preview feature.
- net.jrodolfo.java_evolution.java22 - package net.jrodolfo.java_evolution.java22
-
Examples for features introduced in Java 22.
- net.jrodolfo.java_evolution.java22.class_file_api - package net.jrodolfo.java_evolution.java22.class_file_api
-
Explains the Java 22 Class-File API as a preview feature.
- net.jrodolfo.java_evolution.java22.foreign_function - package net.jrodolfo.java_evolution.java22.foreign_function
-
Executable examples for the Java 22 Foreign Function and Memory API.
- net.jrodolfo.java_evolution.java22.launch_multi_file_source_programs - package net.jrodolfo.java_evolution.java22.launch_multi_file_source_programs
-
Executable examples for Java 22 multi-file source-program launcher support.
- net.jrodolfo.java_evolution.java22.scoped_values - package net.jrodolfo.java_evolution.java22.scoped_values
-
Explains Java 22 Scoped Values as a second preview feature.
- net.jrodolfo.java_evolution.java22.statements_before_super - package net.jrodolfo.java_evolution.java22.statements_before_super
-
Explains Java 22 statements before
super(...)as a preview feature. - net.jrodolfo.java_evolution.java22.stream_gatherers - package net.jrodolfo.java_evolution.java22.stream_gatherers
-
Explains Java 22 Stream Gatherers as a preview feature.
- net.jrodolfo.java_evolution.java22.structured_concurrency - package net.jrodolfo.java_evolution.java22.structured_concurrency
-
Explains Java 22 Structured Concurrency as a second preview feature.
- net.jrodolfo.java_evolution.java23 - package net.jrodolfo.java_evolution.java23
-
Examples and notes for features introduced in Java 23.
- net.jrodolfo.java_evolution.java23.class_file_api - package net.jrodolfo.java_evolution.java23.class_file_api
-
Explains Java 23 Class-File API as a second preview feature.
- net.jrodolfo.java_evolution.java23.flexible_constructor_bodies - package net.jrodolfo.java_evolution.java23.flexible_constructor_bodies
-
Explains Java 23 flexible constructor bodies as a second preview feature.
- net.jrodolfo.java_evolution.java23.markdown_documentation_comments - package net.jrodolfo.java_evolution.java23.markdown_documentation_comments
-
Executable examples for Java 23 Markdown documentation comments.
- net.jrodolfo.java_evolution.java23.module_import_declarations - package net.jrodolfo.java_evolution.java23.module_import_declarations
-
Explains Java 23 module import declarations as a preview feature.
- net.jrodolfo.java_evolution.java23.primitive_patterns - package net.jrodolfo.java_evolution.java23.primitive_patterns
-
Explains Java 23 primitive patterns as a preview feature.
- net.jrodolfo.java_evolution.java23.scoped_values - package net.jrodolfo.java_evolution.java23.scoped_values
-
Explains Java 23 Scoped Values as a third preview feature.
- net.jrodolfo.java_evolution.java23.stream_gatherers - package net.jrodolfo.java_evolution.java23.stream_gatherers
-
Explains Java 23 Stream Gatherers as a second preview feature.
- net.jrodolfo.java_evolution.java23.structured_concurrency - package net.jrodolfo.java_evolution.java23.structured_concurrency
-
Explains Structured Concurrency as a Java 23 third preview feature.
- net.jrodolfo.java_evolution.java23.unsafe_memory_access_deprecation - package net.jrodolfo.java_evolution.java23.unsafe_memory_access_deprecation
-
Executable migration-boundary example for Java 23 deprecation of
sun.misc.Unsafememory-access methods for removal. - net.jrodolfo.java_evolution.java23.zgc_generational_mode - package net.jrodolfo.java_evolution.java23.zgc_generational_mode
-
Executable runtime-boundary example for Java 23 ZGC generational mode by default.
- net.jrodolfo.java_evolution.java24 - package net.jrodolfo.java_evolution.java24
-
Examples and notes for features introduced in Java 24.
- net.jrodolfo.java_evolution.java24.aot_class_loading - package net.jrodolfo.java_evolution.java24.aot_class_loading
-
Demonstrates Java 24 ahead-of-time class loading and linking.
- net.jrodolfo.java_evolution.java24.class_file - package net.jrodolfo.java_evolution.java24.class_file
-
Executable examples for the Java 24 Class-File API.
- net.jrodolfo.java_evolution.java24.flexible_constructor_bodies - package net.jrodolfo.java_evolution.java24.flexible_constructor_bodies
-
Explains flexible constructor bodies as a Java 24 third preview feature.
- net.jrodolfo.java_evolution.java24.key_derivation - package net.jrodolfo.java_evolution.java24.key_derivation
-
Explains the Key Derivation Function API as a Java 24 preview feature.
- net.jrodolfo.java_evolution.java24.module_import_declarations - package net.jrodolfo.java_evolution.java24.module_import_declarations
-
Explains module import declarations as a Java 24 second preview feature.
- net.jrodolfo.java_evolution.java24.primitive_patterns - package net.jrodolfo.java_evolution.java24.primitive_patterns
-
Explains primitive patterns as a Java 24 second preview feature.
- net.jrodolfo.java_evolution.java24.quantum_resistant_crypto - package net.jrodolfo.java_evolution.java24.quantum_resistant_crypto
-
Executable examples for Java 24 quantum-resistant cryptography.
- net.jrodolfo.java_evolution.java24.scoped_values - package net.jrodolfo.java_evolution.java24.scoped_values
-
Explains Scoped Values as a Java 24 fourth preview feature.
- net.jrodolfo.java_evolution.java24.security_manager_disabled - package net.jrodolfo.java_evolution.java24.security_manager_disabled
-
Executable examples for Java 24 permanently disabling the Security Manager.
- net.jrodolfo.java_evolution.java24.structured_concurrency - package net.jrodolfo.java_evolution.java24.structured_concurrency
-
Explains Structured Concurrency as a Java 24 fourth preview feature.
- net.jrodolfo.java_evolution.java24.virtual_thread_synchronization - package net.jrodolfo.java_evolution.java24.virtual_thread_synchronization
-
Demonstrates Java 24 virtual-thread synchronization improvements.
- net.jrodolfo.java_evolution.java25 - package net.jrodolfo.java_evolution.java25
-
Examples and notes for features introduced in Java 25.
- net.jrodolfo.java_evolution.java25.aot_command_line - package net.jrodolfo.java_evolution.java25.aot_command_line
-
Demonstrates Java 25 Ahead-of-Time command-line ergonomics.
- net.jrodolfo.java_evolution.java25.compact_object_headers - package net.jrodolfo.java_evolution.java25.compact_object_headers
-
Demonstrates the Java 25 Compact Object Headers runtime option.
- net.jrodolfo.java_evolution.java25.generational_shenandoah - package net.jrodolfo.java_evolution.java25.generational_shenandoah
-
Explains Java 25 Generational Shenandoah.
- net.jrodolfo.java_evolution.java25.jfr_enhancements - package net.jrodolfo.java_evolution.java25.jfr_enhancements
-
Demonstrates Java 25 Java Flight Recorder method timing and tracing.
- net.jrodolfo.java_evolution.java25.key_derivation - package net.jrodolfo.java_evolution.java25.key_derivation
-
Executable examples for the Java 25 Key Derivation Function API.
- net.jrodolfo.java_evolution.java25.scoped_values - package net.jrodolfo.java_evolution.java25.scoped_values
-
Examples for Java 25 Scoped Values.
- net.jrodolfo.java_evolution.java25.stable_values - package net.jrodolfo.java_evolution.java25.stable_values
-
Executable learning module for Java 25 Stable Values.
- net.jrodolfo.java_evolution.java25.structured_concurrency - package net.jrodolfo.java_evolution.java25.structured_concurrency
-
Executable learning module for Java 25 Structured Concurrency.
- net.jrodolfo.java_evolution.java25.vector_api - package net.jrodolfo.java_evolution.java25.vector_api
-
Demonstrates Java 25 Vector API concepts as an executable learning module.
- net.jrodolfo.java_evolution.java26 - package net.jrodolfo.java_evolution.java26
-
Examples and explanatory notes for features introduced in Java 26.
- net.jrodolfo.java_evolution.java26.aot_object_caching - package net.jrodolfo.java_evolution.java26.aot_object_caching
-
Executable child-JVM example for Java 26 ahead-of-time object caching with any garbage collector.
- net.jrodolfo.java_evolution.java26.applet_api_removal - package net.jrodolfo.java_evolution.java26.applet_api_removal
-
Executable removal example for the Applet API in Java 26.
- net.jrodolfo.java_evolution.java26.final_field_restrictions - package net.jrodolfo.java_evolution.java26.final_field_restrictions
-
Executable child-JVM example for Java 26 final-field mutation warnings.
- net.jrodolfo.java_evolution.java26.g1_synchronization - package net.jrodolfo.java_evolution.java26.g1_synchronization
-
Notes for Java 26 G1 synchronization reductions.
- net.jrodolfo.java_evolution.java26.lazy_constants - package net.jrodolfo.java_evolution.java26.lazy_constants
-
Executable example for the Java 26 Lazy Constants second preview.
- net.jrodolfo.java_evolution.java26.structured_concurrency - package net.jrodolfo.java_evolution.java26.structured_concurrency
-
Executable example for the Java 26 structured concurrency sixth preview.
- net.jrodolfo.java_evolution.java26.vector_api - package net.jrodolfo.java_evolution.java26.vector_api
-
Executable notes for Java 26 Vector API eleventh incubator.
- net.jrodolfo.java_evolution.java27 - package net.jrodolfo.java_evolution.java27
-
Examples and explanatory notes for features introduced or continued in Java 27.
- net.jrodolfo.java_evolution.java27.compact_object_headers - package net.jrodolfo.java_evolution.java27.compact_object_headers
-
Executable probe for Java 27 HotSpot Compact Object Headers defaults.
- net.jrodolfo.java_evolution.java27.g1_default - package net.jrodolfo.java_evolution.java27.g1_default
-
Notes and a child-JVM probe for the Java 27 HotSpot G1 default collector.
- net.jrodolfo.java_evolution.java27.jfr_data_redaction - package net.jrodolfo.java_evolution.java27.jfr_data_redaction
-
Executable probe for Java 27 JFR in-process redaction-option availability.
- net.jrodolfo.java_evolution.java27.lazy_constants - package net.jrodolfo.java_evolution.java27.lazy_constants
-
Executable child-JVM example for the Java 27 Lazy Constants third preview.
- net.jrodolfo.java_evolution.java27.pem_encodings - package net.jrodolfo.java_evolution.java27.pem_encodings
-
Executable child-JVM example for the Java 27 PEM Encodings third preview.
- net.jrodolfo.java_evolution.java27.primitive_patterns - package net.jrodolfo.java_evolution.java27.primitive_patterns
-
Executable child-JVM example for the Java 27 Primitive Patterns fifth preview.
- net.jrodolfo.java_evolution.java27.structured_concurrency - package net.jrodolfo.java_evolution.java27.structured_concurrency
-
Executable child-JVM example for the Java 27 Structured Concurrency seventh preview.
- net.jrodolfo.java_evolution.java27.tls_hybrid_key_exchange - package net.jrodolfo.java_evolution.java27.tls_hybrid_key_exchange
-
Executable configuration example for Java 27 post-quantum hybrid TLS key exchange.
- net.jrodolfo.java_evolution.java27.vector_api - package net.jrodolfo.java_evolution.java27.vector_api
-
Notes for the Java 27 Vector API twelfth incubator.
- nextStep() - Method in class net.jrodolfo.java_evolution.java19.ForeignFunctionMemoryApiPreviewNotes
-
Points learners to the executable final API module.
- nextStep() - Method in class net.jrodolfo.java_evolution.java19.structured_concurrency.StructuredConcurrencyPreviewNotes
-
Points learners to the next step.
- nextStep() - Method in class net.jrodolfo.java_evolution.java20.scoped_values.ScopedValuesIncubatorNotes
-
Points learners to the later final API example.
- nextStep() - Method in class net.jrodolfo.java_evolution.java20.structured_concurrency.StructuredConcurrencySecondIncubatorNotes
-
Points learners to the later preview module.
- nextStep() - Method in class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples
-
Points learners to the later Vector API module.
- nextStep() - Method in class net.jrodolfo.java_evolution.java21.scoped_values.ScopedValuesPreviewNotes
-
Points learners to the final Java 25 module.
- nextStep() - Method in class net.jrodolfo.java_evolution.java21.structured_concurrency.StructuredConcurrencyPreviewNotes
-
Points learners to the later Java 25 module.
- nextStep() - Method in class net.jrodolfo.java_evolution.java22.class_file_api.ClassFileApiPreviewNotes
-
Points learners to the final Java 24 module.
- nextStep() - Method in class net.jrodolfo.java_evolution.java22.scoped_values.ScopedValuesSecondPreviewNotes
-
Points learners to the final Java 25 module.
- nextStep() - Method in class net.jrodolfo.java_evolution.java22.statements_before_super.StatementsBeforeSuperPreviewNotes
-
Points learners to the final Java 25 example.
- nextStep() - Method in class net.jrodolfo.java_evolution.java22.stream_gatherers.StreamGatherersPreviewNotes
-
Points learners to the final Java 24 example.
- nextStep() - Method in class net.jrodolfo.java_evolution.java22.structured_concurrency.StructuredConcurrencySecondPreviewNotes
-
Points learners to the later Java 25 preview module.
- nextStep() - Method in class net.jrodolfo.java_evolution.java23.class_file_api.ClassFileApiSecondPreviewNotes
-
Points learners to the final Java 24 example.
- nextStep() - Method in class net.jrodolfo.java_evolution.java23.flexible_constructor_bodies.FlexibleConstructorBodiesSecondPreviewNotes
-
Points learners to the final Java 25 example.
- nextStep() - Method in class net.jrodolfo.java_evolution.java23.module_import_declarations.ModuleImportDeclarationsPreviewNotes
-
Points learners to the final Java 25 notes.
- nextStep() - Method in class net.jrodolfo.java_evolution.java23.primitive_patterns.PrimitivePatternsPreviewNotes
-
Points learners to the next previews in this repository.
- nextStep() - Method in class net.jrodolfo.java_evolution.java23.scoped_values.ScopedValuesThirdPreviewNotes
-
Points learners to the next preview module and then the later Java 25 module.
- nextStep() - Method in class net.jrodolfo.java_evolution.java23.stream_gatherers.StreamGatherersSecondPreviewNotes
-
Points learners to the final Java 24 example.
- nextStep() - Method in class net.jrodolfo.java_evolution.java23.structured_concurrency.StructuredConcurrencyThirdPreviewNotes
-
Points learners to the next preview module in the release sequence.
- nextStep() - Method in class net.jrodolfo.java_evolution.java24.flexible_constructor_bodies.FlexibleConstructorBodiesThirdPreviewNotes
-
Points learners to the final Java 25 example.
- nextStep() - Method in class net.jrodolfo.java_evolution.java24.key_derivation.KeyDerivationFunctionPreviewNotes
-
Points learners to the final runnable version.
- nextStep() - Method in class net.jrodolfo.java_evolution.java24.module_import_declarations.ModuleImportDeclarationsSecondPreviewNotes
-
Points learners to the final Java 25 notes.
- nextStep() - Method in class net.jrodolfo.java_evolution.java24.primitive_patterns.PrimitivePatternsSecondPreviewNotes
-
Points learners to the next preview.
- nextStep() - Method in class net.jrodolfo.java_evolution.java24.scoped_values.ScopedValuesFourthPreviewNotes
-
Points learners to the final Java 25 module.
- nextStep() - Method in class net.jrodolfo.java_evolution.java24.structured_concurrency.StructuredConcurrencyFourthPreviewNotes
-
Points learners to the next preview module.
- Nio2Examples - Class in net.jrodolfo.java_evolution.java07
-
Demonstrates NIO.2 filesystem APIs introduced in Java 7.
- Nio2Examples() - Constructor for class net.jrodolfo.java_evolution.java07.Nio2Examples
- NioExamples - Class in net.jrodolfo.java_evolution.java04
-
Demonstrates Java 4 NIO buffers and channels.
- NioExamples() - Constructor for class net.jrodolfo.java_evolution.java04.NioExamples
- nonBlankValues(List) - Method in class net.jrodolfo.java_evolution.java11.PredicateNotExamples
-
Removes blank strings with
Predicate.not(String::isBlank). - NONE - Enum constant in enum class net.jrodolfo.java_evolution.java07.ExceptionHandlingExamples.FailureMode
- NORMAL - Enum constant in enum class net.jrodolfo.java_evolution.java05.EnumExamples.Priority
- normalizedNames(List) - Method in class net.jrodolfo.java_evolution.java16.StreamToListExamples
-
Collects stream results directly with
toList(). - normalizedPositiveDifference(int, int) - Method in class net.jrodolfo.java_evolution.java08.LambdaExamples
-
Uses a multi-statement lambda body.
- normalizeEmail(OptionalExamples.User) - Method in class net.jrodolfo.java_evolution.java08.OptionalExamples
-
Transforms and validates a value while it is inside an Optional.
- normalizeNames(List) - Method in class net.jrodolfo.java_evolution.java11.LambdaVarExamples
-
Uses
varfor an inferred lambda parameter. - normalizeTitle(String) - Method in class net.jrodolfo.java_evolution.java18.javadoc_snippets.JavaDocSnippetExamples
-
Normalizes a short title for display in documentation.
- normalizeUsername(String) - Method in class net.jrodolfo.java_evolution.java04.assertions.AssertionExamples
-
Uses ordinary validation for public input.
- numbersBeforeTen(List) - Method in class net.jrodolfo.java_evolution.java09.StreamEnhancementExamples
-
Uses
Stream.takeWhile(java.util.function.Predicate)to keep values only until the first value that does not match. - numbersFromTenOnward(List) - Method in class net.jrodolfo.java_evolution.java09.StreamEnhancementExamples
-
Uses
Stream.dropWhile(java.util.function.Predicate)to skip values until the first value that does not match. - NumberSummary(long, DoubleSummaryStatistics) - Constructor for class net.jrodolfo.java_evolution.java12.TeeingCollectorExamples.NumberSummary
-
Creates a summary from the two downstream collectors used by
teeing. - NumericLiteralExamples - Class in net.jrodolfo.java_evolution.java07
-
Demonstrates binary literals and underscores in numeric literals, introduced in Java 7.
- NumericLiteralExamples() - Constructor for class net.jrodolfo.java_evolution.java07.NumericLiteralExamples
O
- ObjectOrientedBasicsExamples - Class in net.jrodolfo.java_evolution.java01
-
Refreshes early Java object-oriented basics: classes, objects, inheritance, overriding, and encapsulation.
- ObjectOrientedBasicsExamples() - Constructor for class net.jrodolfo.java_evolution.java01.ObjectOrientedBasicsExamples
- observeReversedView() - Method in class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples
-
Observes that a reversed view is backed by its original collection.
- officialStatus() - Method in class net.jrodolfo.java_evolution.java19.structured_concurrency.StructuredConcurrencyPreviewNotes
-
Clarifies the official Java 19 status.
- oldApproach() - Method in class net.jrodolfo.java_evolution.java24.scoped_values.ScopedValuesFourthPreviewNotes
-
Names the common older approach.
- oldApproachProblem() - Method in class net.jrodolfo.java_evolution.java19.structured_concurrency.StructuredConcurrencyPreviewNotes
-
Explains why manual coordination is difficult.
- oldApproachProblem() - Method in class net.jrodolfo.java_evolution.java20.ForeignFunctionMemorySecondPreviewNotes
-
Explains the older mechanism that motivated the API.
- oldApproachProblem() - Method in class net.jrodolfo.java_evolution.java20.structured_concurrency.StructuredConcurrencySecondIncubatorNotes
-
Explains why manual coordination is difficult.
- oldApproachProblem() - Method in class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples
-
Explains the common older approach.
- oldApproachProblem() - Method in class net.jrodolfo.java_evolution.java21.structured_concurrency.StructuredConcurrencyPreviewNotes
-
Explains the common older approach and its risks.
- oldConstructorRule() - Method in class net.jrodolfo.java_evolution.java24.flexible_constructor_bodies.FlexibleConstructorBodiesThirdPreviewNotes
-
Explains the older constructor restriction.
- olderImportModel() - Method in class net.jrodolfo.java_evolution.java23.module_import_declarations.ModuleImportDeclarationsPreviewNotes
-
Explains the older import model.
- olderImportModel() - Method in class net.jrodolfo.java_evolution.java24.module_import_declarations.ModuleImportDeclarationsSecondPreviewNotes
-
Explains the older import model.
- olderModel() - Method in class net.jrodolfo.java_evolution.java24.primitive_patterns.PrimitivePatternsSecondPreviewNotes
-
Explains the older mental split.
- oldGenerationalSwitchStatus() - Method in class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples
-
Captures the status of the old
ZGenerationalswitch in Java 24+. - oldModel() - Method in class net.jrodolfo.java_evolution.java24.security_manager_disabled.SecurityManagerDisabledExamples
- oldRule() - Method in class net.jrodolfo.java_evolution.java22.statements_before_super.StatementsBeforeSuperPreviewNotes
-
Explains the old constructor rule.
- openConnection(String) - Method in class net.jrodolfo.java_evolution.java01.jdbc.JdbcExamples
-
Opens a connection through the small driver-manager model.
- option() - Method in class net.jrodolfo.java_evolution.java25.generational_shenandoah.GenerationalShenandoahNotes
- OptionalEnhancementExamples - Class in net.jrodolfo.java_evolution.java09
-
Demonstrates
Optionalmethods added in Java 9. - OptionalEnhancementExamples() - Constructor for class net.jrodolfo.java_evolution.java09.OptionalEnhancementExamples
- OptionalExamples - Class in net.jrodolfo.java_evolution.java08
-
Demonstrates
Optional, introduced in Java 8 as a container for values that may be absent. - OptionalExamples() - Constructor for class net.jrodolfo.java_evolution.java08.OptionalExamples
- OptionalExamples.User - Class in net.jrodolfo.java_evolution.java08
-
Small Java 8-style data class used by the Optional examples.
- OptionalIsEmptyExamples - Class in net.jrodolfo.java_evolution.java11
-
Demonstrates
Optional.isEmpty(), introduced in Java 11. - OptionalIsEmptyExamples() - Constructor for class net.jrodolfo.java_evolution.java11.OptionalIsEmptyExamples
- OptionalOrElseThrowExamples - Class in net.jrodolfo.java_evolution.java10
-
Demonstrates the no-argument
Optional.orElseThrow()method added in Java 10. - OptionalOrElseThrowExamples() - Constructor for class net.jrodolfo.java_evolution.java10.OptionalOrElseThrowExamples
- orderedNames() - Method in class net.jrodolfo.java_evolution.java02.CollectionsFrameworkExamples
-
Uses a
Listwhen duplicates and insertion order matter. - original() - Method in record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.SequenceViewSummary
-
Returns the value of the
originalrecord component. - output() - Method in class net.jrodolfo.java_evolution.java02.strict_floating_point.StrictFloatingPointExamples.CompilationResult
- output() - Method in class net.jrodolfo.java_evolution.java06.scripting.ScriptingSupportExamples.CommandResult
- output() - Method in class net.jrodolfo.java_evolution.java09.module_system.ModuleSystemExamples.CommandResult
- output() - Method in class net.jrodolfo.java_evolution.java17.strong_encapsulation.StrongEncapsulationExamples.CommandResult
- output() - Method in class net.jrodolfo.java_evolution.java18.inet_address_resolution.InetAddressResolutionExamples.CommandResult
- output() - Method in record class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples.CommandResult
-
Returns the value of the
outputrecord component. - output() - Method in record class net.jrodolfo.java_evolution.java22.launch_multi_file_source_programs.LaunchMultiFileSourceProgramsExamples.LaunchResult
-
Returns the value of the
outputrecord component. - output() - Method in record class net.jrodolfo.java_evolution.java23.markdown_documentation_comments.MarkdownDocumentationCommentsExamples.JavaDocResult
-
Returns the value of the
outputrecord component. - output() - Method in record class net.jrodolfo.java_evolution.java23.unsafe_memory_access_deprecation.UnsafeMemoryAccessDeprecationExamples.ProcessResult
-
Returns the value of the
outputrecord component. - output() - Method in record class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples.ProcessResult
-
Returns the value of the
outputrecord component. - output() - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.CommandResult
-
Returns the value of the
outputrecord component. - output() - Method in class net.jrodolfo.java_evolution.java24.security_manager_disabled.SecurityManagerDisabledExamples.CommandResult
- output() - Method in class net.jrodolfo.java_evolution.java24.virtual_thread_synchronization.VirtualThreadSynchronizationExamples.CommandResult
- output() - Method in record class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples.CommandResult
-
Returns the value of the
outputrecord component. - output() - Method in class net.jrodolfo.java_evolution.java25.CompactSourceFilesExamples.LaunchResult
- output() - Method in record class net.jrodolfo.java_evolution.java25.generational_shenandoah.GenerationalShenandoahNotes.ProcessResult
-
Returns the value of the
outputrecord component. - output() - Method in class net.jrodolfo.java_evolution.java25.ModuleImportDeclarationsExamples.CommandResult
- output() - Method in record class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples.CommandResult
-
Returns the value of the
outputrecord component. - output() - Method in record class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples.CommandResult
-
Returns the value of the
outputrecord component. - output() - Method in record class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples.CommandResult
-
Returns the value of the
outputrecord component. - output() - Method in record class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples.CommandResult
-
Returns the value of the
outputrecord component. - output() - Method in record class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples.CommandResult
-
Returns the value of the
outputrecord component. - output() - Method in record class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples.CommandResult
-
Returns the value of the
outputrecord component. - output() - Method in record class net.jrodolfo.java_evolution.java26.applet_api_removal.AppletApiRemovalExamples.CompilationResult
-
Returns the value of the
outputrecord component. - output() - Method in record class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples.CommandResult
-
Returns the value of the
outputrecord component. - output() - Method in record class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples.CommandResult
-
Returns the value of the
outputrecord component. - output() - Method in record class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples.CommandResult
-
Returns the value of the
outputrecord component. - output() - Method in record class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples.CommandResult
-
Returns the value of the
outputrecord component. - output() - Method in record class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples.CommandResult
-
Returns the value of the
outputrecord component. - output() - Method in record class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes.CommandResult
-
Returns the value of the
outputrecord component. - output() - Method in record class net.jrodolfo.java_evolution.java27.Java27ChildProcess.Result
-
Returns the value of the
outputrecord component. - owner() - Method in class net.jrodolfo.java_evolution.java01.serialization.SerializationExamples.ProjectSnapshot
- owner() - Method in class net.jrodolfo.java_evolution.java25.FlexibleConstructorBodiesExamples.Account
-
Returns the normalized account owner.
P
- packaging() - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.AotClassLoadingWorkflowResult
-
Returns the value of the
packagingrecord component. - parallelSum(int[]) - Method in class net.jrodolfo.java_evolution.java07.ForkJoinExamples
-
Sums numbers by recursively splitting the range into subtasks.
- parentProcess() - Method in class net.jrodolfo.java_evolution.java09.ProcessApiExamples
-
Reads the parent process when one is visible to the JVM.
- parseBrazilianDate(String) - Method in class net.jrodolfo.java_evolution.java08.DateTimeApiExamples
-
Parses a date using an explicit formatter.
- parseDocument(String) - Method in class net.jrodolfo.java_evolution.java04.xml.JaxpExamples
-
Parses trusted XML text into a DOM document.
- parseInteger(String) - Method in class net.jrodolfo.java_evolution.java22.foreign_function.NativeStringParser
-
Parses an integer by calling native
atoi. - parseNumbers(List) - Method in class net.jrodolfo.java_evolution.java08.MethodReferenceExamples
-
Uses a static method reference.
- passwordGuidance() - Method in class net.jrodolfo.java_evolution.java06.console_api.ConsoleApiExamples
- PatternMatchingInstanceofExamples - Class in net.jrodolfo.java_evolution.java16
-
Demonstrates pattern matching for
instanceof, finalized in Java 16. - PatternMatchingInstanceofExamples() - Constructor for class net.jrodolfo.java_evolution.java16.PatternMatchingInstanceofExamples
- PatternMatchingInstanceofPreviewExamples - Class in net.jrodolfo.java_evolution.java14
-
Demonstrates pattern matching for
instanceofas a Java 14 preview feature. - PatternMatchingInstanceofPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java14.PatternMatchingInstanceofPreviewExamples
- PatternMatchingSwitchExamples - Class in net.jrodolfo.java_evolution.java21
-
Demonstrates pattern matching for switch, finalized in Java 21.
- PatternMatchingSwitchExamples() - Constructor for class net.jrodolfo.java_evolution.java21.PatternMatchingSwitchExamples
- PatternMatchingSwitchExamples.Command - Interface in net.jrodolfo.java_evolution.java21
-
Closed command hierarchy used to demonstrate exhaustive switch handling.
- PatternMatchingSwitchExamples.Restart - Record Class in net.jrodolfo.java_evolution.java21
-
Restarts a service.
- PatternMatchingSwitchExamples.Start - Record Class in net.jrodolfo.java_evolution.java21
-
Starts a service.
- PatternMatchingSwitchExamples.Stop - Record Class in net.jrodolfo.java_evolution.java21
-
Stops a service.
- PatternMatchingSwitchFourthPreviewExamples - Class in net.jrodolfo.java_evolution.java20
-
Demonstrates pattern matching for switch as refined in the Java 20 fourth preview.
- PatternMatchingSwitchFourthPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java20.PatternMatchingSwitchFourthPreviewExamples
- PatternMatchingSwitchPreviewExamples - Class in net.jrodolfo.java_evolution.java17
-
Demonstrates pattern matching for
switchas a Java 17 preview feature. - PatternMatchingSwitchPreviewExamples - Class in net.jrodolfo.java_evolution.java19
-
Demonstrates the continued preview of pattern matching for switch in Java 19.
- PatternMatchingSwitchPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java17.PatternMatchingSwitchPreviewExamples
- PatternMatchingSwitchPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java19.PatternMatchingSwitchPreviewExamples
- PatternMatchingSwitchPreviewExamples.Event - Interface in net.jrodolfo.java_evolution.java19
-
Closed event hierarchy used to demonstrate exhaustive switch handling.
- PatternMatchingSwitchPreviewExamples.Login - Record Class in net.jrodolfo.java_evolution.java19
-
Event representing a user login.
- PatternMatchingSwitchPreviewExamples.Logout - Record Class in net.jrodolfo.java_evolution.java19
-
Event representing a user logout.
- PemEncodingsPreviewExamples - Class in net.jrodolfo.java_evolution.java25
-
Demonstrates Java 25 PEM encodings of cryptographic objects, previewed by JEP 470.
- PemEncodingsPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples
- PemEncodingsPreviewExamples.CommandResult - Record Class in net.jrodolfo.java_evolution.java25
-
Result from one child process invocation.
- PemEncodingsPreviewExamples.PemWorkflowResult - Record Class in net.jrodolfo.java_evolution.java25
-
Result from compiling and running the generated preview source.
- PemEncodingsSecondPreviewExamples - Class in net.jrodolfo.java_evolution.java26
-
Demonstrates the second preview of PEM encodings of cryptographic objects from JEP 524.
- PemEncodingsSecondPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples
- PemEncodingsSecondPreviewExamples.CommandResult - Record Class in net.jrodolfo.java_evolution.java26
-
Result from one child process invocation.
- PemEncodingsSecondPreviewExamples.PemWorkflowResult - Record Class in net.jrodolfo.java_evolution.java26
-
Result from compiling and running the generated preview source.
- PemEncodingsThirdPreviewExamples - Class in net.jrodolfo.java_evolution.java27.pem_encodings
-
Demonstrates the third preview of PEM encodings from JEP 538.
- PemEncodingsThirdPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java27.pem_encodings.PemEncodingsThirdPreviewExamples
- PemWorkflowResult(Path, Path, PemEncodingsPreviewExamples.CommandResult, PemEncodingsPreviewExamples.CommandResult) - Constructor for record class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples.PemWorkflowResult
-
Creates an instance of a
PemWorkflowResultrecord class. - PemWorkflowResult(Path, Path, PemEncodingsSecondPreviewExamples.CommandResult, PemEncodingsSecondPreviewExamples.CommandResult) - Constructor for record class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples.PemWorkflowResult
-
Creates an instance of a
PemWorkflowResultrecord class. - periodBetween(LocalDate, LocalDate) - Method in class net.jrodolfo.java_evolution.java08.DateTimeApiExamples
-
Calculates a date-based amount of time with
Period. - permissionExamples() - Method in class net.jrodolfo.java_evolution.java24.security_manager_disabled.SecurityManagerDisabledExamples
- permittedShapeNames() - Method in class net.jrodolfo.java_evolution.java15.SealedClassesPreviewExamples
-
Lists the classes explicitly permitted by the sealed
SealedClassesPreviewExamples.Shapeparent. - permittedShapeNames() - Method in class net.jrodolfo.java_evolution.java17.SealedClassesExamples
-
Lists the direct subtypes explicitly permitted by the sealed
SealedClassesExamples.Shapeparent. - pid() - Method in class net.jrodolfo.java_evolution.java09.ProcessApiExamples.CurrentProcessSummary
- pinning() - Method in class net.jrodolfo.java_evolution.java24.virtual_thread_synchronization.VirtualThreadSynchronizationExamples
-
Defines the runtime problem.
- pixelColor(BufferedImage, int, int) - Method in class net.jrodolfo.java_evolution.java02.java2d.Java2DExamples
-
Reads the color written to a pixel.
- PlatformFeature(int) - Constructor for class net.jrodolfo.java_evolution.java05.GenericsExamples.PlatformFeature
- platformReason() - Method in class net.jrodolfo.java_evolution.java22.class_file_api.ClassFileApiPreviewNotes
-
Explains why the API belongs in the JDK.
- platformReason() - Method in class net.jrodolfo.java_evolution.java23.class_file_api.ClassFileApiSecondPreviewNotes
-
Explains why a JDK API is useful.
- PluginCommand(String) - Constructor for class net.jrodolfo.java_evolution.java01.reflection.ReflectionExamples.PluginCommand
- Point(int, int) - Constructor for record class net.jrodolfo.java_evolution.java19.RecordPatternsPreviewExamples.Point
-
Creates an instance of a
Pointrecord class. - Point(int, int) - Constructor for record class net.jrodolfo.java_evolution.java21.RecordPatternsExamples.Point
-
Creates an instance of a
Pointrecord class. - Point(int, int) - Constructor for record class net.jrodolfo.java_evolution.java21.UnnamedPatternsVariablesPreviewExamples.Point
-
Creates an instance of a
Pointrecord class. - port() - Method in class net.jrodolfo.java_evolution.java18.simple_web_server.SimpleStaticFileServer
-
Returns the selected local port.
- postJsonRequest(URI, String) - Method in class net.jrodolfo.java_evolution.java11.HttpClientExamples
-
Builds a POST request with a String body.
- PostQuantumHybridKeyExchangeExamples - Class in net.jrodolfo.java_evolution.java27.tls_hybrid_key_exchange
-
Demonstrates Java 27's post-quantum hybrid TLS named-group configuration.
- PostQuantumHybridKeyExchangeExamples() - Constructor for class net.jrodolfo.java_evolution.java27.tls_hybrid_key_exchange.PostQuantumHybridKeyExchangeExamples
- powersOfTwoBelowOneHundred() - Method in class net.jrodolfo.java_evolution.java09.StreamEnhancementExamples
-
Uses the Java 9 bounded form of
Stream.iterate(Object, java.util.function.Predicate, java.util.function.UnaryOperator). - PredicateNotExamples - Class in net.jrodolfo.java_evolution.java11
-
Demonstrates
Predicate.not(Predicate), introduced in Java 11. - PredicateNotExamples() - Constructor for class net.jrodolfo.java_evolution.java11.PredicateNotExamples
- PreferencesNotes - Class in net.jrodolfo.java_evolution.java04.preferences
-
Explains the Preferences API.
- PreferencesNotes() - Constructor for class net.jrodolfo.java_evolution.java04.preferences.PreferencesNotes
- preferredEmail(Optional, Optional) - Method in class net.jrodolfo.java_evolution.java09.OptionalEnhancementExamples
-
Uses
Optional.or(java.util.function.Supplier)to try a fallback Optional only when the primary Optional is empty. - presentValues(List) - Method in class net.jrodolfo.java_evolution.java09.OptionalEnhancementExamples
-
Uses
Optional.stream()to flatten Optionals into a stream pipeline. - preview() - Method in record class net.jrodolfo.java_evolution.java14.RecordPreviewExamples.Feature
-
Returns the value of the
previewrecord component. - previewBoundary() - Method in class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples
-
Explains why this example uses a child process.
- previewBoundary() - Method in class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples
-
Explains why this example uses a child process.
- previewBoundary() - Method in class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples
-
Explains why this example uses a child process.
- previewBoundary() - Method in class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples
-
Explains why this example uses a child process.
- previewBoundary() - Method in class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples
-
Explains why the preview API runs in a child process.
- previewBoundary() - Method in class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples
-
Explains why the preview API runs in a child process.
- previewBoundary() - Method in class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples
-
Explains why this example uses a child process.
- previewBoundary() - Method in class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples
-
Explains why the preview API runs in a child process.
- previewIdea() - Method in class net.jrodolfo.java_evolution.java21.scoped_values.ScopedValuesPreviewNotes
-
Explains the preview idea.
- previewIdea() - Method in class net.jrodolfo.java_evolution.java21.structured_concurrency.StructuredConcurrencyPreviewNotes
-
Explains the preview mental model.
- previewLines(List, int) - Method in class net.jrodolfo.java_evolution.java18.javadoc_snippets.JavaDocSnippetExamples
-
Returns a small preview from a larger list.
- previewStatus() - Method in class net.jrodolfo.java_evolution.java22.class_file_api.ClassFileApiPreviewNotes
-
Explains the preview status.
- previewStatus() - Method in class net.jrodolfo.java_evolution.java22.stream_gatherers.StreamGatherersPreviewNotes
-
Explains the preview status.
- previewStatus() - Method in class net.jrodolfo.java_evolution.java24.key_derivation.KeyDerivationFunctionPreviewNotes
-
Describes the feature status across releases.
- previewStep() - Method in class net.jrodolfo.java_evolution.java20.VirtualThreadsSecondPreviewNotes
-
Explains why Java 20 still matters in the feature history.
- previewStep() - Method in class net.jrodolfo.java_evolution.java23.structured_concurrency.StructuredConcurrencyThirdPreviewNotes
-
Explains why Java 23 keeps this entry as a bridge note.
- previewStep() - Method in class net.jrodolfo.java_evolution.java24.flexible_constructor_bodies.FlexibleConstructorBodiesThirdPreviewNotes
-
Explains why Java 24 keeps this entry as a bridge note.
- previewStep() - Method in class net.jrodolfo.java_evolution.java24.module_import_declarations.ModuleImportDeclarationsSecondPreviewNotes
-
Explains why Java 24 keeps this entry as a bridge note.
- previewStep() - Method in class net.jrodolfo.java_evolution.java24.primitive_patterns.PrimitivePatternsSecondPreviewNotes
-
Explains why Java 24 keeps this entry as a bridge note.
- previewStep() - Method in class net.jrodolfo.java_evolution.java24.scoped_values.ScopedValuesFourthPreviewNotes
-
Explains why Java 24 keeps this entry as a bridge note.
- previewStep() - Method in class net.jrodolfo.java_evolution.java24.structured_concurrency.StructuredConcurrencyFourthPreviewNotes
-
Explains why Java 24 keeps this entry as a bridge note.
- primitivePatternModel() - Method in class net.jrodolfo.java_evolution.java24.primitive_patterns.PrimitivePatternsSecondPreviewNotes
-
Explains the primitive-pattern model.
- PrimitivePatternsFifthPreviewExamples - Class in net.jrodolfo.java_evolution.java27.primitive_patterns
-
Demonstrates the fifth preview of primitive patterns from JEP 532.
- PrimitivePatternsFifthPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java27.primitive_patterns.PrimitivePatternsFifthPreviewExamples
- PrimitivePatternsFourthPreviewExamples - Class in net.jrodolfo.java_evolution.java26
-
Demonstrates primitive patterns, previewed for the fourth time in Java 26 by JEP 530.
- PrimitivePatternsFourthPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples
- PrimitivePatternsFourthPreviewExamples.CommandResult - Record Class in net.jrodolfo.java_evolution.java26
-
Result from one child process invocation.
- PrimitivePatternsFourthPreviewExamples.PrimitivePatternsWorkflowResult - Record Class in net.jrodolfo.java_evolution.java26
-
Result from compiling and running the generated preview source.
- PrimitivePatternsPreviewNotes - Class in net.jrodolfo.java_evolution.java23.primitive_patterns
-
Explains primitive types in patterns,
instanceof, andswitchas a Java 23 preview feature. - PrimitivePatternsPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java23.primitive_patterns.PrimitivePatternsPreviewNotes
- PrimitivePatternsSecondPreviewNotes - Class in net.jrodolfo.java_evolution.java24.primitive_patterns
-
Explains primitive patterns second preview in Java 24.
- PrimitivePatternsSecondPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java24.primitive_patterns.PrimitivePatternsSecondPreviewNotes
- PrimitivePatternsThirdPreviewExamples - Class in net.jrodolfo.java_evolution.java25
-
Demonstrates primitive patterns, previewed for the third time in Java 25 by JEP 507.
- PrimitivePatternsThirdPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples
- PrimitivePatternsThirdPreviewExamples.CommandResult - Record Class in net.jrodolfo.java_evolution.java25
-
Result from one child process invocation.
- PrimitivePatternsThirdPreviewExamples.PrimitivePatternsWorkflowResult - Record Class in net.jrodolfo.java_evolution.java25
-
Result from compiling and running the generated preview source.
- PrimitivePatternsWorkflowResult(Path, Path, PrimitivePatternsThirdPreviewExamples.CommandResult, PrimitivePatternsThirdPreviewExamples.CommandResult) - Constructor for record class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples.PrimitivePatternsWorkflowResult
-
Creates an instance of a
PrimitivePatternsWorkflowResultrecord class. - PrimitivePatternsWorkflowResult(Path, Path, PrimitivePatternsFourthPreviewExamples.CommandResult, PrimitivePatternsFourthPreviewExamples.CommandResult) - Constructor for record class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples.PrimitivePatternsWorkflowResult
-
Creates an instance of a
PrimitivePatternsWorkflowResultrecord class. - printf(String, Object...) - Method in interface net.jrodolfo.java_evolution.java06.console_api.ConsoleApiExamples.ConsoleSession
- printf(String, Object...) - Method in class net.jrodolfo.java_evolution.java06.console_api.ConsoleApiExamples.JavaConsoleSession
- priority() - Method in interface net.jrodolfo.java_evolution.java05.GenericsExamples.PrioritizedFeature
-
Returns the feature priority.
- priority() - Method in class net.jrodolfo.java_evolution.java05.GenericsExamples.RankedFeature
- PrivateInterfaceMethodExamples - Class in net.jrodolfo.java_evolution.java09
-
Demonstrates private methods in interfaces, introduced in Java 9.
- PrivateInterfaceMethodExamples() - Constructor for class net.jrodolfo.java_evolution.java09.PrivateInterfaceMethodExamples
- PrivateInterfaceMethodExamples.DefaultMessageFormatter - Class in net.jrodolfo.java_evolution.java09
-
Empty implementation that receives behavior from interface default methods.
- PrivateInterfaceMethodExamples.MessageFormatter - Interface in net.jrodolfo.java_evolution.java09
-
Interface with default methods that share private helper logic.
- probeSource() - Method in class net.jrodolfo.java_evolution.java06.scripting.ScriptingSupportExamples
- probeSource() - Method in class net.jrodolfo.java_evolution.java17.strong_encapsulation.StrongEncapsulationExamples
-
Returns the source code executed by the child JVM.
- probeSource() - Method in class net.jrodolfo.java_evolution.java18.inet_address_resolution.InetAddressResolutionExamples
- probeSource() - Method in class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples
-
Source used by the child JVM to exercise the Java 20 incubator API.
- probeSource() - Method in class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples
-
Source code for the tiny application used by the workflow.
- probeSource() - Method in class net.jrodolfo.java_evolution.java24.security_manager_disabled.SecurityManagerDisabledExamples
- probeSource() - Method in class net.jrodolfo.java_evolution.java24.virtual_thread_synchronization.VirtualThreadSynchronizationExamples
-
Source code for the child-JVM probe.
- probeSource() - Method in class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples
-
Source used by the child JVM.
- probeSource() - Method in class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples
-
Source used by the child JVM to exercise the Java 25 preview API.
- probeSource() - Method in class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples
-
Source used by the child JVM to exercise Java 25 preview syntax.
- probeSource() - Method in class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples
-
Source used by the child JVM to exercise the Java 25 preview API.
- probeSource() - Method in class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples
-
Source used by the child JVM to exercise the Java 25 preview API.
- probeSource() - Method in class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples
-
Source used by the child JVM to exercise the Java 25 incubator API.
- probeSource() - Method in class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples
-
Source code used by the child JVM.
- probeSource() - Method in class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples
-
Source used by the child JVM to exercise the preview Lazy Constants API.
- probeSource() - Method in class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples
-
Source used by the child JVM to exercise the preview PEM API.
- probeSource() - Method in class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples
-
Source used by the child JVM to exercise Java 26 preview syntax.
- probeSource() - Method in class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples
-
Source used by the child JVM to exercise the preview API.
- probeSource() - Method in class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes
- probeSource() - Method in class net.jrodolfo.java_evolution.java27.lazy_constants.LazyConstantsThirdPreviewExamples
-
Returns the generated source for the preview API.
- probeSource() - Method in class net.jrodolfo.java_evolution.java27.pem_encodings.PemEncodingsThirdPreviewExamples
-
Returns source using the Java 27 PEM encoder and decoder.
- probeSource() - Method in class net.jrodolfo.java_evolution.java27.primitive_patterns.PrimitivePatternsFifthPreviewExamples
-
Returns source using primitive patterns in instanceof and switch.
- probeSource() - Method in class net.jrodolfo.java_evolution.java27.structured_concurrency.StructuredConcurrencySeventhPreviewExamples
-
Returns source using fork, join, typed failure propagation, and a structured scope.
- problem() - Method in class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples
-
Explains the problem that AOT workflows address.
- problem() - Method in class net.jrodolfo.java_evolution.java25.jfr_enhancements.JfrEnhancementsExamples
-
Explains the problem that JFR helps solve.
- problem() - Method in class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples
-
Explains the problem that Stable Values address.
- problem() - Method in class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples
-
Explains the problem that structured concurrency addresses.
- problem() - Method in class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples
-
Explains the problem that the Vector API addresses.
- problem() - Method in class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples
-
Explains the startup problem addressed by AOT object caching.
- problem() - Method in class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples
-
Explains why final-field mutation is being restricted.
- problem() - Method in class net.jrodolfo.java_evolution.java26.Http3ClientExamples
-
Explains the problem addressed by HTTP/3 support.
- problem() - Method in class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples
-
Explains the problem addressed by Lazy Constants.
- problem() - Method in class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples
-
Explains the concurrency problem.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java02.strict_floating_point.StrictFloatingPointExamples
- problemSolved() - Method in class net.jrodolfo.java_evolution.java04.preferences.PreferencesNotes
- problemSolved() - Method in class net.jrodolfo.java_evolution.java06.scripting.ScriptingSupportExamples
- problemSolved() - Method in class net.jrodolfo.java_evolution.java19.structured_concurrency.StructuredConcurrencyPreviewNotes
-
Explains the practical problem.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java20.scoped_values.ScopedValuesIncubatorNotes
-
Explains the practical problem.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java20.structured_concurrency.StructuredConcurrencySecondIncubatorNotes
-
Explains the practical problem.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples
-
Explains the practical problem.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java21.scoped_values.ScopedValuesPreviewNotes
-
Explains the contextual-data problem.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java21.structured_concurrency.StructuredConcurrencyPreviewNotes
-
Explains the practical problem.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java22.class_file_api.ClassFileApiPreviewNotes
-
Explains the API goal.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java22.scoped_values.ScopedValuesSecondPreviewNotes
-
Explains the goal of scoped values.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java22.statements_before_super.StatementsBeforeSuperPreviewNotes
-
Explains the practical problem.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java22.stream_gatherers.StreamGatherersPreviewNotes
-
Explains the central problem.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java22.structured_concurrency.StructuredConcurrencySecondPreviewNotes
-
Explains the practical problem.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java23.class_file_api.ClassFileApiSecondPreviewNotes
-
Explains the API goal.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java23.flexible_constructor_bodies.FlexibleConstructorBodiesSecondPreviewNotes
-
Explains the constructor problem addressed by the feature.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java23.primitive_patterns.PrimitivePatternsPreviewNotes
-
Explains the feature goal.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java23.scoped_values.ScopedValuesThirdPreviewNotes
-
Explains the contextual-data problem.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java23.stream_gatherers.StreamGatherersSecondPreviewNotes
-
Explains the feature goal.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java23.structured_concurrency.StructuredConcurrencyThirdPreviewNotes
-
Explains the practical problem.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java24.flexible_constructor_bodies.FlexibleConstructorBodiesThirdPreviewNotes
-
Explains the constructor problem.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java24.key_derivation.KeyDerivationFunctionPreviewNotes
-
Explains the cryptographic problem.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java24.module_import_declarations.ModuleImportDeclarationsSecondPreviewNotes
-
Explains the import problem.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java24.primitive_patterns.PrimitivePatternsSecondPreviewNotes
-
Explains the pattern-matching problem.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java24.scoped_values.ScopedValuesFourthPreviewNotes
-
Explains the context-propagation problem.
- problemSolved() - Method in class net.jrodolfo.java_evolution.java24.structured_concurrency.StructuredConcurrencyFourthPreviewNotes
-
Explains the practical problem.
- ProcessApiExamples - Class in net.jrodolfo.java_evolution.java09
-
Demonstrates Process API updates introduced in Java 9.
- ProcessApiExamples() - Constructor for class net.jrodolfo.java_evolution.java09.ProcessApiExamples
- ProcessApiExamples.CurrentProcessSummary - Class in net.jrodolfo.java_evolution.java09
-
Small Java 9-style data class for process metadata.
- ProcessResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java23.unsafe_memory_access_deprecation.UnsafeMemoryAccessDeprecationExamples.ProcessResult
-
Creates an instance of a
ProcessResultrecord class. - ProcessResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples.ProcessResult
-
Creates an instance of a
ProcessResultrecord class. - ProcessResult(int, String) - Constructor for record class net.jrodolfo.java_evolution.java25.generational_shenandoah.GenerationalShenandoahNotes.ProcessResult
-
Creates an instance of a
ProcessResultrecord class. - processWideCaveat() - Method in class net.jrodolfo.java_evolution.java18.inet_address_resolution.InetAddressResolutionExamples
- productionWorkflow() - Method in class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples
-
Explains how an AOT cache is used after creation.
- programmingModel() - Method in class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes
- ProjectBean() - Constructor for class net.jrodolfo.java_evolution.java01.javabeans.JavaBeansExamples.ProjectBean
- projectChanged(JavaBeansExamples.ProjectEvent) - Method in interface net.jrodolfo.java_evolution.java01.javabeans.JavaBeansExamples.ProjectListener
- projectDecision() - Method in class net.jrodolfo.java_evolution.java19.ForeignFunctionMemoryApiPreviewNotes
-
Explains why this repository keeps it as notes.
- projectDecision() - Method in class net.jrodolfo.java_evolution.java19.structured_concurrency.StructuredConcurrencyPreviewNotes
-
Explains why this repository keeps it explanatory.
- projectDecision() - Method in class net.jrodolfo.java_evolution.java20.ForeignFunctionMemorySecondPreviewNotes
-
Explains why this Java 20 entry stays as notes.
- projectDecision() - Method in class net.jrodolfo.java_evolution.java20.scoped_values.ScopedValuesIncubatorNotes
-
Explains why this package keeps Java 20 scoped values explanatory.
- projectDecision() - Method in class net.jrodolfo.java_evolution.java20.structured_concurrency.StructuredConcurrencySecondIncubatorNotes
-
Explains why this project uses an explanatory module.
- projectDecision() - Method in class net.jrodolfo.java_evolution.java20.VirtualThreadsSecondPreviewNotes
-
Explains why this Java 20 entry stays as notes.
- projectDecision() - Method in class net.jrodolfo.java_evolution.java22.statements_before_super.StatementsBeforeSuperPreviewNotes
-
Explains why this package uses notes.
- projectDecision() - Method in class net.jrodolfo.java_evolution.java25.generational_shenandoah.GenerationalShenandoahNotes
- projectDecision() - Method in class net.jrodolfo.java_evolution.java26.g1_synchronization.G1SynchronizationNotes
-
Explains why the repository keeps this as notes.
- projectDecision() - Method in class net.jrodolfo.java_evolution.java27.g1_default.G1DefaultNotes
-
Explains why the repository keeps this topic as notes.
- projectDecision() - Method in class net.jrodolfo.java_evolution.java27.vector_api.VectorApiTwelfthIncubatorNotes
-
Explains why this continuation is explanatory.
- ProjectEvent(Object) - Constructor for class net.jrodolfo.java_evolution.java01.javabeans.JavaBeansExamples.ProjectEvent
- projectName() - Method in class net.jrodolfo.java_evolution.java01.serialization.SerializationExamples.ProjectSnapshot
- ProjectSnapshot(String, SerializationExamples.User, int) - Constructor for class net.jrodolfo.java_evolution.java01.serialization.SerializationExamples.ProjectSnapshot
- propertyNames() - Method in class net.jrodolfo.java_evolution.java01.javabeans.JavaBeansExamples
-
Finds the JavaBeans properties declared by the sample bean.
- propertyType(String) - Method in class net.jrodolfo.java_evolution.java01.javabeans.JavaBeansExamples
-
Finds the Java type of a JavaBeans property.
- protocolContext() - Method in class net.jrodolfo.java_evolution.java26.Http3ClientExamples
-
Describes the protocol relationship.
- protocolFamilyName() - Method in class net.jrodolfo.java_evolution.java16.unix_domain_socket.UnixDomainSocketChannelExamples
-
Names the protocol family used for Unix-domain socket channels.
- providerName() - Method in class net.jrodolfo.java_evolution.java04.security.SecurityIntegrationExamples.ProviderServiceSummary
- providerName() - Method in class net.jrodolfo.java_evolution.java21.key_encapsulation.KemSender
-
Returns the provider name selected by the Java Cryptography Architecture.
- providerName() - Method in record class net.jrodolfo.java_evolution.java21.key_encapsulation.KeyEncapsulationExchange.KeyExchangeResult
-
Returns the value of the
providerNamerecord component. - providerServicesFor(String) - Method in class net.jrodolfo.java_evolution.java04.security.SecurityIntegrationExamples
-
Lists provider services for a given algorithm.
- providerSource() - Method in class net.jrodolfo.java_evolution.java18.inet_address_resolution.InetAddressResolutionExamples
- proxyAddsTracing() - Method in class net.jrodolfo.java_evolution.java03.DynamicProxyExamples
-
Creates a proxy that decorates calls to a service interface.
- publicKey() - Method in class net.jrodolfo.java_evolution.java21.key_encapsulation.KemReceiver
-
Returns the public key that can be shared with the sender.
- purpose() - Method in class net.jrodolfo.java_evolution.java19.ForeignFunctionMemoryApiPreviewNotes
-
Explains the high-level goal.
- purpose() - Method in class net.jrodolfo.java_evolution.java20.ForeignFunctionMemorySecondPreviewNotes
-
Explains the high-level goal.
- purpose() - Method in class net.jrodolfo.java_evolution.java20.VirtualThreadsSecondPreviewNotes
-
Explains the problem virtual threads address.
- purpose() - Method in class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples
-
Explains the runtime goal.
- purpose() - Method in class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples
-
Explains the feature goal.
- purpose() - Method in class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples
-
Explains the feature goal.
- purpose() - Method in class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples
-
Explains the feature goal.
- purpose() - Method in class net.jrodolfo.java_evolution.java27.jfr_data_redaction.JfrRedactionOptionExamples
-
Explains what this deterministic probe establishes.
- purposeSeparation() - Method in class net.jrodolfo.java_evolution.java24.key_derivation.KeyDerivationFunctionPreviewNotes
-
Explains why context labels matter.
R
- radius() - Method in record class net.jrodolfo.java_evolution.java15.SealedClassesPreviewExamples.Circle
-
Returns the value of the
radiusrecord component. - radius() - Method in record class net.jrodolfo.java_evolution.java17.SealedClassesExamples.Circle
-
Returns the value of the
radiusrecord component. - RandomGeneratorExamples - Class in net.jrodolfo.java_evolution.java17
-
Demonstrates the enhanced pseudo-random number generator API introduced in Java 17.
- RandomGeneratorExamples() - Constructor for class net.jrodolfo.java_evolution.java17.RandomGeneratorExamples
- range(List) - Method in class net.jrodolfo.java_evolution.java12.TeeingCollectorExamples
-
Computes minimum and maximum values in one stream pass.
- RankedFeature(String, int) - Constructor for class net.jrodolfo.java_evolution.java05.GenericsExamples.RankedFeature
- readAndExecuteMask() - Method in class net.jrodolfo.java_evolution.java07.NumericLiteralExamples
-
Uses a binary literal for bit flags.
- readFirstLine(BufferedReader) - Method in class net.jrodolfo.java_evolution.java09.TryWithResourcesExamples
-
Reads the first line and closes the provided reader using the Java 9 try-with-resources style.
- readFirstLine(String) - Method in class net.jrodolfo.java_evolution.java07.TryWithResourcesStatementExamples
-
Reads the first line from text using a resource declared inside the try-with-resources header.
- readFirstLine(String) - Method in class net.jrodolfo.java_evolution.java10.LocalVariableTypeInferenceExamples
-
Uses
varin a try-with-resources declaration. - readFirstLineClosesResource(String) - Method in class net.jrodolfo.java_evolution.java07.TryWithResourcesStatementExamples
-
Uses a tracking resource so a caller can observe automatic closing.
- readLine(String, Object...) - Method in interface net.jrodolfo.java_evolution.java06.console_api.ConsoleApiExamples.ConsoleSession
- readLine(String, Object...) - Method in class net.jrodolfo.java_evolution.java06.console_api.ConsoleApiExamples.JavaConsoleSession
- readPassword(String, Object...) - Method in interface net.jrodolfo.java_evolution.java06.console_api.ConsoleApiExamples.ConsoleSession
- readPassword(String, Object...) - Method in class net.jrodolfo.java_evolution.java06.console_api.ConsoleApiExamples.JavaConsoleSession
- readPasswordLengthAndClear(ConsoleApiExamples.ConsoleSession) - Method in class net.jrodolfo.java_evolution.java06.console_api.ConsoleApiExamples
- readText(ReadableByteChannel) - Method in class net.jrodolfo.java_evolution.java04.NioExamples
-
Reads text from a channel using explicit buffer flip and clear phases.
- readText(Path) - Method in class net.jrodolfo.java_evolution.java11.FilesApiExamples
-
Reads text from a file using
Files.readString(Path). - readTextFromArchive(Path, String) - Method in class net.jrodolfo.java_evolution.java13.FileSystemsNewFileSystemExamples
-
Opens a file system from a path, reads one file, and closes the file system.
- realUseCases() - Method in class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples
-
Names realistic use cases.
- rebind(String, Object) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- rebind(Name, Object) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- receiverSecretBytes() - Method in record class net.jrodolfo.java_evolution.java21.key_encapsulation.KeyEncapsulationExchange.KeyExchangeResult
-
Returns the value of the
receiverSecretBytesrecord component. - receiverSecretBytes() - Method in record class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeKemResult
-
Returns the value of the
receiverSecretBytesrecord component. - RecordExamples - Class in net.jrodolfo.java_evolution.java16
-
Demonstrates records, finalized in Java 16.
- RecordExamples() - Constructor for class net.jrodolfo.java_evolution.java16.RecordExamples
- RecordExamples.Feature - Record Class in net.jrodolfo.java_evolution.java16
-
Simple record with generated accessors and value equality.
- RecordExamples.Release - Record Class in net.jrodolfo.java_evolution.java16
-
Record with a compact constructor for validation.
- recordingFile() - Method in record class net.jrodolfo.java_evolution.java25.jfr_enhancements.JfrEnhancementsExamples.JfrMethodObservation
-
Returns the value of the
recordingFilerecord component. - recordMethodTimingAndTracing(Path) - Method in class net.jrodolfo.java_evolution.java25.jfr_enhancements.JfrEnhancementsExamples
-
Records JFR method timing and tracing events for a selected method.
- RecordPatternsExamples - Class in net.jrodolfo.java_evolution.java21
-
Demonstrates record patterns, finalized in Java 21.
- RecordPatternsExamples() - Constructor for class net.jrodolfo.java_evolution.java21.RecordPatternsExamples
- RecordPatternsExamples.Point - Record Class in net.jrodolfo.java_evolution.java21
-
Point record used by the nested deconstruction example.
- RecordPatternsExamples.Rectangle - Record Class in net.jrodolfo.java_evolution.java21
-
Rectangle record made of two points.
- RecordPatternsPreviewExamples - Class in net.jrodolfo.java_evolution.java19
-
Demonstrates record patterns as a Java 19 preview feature.
- RecordPatternsPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java19.RecordPatternsPreviewExamples
- RecordPatternsPreviewExamples.Point - Record Class in net.jrodolfo.java_evolution.java19
-
Small record used by the record pattern example.
- RecordPatternsSecondPreviewExamples - Class in net.jrodolfo.java_evolution.java20
-
Demonstrates record patterns as refined in the Java 20 second preview.
- RecordPatternsSecondPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java20.RecordPatternsSecondPreviewExamples
- RecordPatternsSecondPreviewExamples.Address - Record Class in net.jrodolfo.java_evolution.java20
-
Address record nested inside
RecordPatternsSecondPreviewExamples.Customer. - RecordPatternsSecondPreviewExamples.Customer - Record Class in net.jrodolfo.java_evolution.java20
-
Customer record used to demonstrate nested record deconstruction.
- RecordPreviewExamples - Class in net.jrodolfo.java_evolution.java14
-
Demonstrates records as a Java 14 preview feature.
- RecordPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java14.RecordPreviewExamples
- RecordPreviewExamples.Feature - Record Class in net.jrodolfo.java_evolution.java14
-
Compact data carrier used to demonstrate record syntax.
- recoverFromFailureAsync() - Method in class net.jrodolfo.java_evolution.java08.CompletableFutureExamples
-
Recovers from a failed asynchronous computation with
CompletableFuture.exceptionally(Function). - recoverWithMultiCatch(ExceptionHandlingExamples.FailureMode) - Method in class net.jrodolfo.java_evolution.java07.ExceptionHandlingExamples
-
Handles two checked exception types with one catch block.
- Rectangle(double, double) - Constructor for record class net.jrodolfo.java_evolution.java15.SealedClassesPreviewExamples.Rectangle
-
Creates an instance of a
Rectanglerecord class. - Rectangle(double, double) - Constructor for record class net.jrodolfo.java_evolution.java17.SealedClassesExamples.Rectangle
-
Creates an instance of a
Rectanglerecord class. - Rectangle(RecordPatternsExamples.Point, RecordPatternsExamples.Point) - Constructor for record class net.jrodolfo.java_evolution.java21.RecordPatternsExamples.Rectangle
-
Creates an instance of a
Rectanglerecord class. - rectangleArea() - Method in class net.jrodolfo.java_evolution.java01.ObjectOrientedBasicsExamples
-
Uses encapsulated state exposed through behavior.
- ReflectionExamples - Class in net.jrodolfo.java_evolution.java01.reflection
-
Demonstrates reflection, introduced in Java 1.1.
- ReflectionExamples() - Constructor for class net.jrodolfo.java_evolution.java01.reflection.ReflectionExamples
- ReflectionExamples.PluginCommand - Class in net.jrodolfo.java_evolution.java01.reflection
-
Simple target class used by the reflection examples.
- reflectiveMutationSource() - Method in class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples
-
Source for a small program that mutates a final field through reflection.
- RegexExamples - Class in net.jrodolfo.java_evolution.java04
-
Demonstrates
java.util.regex, introduced in J2SE 1.4. - RegexExamples() - Constructor for class net.jrodolfo.java_evolution.java04.RegexExamples
- registerDriver(JdbcExamples.LearningDriver) - Method in class net.jrodolfo.java_evolution.java01.jdbc.JdbcExamples.LearningDriverManager
- registeredLearningDriverCount() - Method in class net.jrodolfo.java_evolution.java01.jdbc.JdbcExamples
- registerLearningDriver(String) - Method in class net.jrodolfo.java_evolution.java01.jdbc.JdbcExamples
-
Registers a driver that accepts URLs beginning with the supplied prefix.
- registerMarkerFileHook(File, String) - Method in class net.jrodolfo.java_evolution.java03.shutdown_hooks.ShutdownHookExamples
-
Registers a shutdown hook that writes a marker file during orderly JVM shutdown.
- regularFileNames(Path) - Method in class net.jrodolfo.java_evolution.java07.Nio2Examples
-
Lists regular file names in a directory.
- regularUser(String) - Method in class net.jrodolfo.java_evolution.java08.DefaultMethodExamples
-
Creates a user that relies on the default methods from
DefaultMethodExamples.Named. - RegularUser(String) - Constructor for class net.jrodolfo.java_evolution.java08.DefaultMethodExamples.RegularUser
-
Creates a regular user that inherits all default methods.
- rejectsTamperedMessage() - Method in record class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeDsaResult
-
Returns the value of the
rejectsTamperedMessagerecord component. - release(String, int) - Method in class net.jrodolfo.java_evolution.java16.RecordExamples
-
Uses a compact constructor to validate record data.
- Release(String, int) - Constructor for record class net.jrodolfo.java_evolution.java16.RecordExamples.Release
-
Creates an instance of a
Releaserecord class. - releaseAtOrBefore(int) - Method in class net.jrodolfo.java_evolution.java06.NavigableCollectionExamples
-
Uses a navigable map to find the floor entry for a version number.
- releaseDescriptions() - Method in class net.jrodolfo.java_evolution.java02.CollectionsFrameworkExamples
-
Uses a
Mapfor key/value lookup. - releaseNames(String, String) - Method in class net.jrodolfo.java_evolution.java05.EnhancedForLoopExamples
-
Creates a small custom
Iterableto show how application classes can become enhanced-for friendly. - ReleaseNames(String, String) - Constructor for class net.jrodolfo.java_evolution.java05.EnhancedForLoopExamples.ReleaseNames
- releaseNamesByVersion() - Method in class net.jrodolfo.java_evolution.java09.CollectionFactoryExamples
-
Creates an immutable map.
- releaseNamesDescending() - Method in class net.jrodolfo.java_evolution.java06.NavigableCollectionExamples
-
Creates a sorted set and views it in descending order.
- remainingCapacity(int, int) - Method in class net.jrodolfo.java_evolution.java04.assertions.AssertionExamples
-
Uses an assertion for an internal invariant.
- removeFromEnvironment(String) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- removeIndent(String, int) - Method in class net.jrodolfo.java_evolution.java12.StringIndentExamples
-
Removes indentation from every line.
- removeProjectListener(JavaBeansExamples.ProjectListener) - Method in class net.jrodolfo.java_evolution.java01.javabeans.JavaBeansExamples.ProjectBean
- rename(String, String) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- rename(Name, Name) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- renderThroughInterface() - Method in class net.jrodolfo.java_evolution.java01.InterfaceExamples
-
Calls two unrelated implementations through the same interface.
- repeatText(String, int) - Method in class net.jrodolfo.java_evolution.java11.StringApiExamples
-
Uses
String.repeat(int)to repeat a string. - repositoryDecision() - Method in class net.jrodolfo.java_evolution.java03.legacy_integration.LegacyIntegrationNotes
- repositoryDecision() - Method in class net.jrodolfo.java_evolution.java04.preferences.PreferencesNotes
- requiredValue(Optional) - Method in class net.jrodolfo.java_evolution.java10.OptionalOrElseThrowExamples
-
Returns the value when the Optional is present.
- requireEmail(OptionalExamples.User) - Method in class net.jrodolfo.java_evolution.java08.OptionalExamples
-
Uses
Optional.orElseThrow(java.util.function.Supplier)when the missing value should be treated as an error. - resolveChild(Path, String) - Method in class net.jrodolfo.java_evolution.java07.Nio2Examples
-
Resolves a child path from a root path.
- Restart(String) - Constructor for record class net.jrodolfo.java_evolution.java21.PatternMatchingSwitchExamples.Restart
-
Creates an instance of a
Restartrecord class. - Result(int, String) - Constructor for record class net.jrodolfo.java_evolution.java27.Java27ChildProcess.Result
-
Creates an instance of a
Resultrecord class. - retargetMutableCallSite(String) - Method in class net.jrodolfo.java_evolution.java07.invokedynamic.InvokeDynamicExamples
-
Demonstrates a mutable call site whose target changes at runtime.
- rethrowPrecisely(ExceptionHandlingExamples.FailureMode) - Method in class net.jrodolfo.java_evolution.java07.ExceptionHandlingExamples
-
Rethrows an exception parameter without widening the declared throws clause beyond the precise checked exceptions that can be thrown.
- reversed() - Method in record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.SequenceSummary
-
Returns the value of the
reversedrecord component. - reversed() - Method in record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.SequenceViewSummary
-
Returns the value of the
reversedrecord component. - reverseOrder(String, String) - Method in class net.jrodolfo.java_evolution.java05.FormattingExamples
-
Reorders arguments with explicit argument indexes.
- RmiExamples - Class in net.jrodolfo.java_evolution.java01.rmi
-
Demonstrates Remote Method Invocation, introduced in Java 1.1.
- RmiExamples() - Constructor for class net.jrodolfo.java_evolution.java01.rmi.RmiExamples
- RmiExamples.GreetingRequest - Class in net.jrodolfo.java_evolution.java01.rmi
-
Serializable argument passed to the remote service.
- RmiExamples.GreetingService - Interface in net.jrodolfo.java_evolution.java01.rmi
-
Remote contract.
- RmiExamples.RmiGreetingEndpoint - Class in net.jrodolfo.java_evolution.java01.rmi
-
Local owner for the registry and exported remote object.
- rootDirectory() - Method in class net.jrodolfo.java_evolution.java18.simple_web_server.SimpleStaticFileServer
-
Returns the directory being served.
- rootElementName(String) - Method in class net.jrodolfo.java_evolution.java04.xml.JaxpExamples
-
Reads the root element name from XML.
- roundTrip(SerializationExamples.ProjectSnapshot) - Method in class net.jrodolfo.java_evolution.java01.serialization.SerializationExamples
-
Serializes and deserializes the object once.
- run(String...) - Static method in class net.jrodolfo.java_evolution.java27.Java27ChildProcess
-
Runs a child command while draining output before waiting for termination.
- run(Path) - Method in class net.jrodolfo.java_evolution.java27.lazy_constants.LazyConstantsThirdPreviewExamples
-
Compiles and runs the Java 27 preview probe.
- run(Path) - Method in class net.jrodolfo.java_evolution.java27.pem_encodings.PemEncodingsThirdPreviewExamples
-
Compiles and runs an in-memory PEM round trip.
- run(Path) - Method in class net.jrodolfo.java_evolution.java27.primitive_patterns.PrimitivePatternsFifthPreviewExamples
-
Compiles and runs a Java 27 primitive-pattern probe.
- run(Path) - Method in class net.jrodolfo.java_evolution.java27.structured_concurrency.StructuredConcurrencySeventhPreviewExamples
-
Compiles and runs deterministic successful and failing structured scopes.
- runAotClassLoadingWorkflow(Path) - Method in class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples
-
Runs the Java 24 AOT class-loading workflow in a temporary workspace.
- runAotObjectCachingWorkflow(Path) - Method in class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples
-
Creates and then uses an AOT object cache in a temporary workspace.
- runAotWorkflow(Path) - Method in class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples
-
Runs the full AOT cache workflow in a temporary workspace.
- runApplicationModule(Path) - Method in class net.jrodolfo.java_evolution.java09.module_system.ModuleSystemExamples
-
Runs the modular application.
- runCallable(ExecutorService) - Method in class net.jrodolfo.java_evolution.java05.ConcurrencyUtilitiesExamples
-
Runs a task through an
ExecutorServiceand obtains the result through aFuture. - runChildProcessMode(String[]) - Method in class net.jrodolfo.java_evolution.java03.shutdown_hooks.ShutdownHookExamples
-
Entry point used by the test suite's child JVM.
- runDefaultMutationProbe(Path) - Method in class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples
-
Compiles and runs a tiny program that mutates a final field reflectively.
- runDelayedTask() - Method in class net.jrodolfo.java_evolution.java03.TimerExamples
-
Schedules one delayed task.
- runExplicitlyEnabledMutationProbe(Path) - Method in class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples
-
Runs the same final-field mutation with explicit mutation enablement.
- runInVirtualThread() - Method in class net.jrodolfo.java_evolution.java19.VirtualThreadsPreviewExamples
-
Starts a virtual thread and returns its result.
- runLazyConstantsWorkflow(Path) - Method in class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples
-
Runs the Java 26 preview Lazy Constants workflow.
- runManyBlockingVirtualThreadTasks(int) - Method in class net.jrodolfo.java_evolution.java21.VirtualThreadsExamples
-
Starts many virtual threads that briefly block, then waits until all of them complete.
- runningSum(List) - Method in class net.jrodolfo.java_evolution.java24.StreamGatherersExamples
-
Produces a running sum.
- runPemWorkflow(Path) - Method in class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples
-
Runs a real Java 25 preview PEM workflow in a temporary workspace.
- runPemWorkflow(Path) - Method in class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples
-
Runs the Java 26 preview PEM round-trip workflow.
- runPrimitivePatternsWorkflow(Path) - Method in class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples
-
Runs a real Java 25 preview primitive-pattern workflow.
- runPrimitivePatternsWorkflow(Path) - Method in class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples
-
Runs a real Java 26 preview primitive-pattern workflow.
- runResolverProbe(Path) - Method in class net.jrodolfo.java_evolution.java18.inet_address_resolution.InetAddressResolutionExamples
- runRunnableInThread() - Method in class net.jrodolfo.java_evolution.java01.ThreadBasicsExamples
-
Runs work in a thread created with a
Runnable. - runSecurityManagerProbe(Path) - Method in class net.jrodolfo.java_evolution.java24.security_manager_disabled.SecurityManagerDisabledExamples
- runServiceProviderProbe(File) - Method in class net.jrodolfo.java_evolution.java06.scripting.ScriptingSupportExamples
- runsOnEventDispatchThread() - Method in class net.jrodolfo.java_evolution.java02.swing.SwingExamples
-
Runs code on Swing's Event Dispatch Thread (EDT).
- runStableValuesWorkflow(Path) - Method in class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples
-
Runs a real Java 25 preview Stable Values workflow in a temporary workspace.
- runStructuredConcurrencyWorkflow(Path) - Method in class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples
-
Runs a real Java 25 preview structured-concurrency workflow.
- runStructuredConcurrencyWorkflow(Path) - Method in class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples
-
Runs the Java 26 preview Structured Concurrency workflow.
- runSynchronizedBlockingProbe(Path) - Method in class net.jrodolfo.java_evolution.java24.virtual_thread_synchronization.VirtualThreadSynchronizationExamples
-
Runs the virtual-thread synchronization probe in a child JVM.
- runtimeName() - Method in class net.jrodolfo.java_evolution.java06.monitoring_management.MonitoringManagementExamples.JvmSnapshot
- runtimeName() - Method in class net.jrodolfo.java_evolution.java06.monitoring_management.MonitoringManagementExamples
-
Reads descriptive runtime information for the current JVM.
- runtimeTypeName(Object) - Method in class net.jrodolfo.java_evolution.java01.reflection.ReflectionExamples
-
Reads the runtime type from an object reference.
- runUnsafeProbeWithDeny(Path) - Method in class net.jrodolfo.java_evolution.java23.unsafe_memory_access_deprecation.UnsafeMemoryAccessDeprecationExamples
-
Runs the generated child class with unsafe memory access denied.
- runVectorWorkflow(Path) - Method in class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples
-
Runs a real Java 20 Vector API workflow in a temporary workspace.
- runVectorWorkflow(Path) - Method in class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples
-
Runs a real Java 25 Vector API workflow in a temporary workspace.
- runVectorWorkflow(Path) - Method in class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes
-
Runs a real Java 26 Vector API workflow in a temporary workspace.
- runWithAddExportsOnly(Path) - Method in class net.jrodolfo.java_evolution.java17.strong_encapsulation.StrongEncapsulationExamples
-
Runs the probe with
--add-exportsonly. - runWithAddOpens(Path) - Method in class net.jrodolfo.java_evolution.java17.strong_encapsulation.StrongEncapsulationExamples
-
Runs the probe with a targeted
--add-opensmigration flag. - runWithIllegalAccessPermit(Path) - Method in class net.jrodolfo.java_evolution.java17.strong_encapsulation.StrongEncapsulationExamples
-
Runs the probe with the broad
--illegal-access=permitflag that is obsolete after Java 17. - runWithoutOpens(Path) - Method in class net.jrodolfo.java_evolution.java17.strong_encapsulation.StrongEncapsulationExamples
-
Runs the probe without module-opening flags.
S
- safetyGoal() - Method in class net.jrodolfo.java_evolution.java23.primitive_patterns.PrimitivePatternsPreviewNotes
-
Explains an important safety goal.
- safetyGoal() - Method in class net.jrodolfo.java_evolution.java24.primitive_patterns.PrimitivePatternsSecondPreviewNotes
-
Explains why the feature is useful beyond syntax.
- safetyGoal() - Method in class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples
-
Explains the safety benefit of primitive patterns.
- safetyGoal() - Method in class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples
-
Explains the safety benefit of primitive patterns.
- safetyRule() - Method in class net.jrodolfo.java_evolution.java22.statements_before_super.StatementsBeforeSuperPreviewNotes
-
Names the key safety limitation.
- safetyRule() - Method in class net.jrodolfo.java_evolution.java23.flexible_constructor_bodies.FlexibleConstructorBodiesSecondPreviewNotes
-
Names the constructor safety rule.
- safetyRule() - Method in class net.jrodolfo.java_evolution.java24.flexible_constructor_bodies.FlexibleConstructorBodiesThirdPreviewNotes
-
Explains the safety boundary that remains.
- schedulerBoundary() - Method in class net.jrodolfo.java_evolution.java24.virtual_thread_synchronization.VirtualThreadSynchronizationExamples
-
Explains why the probe limits scheduler parallelism.
- scopedValueModel() - Method in class net.jrodolfo.java_evolution.java24.scoped_values.ScopedValuesFourthPreviewNotes
-
Explains the scoped-value model.
- ScopedValuesExamples - Class in net.jrodolfo.java_evolution.java25.scoped_values
-
Demonstrates scoped values, finalized in Java 25 by JEP 506.
- ScopedValuesExamples() - Constructor for class net.jrodolfo.java_evolution.java25.scoped_values.ScopedValuesExamples
- ScopedValuesFourthPreviewNotes - Class in net.jrodolfo.java_evolution.java24.scoped_values
-
Explains scoped values fourth preview in Java 24.
- ScopedValuesFourthPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java24.scoped_values.ScopedValuesFourthPreviewNotes
- ScopedValuesIncubatorNotes - Class in net.jrodolfo.java_evolution.java20.scoped_values
-
Explains scoped values as a Java 20 incubator feature.
- ScopedValuesIncubatorNotes() - Constructor for class net.jrodolfo.java_evolution.java20.scoped_values.ScopedValuesIncubatorNotes
- ScopedValuesPreviewNotes - Class in net.jrodolfo.java_evolution.java21.scoped_values
-
Explains scoped values as a Java 21 first preview feature.
- ScopedValuesPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java21.scoped_values.ScopedValuesPreviewNotes
- ScopedValuesSecondPreviewNotes - Class in net.jrodolfo.java_evolution.java22.scoped_values
-
Explains scoped values as a Java 22 second preview feature.
- ScopedValuesSecondPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java22.scoped_values.ScopedValuesSecondPreviewNotes
- ScopedValuesThirdPreviewNotes - Class in net.jrodolfo.java_evolution.java23.scoped_values
-
Explains scoped values as a Java 23 third preview feature.
- ScopedValuesThirdPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java23.scoped_values.ScopedValuesThirdPreviewNotes
- score(EnumExamples.Priority) - Method in class net.jrodolfo.java_evolution.java05.EnumExamples
-
Calculates the numeric score for a ticket priority.
- ScriptingSupportExamples - Class in net.jrodolfo.java_evolution.java06.scripting
-
Demonstrates Java 6 scripting support through JSR 223.
- ScriptingSupportExamples() - Constructor for class net.jrodolfo.java_evolution.java06.scripting.ScriptingSupportExamples
- ScriptingSupportExamples.CommandResult - Class in net.jrodolfo.java_evolution.java06.scripting
- SealedClassesExamples - Class in net.jrodolfo.java_evolution.java17
-
Demonstrates sealed classes, finalized in Java 17.
- SealedClassesExamples() - Constructor for class net.jrodolfo.java_evolution.java17.SealedClassesExamples
- SealedClassesExamples.Circle - Record Class in net.jrodolfo.java_evolution.java17
-
Final permitted implementation.
- SealedClassesExamples.Rectangle - Record Class in net.jrodolfo.java_evolution.java17
-
Final permitted implementation.
- SealedClassesExamples.Shape - Interface in net.jrodolfo.java_evolution.java17
-
Sealed parent interface that permits only the listed implementations.
- SealedClassesExamples.Square - Class in net.jrodolfo.java_evolution.java17
-
Non-sealed implementation, showing that a permitted subtype may reopen the hierarchy.
- SealedClassesPreviewExamples - Class in net.jrodolfo.java_evolution.java15
-
Demonstrates sealed classes as a Java 15 preview feature.
- SealedClassesPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java15.SealedClassesPreviewExamples
- SealedClassesPreviewExamples.Circle - Record Class in net.jrodolfo.java_evolution.java15
-
Circle implementation permitted by
SealedClassesPreviewExamples.Shape. - SealedClassesPreviewExamples.Rectangle - Record Class in net.jrodolfo.java_evolution.java15
-
Rectangle implementation permitted by
SealedClassesPreviewExamples.Shape. - SealedClassesPreviewExamples.Shape - Interface in net.jrodolfo.java_evolution.java15
-
Sealed parent type that explicitly lists permitted implementations with
permits. - season(int) - Method in class net.jrodolfo.java_evolution.java14.SwitchExpressionExamples
-
Converts a month number into a season using a switch expression.
- secondPreviewStatus() - Method in class net.jrodolfo.java_evolution.java22.scoped_values.ScopedValuesSecondPreviewNotes
-
Describes the Java 22 maturity level.
- secondPreviewStatus() - Method in class net.jrodolfo.java_evolution.java22.structured_concurrency.StructuredConcurrencySecondPreviewNotes
-
Describes the Java 22 maturity level.
- secondPreviewStatus() - Method in class net.jrodolfo.java_evolution.java24.module_import_declarations.ModuleImportDeclarationsSecondPreviewNotes
-
Describes the Java 24 maturity level.
- secondPreviewStatus() - Method in class net.jrodolfo.java_evolution.java24.primitive_patterns.PrimitivePatternsSecondPreviewNotes
-
Describes the Java 24 maturity level.
- secretBytes() - Method in record class net.jrodolfo.java_evolution.java21.key_encapsulation.EncapsulatedSecret
-
Returns the encoded shared secret bytes for demonstration and testing.
- secretKey() - Method in record class net.jrodolfo.java_evolution.java21.key_encapsulation.EncapsulatedSecret
-
Returns the value of the
secretKeyrecord component. - secretsMatch() - Method in record class net.jrodolfo.java_evolution.java21.key_encapsulation.KeyEncapsulationExchange.KeyExchangeResult
-
Shows whether both parties reached the same shared secret.
- secretsMatch() - Method in record class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeKemResult
-
Shows whether encapsulation and decapsulation reached the same secret.
- secureRandomBytes(int) - Method in class net.jrodolfo.java_evolution.java04.security.SecurityIntegrationExamples
-
Generates random bytes with
SecureRandom. - SecurityIntegrationExamples - Class in net.jrodolfo.java_evolution.java04.security
-
Demonstrates local security APIs integrated into the standard platform.
- SecurityIntegrationExamples() - Constructor for class net.jrodolfo.java_evolution.java04.security.SecurityIntegrationExamples
- SecurityIntegrationExamples.ProviderServiceSummary - Class in net.jrodolfo.java_evolution.java04.security
-
Summarizes a provider service.
- SecurityManagerDisabledExamples - Class in net.jrodolfo.java_evolution.java24.security_manager_disabled
-
Demonstrates Java 24 permanently disabling the Security Manager.
- SecurityManagerDisabledExamples() - Constructor for class net.jrodolfo.java_evolution.java24.security_manager_disabled.SecurityManagerDisabledExamples
- SecurityManagerDisabledExamples.CommandResult - Class in net.jrodolfo.java_evolution.java24.security_manager_disabled
- SecurityPolicyExamples - Class in net.jrodolfo.java_evolution.java02.security
-
Demonstrates the Java 2 security-policy model with ordinary permission objects.
- SecurityPolicyExamples() - Constructor for class net.jrodolfo.java_evolution.java02.security.SecurityPolicyExamples
- senderSecretBytes() - Method in record class net.jrodolfo.java_evolution.java21.key_encapsulation.KeyEncapsulationExchange.KeyExchangeResult
-
Returns the value of the
senderSecretBytesrecord component. - senderSecretBytes() - Method in record class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeKemResult
-
Returns the value of the
senderSecretBytesrecord component. - sendGetRequest(HttpClient, URI) - Method in class net.jrodolfo.java_evolution.java11.HttpClientExamples
-
Sends a GET request synchronously and returns the response body.
- SequencedCollectionsExamples - Class in net.jrodolfo.java_evolution.java21
-
Demonstrates sequenced collections, introduced in Java 21.
- SequencedCollectionsExamples() - Constructor for class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples
- SequencedCollectionsExamples.MapOrderSummary - Record Class in net.jrodolfo.java_evolution.java21
-
Captures direct observations from
SequencedMap. - SequencedCollectionsExamples.SequenceSummary - Record Class in net.jrodolfo.java_evolution.java21
-
Captures direct observations from
SequencedCollection. - SequencedCollectionsExamples.SequenceViewSummary - Record Class in net.jrodolfo.java_evolution.java21
-
Captures the state of a collection and its reversed view after a mutation.
- SequenceSummary(String, String, List) - Constructor for record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.SequenceSummary
-
Creates an instance of a
SequenceSummaryrecord class. - SequenceViewSummary(List, List) - Constructor for record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.SequenceViewSummary
-
Creates an instance of a
SequenceViewSummaryrecord class. - SerializationExamples - Class in net.jrodolfo.java_evolution.java01.serialization
-
Demonstrates object serialization, introduced in Java 1.1.
- SerializationExamples() - Constructor for class net.jrodolfo.java_evolution.java01.serialization.SerializationExamples
- SerializationExamples.ProjectSnapshot - Class in net.jrodolfo.java_evolution.java01.serialization
-
Small serializable object graph used by the examples.
- SerializationExamples.User - Class in net.jrodolfo.java_evolution.java01.serialization
-
Nested serializable object reached from the root snapshot.
- serialize(SerializationExamples.ProjectSnapshot) - Method in class net.jrodolfo.java_evolution.java01.serialization.SerializationExamples
-
Serializes a trusted in-memory object to bytes.
- service() - Method in record class net.jrodolfo.java_evolution.java21.PatternMatchingSwitchExamples.Restart
-
Returns the value of the
servicerecord component. - service() - Method in record class net.jrodolfo.java_evolution.java21.PatternMatchingSwitchExamples.Start
-
Returns the value of the
servicerecord component. - service() - Method in record class net.jrodolfo.java_evolution.java21.PatternMatchingSwitchExamples.Stop
-
Returns the value of the
servicerecord component. - serviceProviderFileName() - Method in class net.jrodolfo.java_evolution.java06.scripting.ScriptingSupportExamples
- serviceProviderFileName() - Method in class net.jrodolfo.java_evolution.java18.inet_address_resolution.InetAddressResolutionExamples
- serviceType() - Method in class net.jrodolfo.java_evolution.java04.security.SecurityIntegrationExamples.ProviderServiceSummary
- setActive(boolean) - Method in class net.jrodolfo.java_evolution.java01.javabeans.JavaBeansExamples.ProjectBean
- setName(String) - Method in class net.jrodolfo.java_evolution.java01.javabeans.JavaBeansExamples.ProjectBean
- setWithDuplicateValues() - Method in class net.jrodolfo.java_evolution.java09.CollectionFactoryExamples
-
Shows that
Set.of(Object[])rejects duplicates. - sha256Digest(String) - Method in class net.jrodolfo.java_evolution.java04.security.SecurityIntegrationExamples
-
Computes a SHA-256 digest.
- shenandoahAvailable() - Method in class net.jrodolfo.java_evolution.java25.generational_shenandoah.GenerationalShenandoahNotes
-
Checks whether this JDK build can start with Shenandoah selected.
- shenandoahGoal() - Method in class net.jrodolfo.java_evolution.java25.generational_shenandoah.GenerationalShenandoahNotes
- shortCompactNumber(long, Locale) - Method in class net.jrodolfo.java_evolution.java12.CompactNumberFormatExamples
-
Formats a number with the short compact style.
- ShutdownHookExamples - Class in net.jrodolfo.java_evolution.java03.shutdown_hooks
-
Demonstrates JVM shutdown hooks, introduced in J2SE 1.3.
- ShutdownHookExamples() - Constructor for class net.jrodolfo.java_evolution.java03.shutdown_hooks.ShutdownHookExamples
- side() - Method in class net.jrodolfo.java_evolution.java17.SealedClassesExamples.Square
- signAndVerify(String) - Method in class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeDsaExample
-
Signs a message and verifies both the original and a tampered message.
- signature() - Method in record class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeDsaResult
-
Returns the value of the
signaturerecord component. - signWithRsa(String, KeyPair) - Method in class net.jrodolfo.java_evolution.java04.security.SecurityIntegrationExamples
-
Signs a message with SHA256withRSA.
- SimpleStaticFileServer - Class in net.jrodolfo.java_evolution.java18.simple_web_server
-
Demonstrates the Java 18 Simple Web Server API.
- snapshot() - Method in class net.jrodolfo.java_evolution.java06.monitoring_management.MonitoringManagementExamples
-
Combines several MXBean readings into a compact operational snapshot.
- socketAddress(Path) - Method in class net.jrodolfo.java_evolution.java16.unix_domain_socket.UnixDomainSocketChannelExamples
-
Creates a Unix-domain socket address from a local file-system path.
- sortByLength(List) - Method in class net.jrodolfo.java_evolution.java02.SortingExamples
-
Sorts names by length using a comparator object.
- sortByLength(List) - Method in class net.jrodolfo.java_evolution.java08.LambdaExamples
-
Sorts names using a lambda expression as a
Comparator. - sortIgnoringCase(List) - Method in class net.jrodolfo.java_evolution.java08.MethodReferenceExamples
-
Uses an unbound instance method reference, where the receiver is supplied by each stream element.
- SortingExamples - Class in net.jrodolfo.java_evolution.java02
-
Demonstrates Java 2 collection sorting with
ComparableandComparator. - SortingExamples() - Constructor for class net.jrodolfo.java_evolution.java02.SortingExamples
- sortNaturally(List) - Method in class net.jrodolfo.java_evolution.java02.SortingExamples
-
Sorts values by their natural ordering.
- sortWithAnonymousClass(List) - Method in class net.jrodolfo.java_evolution.java08.LambdaExamples
-
Sorts names with an anonymous class, the older style commonly used before Java 8 lambdas.
- sortWithLambda(List) - Method in class net.jrodolfo.java_evolution.java08.LambdaExamples
-
Sorts names with a lambda expression, showing the shorter Java 8 replacement for a simple anonymous class.
- source() - Method in record class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples.VmFlagState
-
Returns the value of the
sourcerecord component. - source() - Method in record class net.jrodolfo.java_evolution.java25.compact_object_headers.CompactObjectHeadersExamples.VmFlagState
-
Returns the value of the
sourcerecord component. - sourceFile() - Method in record class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples.VectorWorkflowResult
-
Returns the value of the
sourceFilerecord component. - sourceFile() - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.AotClassLoadingWorkflowResult
-
Returns the value of the
sourceFilerecord component. - sourceFile() - Method in record class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples.AotWorkflowResult
-
Returns the value of the
sourceFilerecord component. - sourceFile() - Method in record class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples.PemWorkflowResult
-
Returns the value of the
sourceFilerecord component. - sourceFile() - Method in record class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples.PrimitivePatternsWorkflowResult
-
Returns the value of the
sourceFilerecord component. - sourceFile() - Method in record class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples.StableValuesWorkflowResult
-
Returns the value of the
sourceFilerecord component. - sourceFile() - Method in record class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples.StructuredConcurrencyWorkflowResult
-
Returns the value of the
sourceFilerecord component. - sourceFile() - Method in record class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples.VectorWorkflowResult
-
Returns the value of the
sourceFilerecord component. - sourceFile() - Method in record class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples.AotObjectCachingWorkflowResult
-
Returns the value of the
sourceFilerecord component. - sourceFile() - Method in record class net.jrodolfo.java_evolution.java26.applet_api_removal.AppletApiRemovalExamples.CompilationResult
-
Returns the value of the
sourceFilerecord component. - sourceFile() - Method in record class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples.MutationProbeResult
-
Returns the value of the
sourceFilerecord component. - sourceFile() - Method in record class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples.LazyConstantsWorkflowResult
-
Returns the value of the
sourceFilerecord component. - sourceFile() - Method in record class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples.PemWorkflowResult
-
Returns the value of the
sourceFilerecord component. - sourceFile() - Method in record class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples.PrimitivePatternsWorkflowResult
-
Returns the value of the
sourceFilerecord component. - sourceFile() - Method in record class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples.StructuredConcurrencyWorkflowResult
-
Returns the value of the
sourceFilerecord component. - sourceFile() - Method in record class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes.VectorWorkflowResult
-
Returns the value of the
sourceFilerecord component. - SQL - Enum constant in enum class net.jrodolfo.java_evolution.java07.ExceptionHandlingExamples.FailureMode
- sqlTextBlock() - Method in class net.jrodolfo.java_evolution.java13.TextBlockPreviewExamples
-
Uses a text block for readable SQL.
- Square(double) - Constructor for class net.jrodolfo.java_evolution.java17.SealedClassesExamples.Square
-
Creates a square with the given side length.
- StableValuesPreviewExamples - Class in net.jrodolfo.java_evolution.java25.stable_values
-
Demonstrates Java 25 Stable Values, previewed by JEP 502.
- StableValuesPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples
- StableValuesPreviewExamples.CommandResult - Record Class in net.jrodolfo.java_evolution.java25.stable_values
-
Result from one child process invocation.
- StableValuesPreviewExamples.StableValuesWorkflowResult - Record Class in net.jrodolfo.java_evolution.java25.stable_values
-
Result from compiling and running the generated preview source.
- StableValuesWorkflowResult(Path, Path, StableValuesPreviewExamples.CommandResult, StableValuesPreviewExamples.CommandResult) - Constructor for record class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples.StableValuesWorkflowResult
-
Creates an instance of a
StableValuesWorkflowResultrecord class. - StackWalkerExamples - Class in net.jrodolfo.java_evolution.java09
-
Demonstrates
StackWalker, introduced in Java 9. - StackWalkerExamples() - Constructor for class net.jrodolfo.java_evolution.java09.StackWalkerExamples
- standard(String) - Method in interface net.jrodolfo.java_evolution.java09.PrivateInterfaceMethodExamples.MessageFormatter
-
Formats a normal message.
- start() - Method in record class net.jrodolfo.java_evolution.java21.UnnamedPatternsVariablesPreviewExamples.Line
-
Returns the value of the
startrecord component. - start(Path) - Static method in class net.jrodolfo.java_evolution.java18.simple_web_server.SimpleStaticFileServer
-
Starts a local static-file server on an ephemeral loopback port.
- Start(String) - Constructor for record class net.jrodolfo.java_evolution.java21.PatternMatchingSwitchExamples.Start
-
Creates an instance of a
Startrecord class. - startGreetingService() - Method in class net.jrodolfo.java_evolution.java01.rmi.RmiExamples
-
Starts a local RMI registry, constructs an exported remote object, and binds the service.
- startNamedVirtualThreads() - Method in class net.jrodolfo.java_evolution.java21.VirtualThreadsExamples
-
Starts several virtual threads and collects their names.
- startsAtX(Object, int) - Method in class net.jrodolfo.java_evolution.java21.UnnamedPatternsVariablesPreviewExamples
-
Uses unnamed patterns for record components that are not needed.
- StatementsBeforeSuperPreviewNotes - Class in net.jrodolfo.java_evolution.java22.statements_before_super
-
Explains statements before
super(...)as a Java 22 preview feature. - StatementsBeforeSuperPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java22.statements_before_super.StatementsBeforeSuperPreviewNotes
- StaticFileResponse - Record Class in net.jrodolfo.java_evolution.java18.simple_web_server
-
Represents a response returned by the local static-file server example.
- StaticFileResponse(int, String) - Constructor for record class net.jrodolfo.java_evolution.java18.simple_web_server.StaticFileResponse
-
Creates an instance of a
StaticFileResponserecord class. - StaticImportExamples - Class in net.jrodolfo.java_evolution.java05
-
Demonstrates static import, introduced in Java 5.
- StaticImportExamples() - Constructor for class net.jrodolfo.java_evolution.java05.StaticImportExamples
- status() - Method in class net.jrodolfo.java_evolution.java23.class_file_api.ClassFileApiSecondPreviewNotes
-
Describes the feature status across releases.
- status() - Method in class net.jrodolfo.java_evolution.java23.flexible_constructor_bodies.FlexibleConstructorBodiesSecondPreviewNotes
-
Describes the feature status across releases.
- status() - Method in class net.jrodolfo.java_evolution.java23.module_import_declarations.ModuleImportDeclarationsPreviewNotes
-
Describes the feature status across releases.
- status() - Method in class net.jrodolfo.java_evolution.java23.primitive_patterns.PrimitivePatternsPreviewNotes
-
Describes the preview status in this repository's version range.
- status() - Method in class net.jrodolfo.java_evolution.java23.scoped_values.ScopedValuesThirdPreviewNotes
-
Describes the feature status across releases.
- status() - Method in class net.jrodolfo.java_evolution.java23.stream_gatherers.StreamGatherersSecondPreviewNotes
-
Describes the feature status across releases.
- status() - Method in class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples
-
Describes the Java 26 maturity level.
- status() - Method in class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples
-
Explains the second-preview status.
- status() - Method in class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples
-
Describes the Java 26 maturity level.
- status() - Method in class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes
- status() - Method in class net.jrodolfo.java_evolution.java27.lazy_constants.LazyConstantsThirdPreviewExamples
-
Describes the release progression and preview boundary.
- statusCode() - Method in record class net.jrodolfo.java_evolution.java18.simple_web_server.StaticFileResponse
-
Returns the value of the
statusCoderecord component. - Stop(String) - Constructor for record class net.jrodolfo.java_evolution.java21.PatternMatchingSwitchExamples.Stop
-
Creates an instance of a
Stoprecord class. - StreamEnhancementExamples - Class in net.jrodolfo.java_evolution.java09
-
Demonstrates Stream API enhancements introduced in Java 9.
- StreamEnhancementExamples() - Constructor for class net.jrodolfo.java_evolution.java09.StreamEnhancementExamples
- StreamExamples - Class in net.jrodolfo.java_evolution.java08
-
Demonstrates the Stream API introduced in Java 8.
- StreamExamples() - Constructor for class net.jrodolfo.java_evolution.java08.StreamExamples
- StreamExamples.User - Class in net.jrodolfo.java_evolution.java08
-
Small Java 8-style data class used by the stream examples.
- StreamGatherersExamples - Class in net.jrodolfo.java_evolution.java24
-
Demonstrates Stream Gatherers, finalized in Java 24.
- StreamGatherersExamples() - Constructor for class net.jrodolfo.java_evolution.java24.StreamGatherersExamples
- StreamGatherersPreviewNotes - Class in net.jrodolfo.java_evolution.java22.stream_gatherers
-
Explains Stream Gatherers, introduced as a Java 22 preview feature.
- StreamGatherersPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java22.stream_gatherers.StreamGatherersPreviewNotes
- StreamGatherersSecondPreviewNotes - Class in net.jrodolfo.java_evolution.java23.stream_gatherers
-
Explains Stream Gatherers as a Java 23 second preview feature.
- StreamGatherersSecondPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java23.stream_gatherers.StreamGatherersSecondPreviewNotes
- StreamToListExamples - Class in net.jrodolfo.java_evolution.java16
-
Demonstrates
Stream.toList(), introduced in Java 16. - StreamToListExamples() - Constructor for class net.jrodolfo.java_evolution.java16.StreamToListExamples
- strictAverage(double, double) - Method in class net.jrodolfo.java_evolution.java02.strict_floating_point.StrictFloatingPointExamples
- StrictFloatingPointExamples - Class in net.jrodolfo.java_evolution.java02.strict_floating_point
-
Demonstrates
strictfp, introduced in Java 2. - StrictFloatingPointExamples() - Constructor for class net.jrodolfo.java_evolution.java02.strict_floating_point.StrictFloatingPointExamples
- StrictFloatingPointExamples.CompilationResult - Class in net.jrodolfo.java_evolution.java02.strict_floating_point
- strictfpProbeSource() - Method in class net.jrodolfo.java_evolution.java02.strict_floating_point.StrictFloatingPointExamples
- StringApiExamples - Class in net.jrodolfo.java_evolution.java11
-
Demonstrates String API additions introduced in Java 11.
- StringApiExamples() - Constructor for class net.jrodolfo.java_evolution.java11.StringApiExamples
- StringIndentExamples - Class in net.jrodolfo.java_evolution.java12
-
Demonstrates
String.indent(int), introduced in Java 12. - StringIndentExamples() - Constructor for class net.jrodolfo.java_evolution.java12.StringIndentExamples
- StringSwitchExamples - Class in net.jrodolfo.java_evolution.java07
-
Demonstrates strings in
switch, introduced in Java 7. - StringSwitchExamples() - Constructor for class net.jrodolfo.java_evolution.java07.StringSwitchExamples
- stripLeadingText(String) - Method in class net.jrodolfo.java_evolution.java11.StringApiExamples
-
Uses
String.stripLeading()to remove Unicode whitespace only from the beginning of the text. - stripText(String) - Method in class net.jrodolfo.java_evolution.java11.StringApiExamples
-
Uses
String.strip()to remove leading and trailing Unicode whitespace. - stripTrailingText(String) - Method in class net.jrodolfo.java_evolution.java11.StringApiExamples
-
Uses
String.stripTrailing()to remove Unicode whitespace only from the end of the text. - StrongEncapsulationExamples - Class in net.jrodolfo.java_evolution.java17.strong_encapsulation
-
Demonstrates Java 17 strong encapsulation with isolated child JVMs.
- StrongEncapsulationExamples() - Constructor for class net.jrodolfo.java_evolution.java17.strong_encapsulation.StrongEncapsulationExamples
- StrongEncapsulationExamples.CommandResult - Class in net.jrodolfo.java_evolution.java17.strong_encapsulation
-
Captures child JVM output.
- StructuredConcurrencyFifthPreviewExamples - Class in net.jrodolfo.java_evolution.java25.structured_concurrency
-
Demonstrates Structured Concurrency, previewed for the fifth time in Java 25 by JEP 505.
- StructuredConcurrencyFifthPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples
- StructuredConcurrencyFifthPreviewExamples.CommandResult - Record Class in net.jrodolfo.java_evolution.java25.structured_concurrency
-
Result from one child process invocation.
- StructuredConcurrencyFifthPreviewExamples.StructuredConcurrencyWorkflowResult - Record Class in net.jrodolfo.java_evolution.java25.structured_concurrency
-
Result from compiling and running the generated preview source.
- StructuredConcurrencyFourthPreviewNotes - Class in net.jrodolfo.java_evolution.java24.structured_concurrency
-
Explains structured concurrency fourth preview in Java 24.
- StructuredConcurrencyFourthPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java24.structured_concurrency.StructuredConcurrencyFourthPreviewNotes
- StructuredConcurrencyPreviewNotes - Class in net.jrodolfo.java_evolution.java19.structured_concurrency
-
Explains structured concurrency as an incubating feature in Java 19.
- StructuredConcurrencyPreviewNotes - Class in net.jrodolfo.java_evolution.java21.structured_concurrency
-
Explains structured concurrency as a Java 21 first preview feature.
- StructuredConcurrencyPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java19.structured_concurrency.StructuredConcurrencyPreviewNotes
- StructuredConcurrencyPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java21.structured_concurrency.StructuredConcurrencyPreviewNotes
- StructuredConcurrencySecondIncubatorNotes - Class in net.jrodolfo.java_evolution.java20.structured_concurrency
-
Explains structured concurrency as a Java 20 second incubator feature.
- StructuredConcurrencySecondIncubatorNotes() - Constructor for class net.jrodolfo.java_evolution.java20.structured_concurrency.StructuredConcurrencySecondIncubatorNotes
- StructuredConcurrencySecondPreviewNotes - Class in net.jrodolfo.java_evolution.java22.structured_concurrency
-
Explains structured concurrency as a Java 22 second preview feature.
- StructuredConcurrencySecondPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java22.structured_concurrency.StructuredConcurrencySecondPreviewNotes
- StructuredConcurrencySeventhPreviewExamples - Class in net.jrodolfo.java_evolution.java27.structured_concurrency
-
Demonstrates the seventh preview of Structured Concurrency from JEP 533.
- StructuredConcurrencySeventhPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java27.structured_concurrency.StructuredConcurrencySeventhPreviewExamples
- StructuredConcurrencySixthPreviewExamples - Class in net.jrodolfo.java_evolution.java26.structured_concurrency
-
Demonstrates the sixth preview of Structured Concurrency from JEP 525.
- StructuredConcurrencySixthPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples
- StructuredConcurrencySixthPreviewExamples.CommandResult - Record Class in net.jrodolfo.java_evolution.java26.structured_concurrency
-
Result from one child process invocation.
- StructuredConcurrencySixthPreviewExamples.StructuredConcurrencyWorkflowResult - Record Class in net.jrodolfo.java_evolution.java26.structured_concurrency
-
Result from compiling and running the generated preview source.
- StructuredConcurrencyThirdPreviewNotes - Class in net.jrodolfo.java_evolution.java23.structured_concurrency
-
Explains structured concurrency as a Java 23 third preview feature.
- StructuredConcurrencyThirdPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java23.structured_concurrency.StructuredConcurrencyThirdPreviewNotes
- StructuredConcurrencyWorkflowResult(Path, Path, StructuredConcurrencyFifthPreviewExamples.CommandResult, StructuredConcurrencyFifthPreviewExamples.CommandResult) - Constructor for record class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples.StructuredConcurrencyWorkflowResult
-
Creates an instance of a
StructuredConcurrencyWorkflowResultrecord class. - StructuredConcurrencyWorkflowResult(Path, Path, StructuredConcurrencySixthPreviewExamples.CommandResult, StructuredConcurrencySixthPreviewExamples.CommandResult) - Constructor for record class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples.StructuredConcurrencyWorkflowResult
-
Creates an instance of a
StructuredConcurrencyWorkflowResultrecord class. - structuredUnitOfWork() - Method in class net.jrodolfo.java_evolution.java22.structured_concurrency.StructuredConcurrencySecondPreviewNotes
-
Explains the structured unit of work.
- structuredUnitOfWork() - Method in class net.jrodolfo.java_evolution.java23.structured_concurrency.StructuredConcurrencyThirdPreviewNotes
-
Explains the structured unit of work.
- structuredUnitOfWork() - Method in class net.jrodolfo.java_evolution.java24.structured_concurrency.StructuredConcurrencyFourthPreviewNotes
-
Explains the structured unit of work.
- successful() - Method in class net.jrodolfo.java_evolution.java06.compiler_api.CompilerApiExamples.CompilationResult
- successMarker() - Method in class net.jrodolfo.java_evolution.java24.virtual_thread_synchronization.VirtualThreadSynchronizationExamples
- sumArray(int[]) - Method in class net.jrodolfo.java_evolution.java05.EnhancedForLoopExamples
-
Sums an array using enhanced
for; the feature works for arrays as well asIterablevalues. - sumBoxedNumbers(List) - Method in class net.jrodolfo.java_evolution.java05.AutoboxingExamples
-
Adds boxed values as primitive
intvalues. - summarize(List) - Method in class net.jrodolfo.java_evolution.java12.TeeingCollectorExamples
-
Computes a count and average in one stream pass.
- summarizeMapOrder() - Method in class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples
-
Uses first and last entry operations from
SequencedMap. - summarizeSequence(List) - Method in class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples
-
Uses first, last, and reversed operations from
SequencedCollection. - summary() - Method in class net.jrodolfo.java_evolution.java27.g1_default.G1DefaultNotes
-
Returns a learner-friendly summary.
- summary() - Method in class net.jrodolfo.java_evolution.java27.vector_api.VectorApiTwelfthIncubatorNotes
-
Returns the maturity and purpose of the API.
- sumTaskResults(ExecutorService) - Method in class net.jrodolfo.java_evolution.java05.ConcurrencyUtilitiesExamples
-
Uses
ExecutorService.invokeAll(List)to run related tasks and obtain all results. - supportedVersionConstants() - Method in class net.jrodolfo.java_evolution.java26.Http3ClientExamples
-
Lists the protocol versions exposed by the Java 26 HTTP Client API.
- supportsHybridGroup() - Method in class net.jrodolfo.java_evolution.java27.tls_hybrid_key_exchange.PostQuantumHybridKeyExchangeExamples
-
Returns whether the default provider exposes the named hybrid group.
- SwingExamples - Class in net.jrodolfo.java_evolution.java02.swing
-
Demonstrates headless-safe Swing concepts from the Java 2 platform.
- SwingExamples() - Constructor for class net.jrodolfo.java_evolution.java02.swing.SwingExamples
- SwitchExpressionExamples - Class in net.jrodolfo.java_evolution.java14
-
Demonstrates switch expressions, finalized in Java 14.
- SwitchExpressionExamples() - Constructor for class net.jrodolfo.java_evolution.java14.SwitchExpressionExamples
- SwitchExpressionPreviewExamples - Class in net.jrodolfo.java_evolution.java12
-
Demonstrates switch expressions as a Java 12 preview feature.
- SwitchExpressionPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java12.SwitchExpressionPreviewExamples
- SwitchYieldPreviewExamples - Class in net.jrodolfo.java_evolution.java13
-
Demonstrates the Java 13 preview refinement that introduced
yieldin switch expressions. - SwitchYieldPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java13.SwitchYieldPreviewExamples
- synchronizedConcern() - Method in class net.jrodolfo.java_evolution.java24.virtual_thread_synchronization.VirtualThreadSynchronizationExamples
-
Explains why synchronized code matters.
- synchronizedCounter() - Method in class net.jrodolfo.java_evolution.java01.ThreadBasicsExamples
-
Uses synchronization to protect a shared counter.
- syntaxShape() - Method in class net.jrodolfo.java_evolution.java24.module_import_declarations.ModuleImportDeclarationsSecondPreviewNotes
-
Shows the declaration shape.
- systemCompilerIsAvailable() - Method in class net.jrodolfo.java_evolution.java06.compiler_api.CompilerApiExamples
-
Checks whether the current runtime image provides the standard system compiler.
- systemLoadAverage() - Method in class net.jrodolfo.java_evolution.java06.monitoring_management.MonitoringManagementExamples
-
Reads the system load average added to the management API in Java 6.
T
- tableModelValue() - Method in class net.jrodolfo.java_evolution.java02.swing.SwingExamples
-
Uses Swing's table model as a data model separate from visible rendering.
- taskCount() - Method in class net.jrodolfo.java_evolution.java01.serialization.SerializationExamples.ProjectSnapshot
- taskRunsInVirtualThread() - Method in class net.jrodolfo.java_evolution.java21.VirtualThreadsExamples
-
Runs one task in a virtual thread.
- TeeingCollectorExamples - Class in net.jrodolfo.java_evolution.java12
-
Demonstrates
Collectors.teeing(java.util.stream.Collector, java.util.stream.Collector, java.util.function.BiFunction), introduced in Java 12. - TeeingCollectorExamples() - Constructor for class net.jrodolfo.java_evolution.java12.TeeingCollectorExamples
- TeeingCollectorExamples.NumberSummary - Class in net.jrodolfo.java_evolution.java12
-
Small Java 12-style data class for teeing collector results.
- Template() - Constructor for class net.jrodolfo.java_evolution.java15.hidden_classes.HiddenClassesExamples.Template
- terminology() - Method in class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples
-
Defines SIMD in plain English.
- testBoundary() - Method in class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples
-
Explains what this executable example can and cannot prove.
- testBoundary() - Method in class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples
-
Explains the test boundary for this executable example.
- testBoundary() - Method in class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples
-
Explains the test boundary for this executable example.
- testBoundary() - Method in class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples
-
Explains what this executable example can and cannot prove.
- testBoundary() - Method in class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples
-
Explains what this executable example can and cannot prove.
- testBoundary() - Method in class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples
-
Explains what this executable example can and cannot prove.
- testBoundary() - Method in class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples
-
Explains what this executable example can and cannot prove.
- testBoundary() - Method in class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples
-
Explains the boundary of this executable example.
- testBoundary() - Method in class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples
-
Explains what this executable example can and cannot prove.
- TextBlockExamples - Class in net.jrodolfo.java_evolution.java15
-
Demonstrates text blocks, finalized in Java 15.
- TextBlockExamples() - Constructor for class net.jrodolfo.java_evolution.java15.TextBlockExamples
- TextBlockPreviewExamples - Class in net.jrodolfo.java_evolution.java13
-
Demonstrates text blocks as a Java 13 preview feature.
- TextBlockPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java13.TextBlockPreviewExamples
- textValue(String, String) - Method in class net.jrodolfo.java_evolution.java04.xml.JaxpExamples
-
Reads the text from the first element with the requested name.
- textWithIncidentalIndentationRemoved() - Method in class net.jrodolfo.java_evolution.java15.TextBlockExamples
-
Shows that Java removes incidental indentation from a text block and keeps the final newline created by the closing delimiter position.
- thirdPreviewStatus() - Method in class net.jrodolfo.java_evolution.java23.structured_concurrency.StructuredConcurrencyThirdPreviewNotes
-
Describes the Java 23 maturity level.
- thirdPreviewStatus() - Method in class net.jrodolfo.java_evolution.java24.flexible_constructor_bodies.FlexibleConstructorBodiesThirdPreviewNotes
-
Describes the Java 24 maturity level.
- ThreadBasicsExamples - Class in net.jrodolfo.java_evolution.java01
- ThreadBasicsExamples() - Constructor for class net.jrodolfo.java_evolution.java01.ThreadBasicsExamples
- threadLocalContrast() - Method in class net.jrodolfo.java_evolution.java23.scoped_values.ScopedValuesThirdPreviewNotes
-
Compares scoped values with a common older mechanism.
- threadLocalMotivation() - Method in class net.jrodolfo.java_evolution.java22.scoped_values.ScopedValuesSecondPreviewNotes
-
Compares scoped values with a common older approach.
- threadLocalProblem() - Method in class net.jrodolfo.java_evolution.java20.scoped_values.ScopedValuesIncubatorNotes
-
Compares scoped values with a common older approach.
- threadLocalProblem() - Method in class net.jrodolfo.java_evolution.java21.scoped_values.ScopedValuesPreviewNotes
-
Explains the common older approach and its risks.
- timedInvocations() - Method in record class net.jrodolfo.java_evolution.java25.jfr_enhancements.JfrEnhancementsExamples.JfrMethodObservation
-
Returns the value of the
timedInvocationsrecord component. - TimerExamples - Class in net.jrodolfo.java_evolution.java03
- TimerExamples() - Constructor for class net.jrodolfo.java_evolution.java03.TimerExamples
- toColonDelimitedHex(byte[]) - Method in class net.jrodolfo.java_evolution.java17.HexFormatExamples
-
Formats bytes with a delimiter.
- toHex(byte[]) - Method in class net.jrodolfo.java_evolution.java17.HexFormatExamples
-
Converts bytes to lowercase hexadecimal text.
- tool(String) - Static method in class net.jrodolfo.java_evolution.java27.Java27ChildProcess
-
Returns the JDK tool path for the current operating system.
- topLeft() - Method in record class net.jrodolfo.java_evolution.java21.RecordPatternsExamples.Rectangle
-
Returns the value of the
topLeftrecord component. - toString() - Method in record class net.jrodolfo.java_evolution.java14.RecordPreviewExamples.Feature
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java15.SealedClassesPreviewExamples.Circle
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java15.SealedClassesPreviewExamples.Rectangle
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java16.RecordExamples.Feature
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java16.RecordExamples.Release
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java17.SealedClassesExamples.Circle
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java17.SealedClassesExamples.Rectangle
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java18.simple_web_server.StaticFileResponse
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java19.PatternMatchingSwitchPreviewExamples.Login
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java19.PatternMatchingSwitchPreviewExamples.Logout
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java19.RecordPatternsPreviewExamples.Point
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java20.RecordPatternsSecondPreviewExamples.Address
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java20.RecordPatternsSecondPreviewExamples.Customer
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples.CommandResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples.VectorWorkflowResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java21.key_encapsulation.EncapsulatedSecret
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java21.key_encapsulation.KeyEncapsulationExchange.KeyExchangeResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java21.PatternMatchingSwitchExamples.Restart
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java21.PatternMatchingSwitchExamples.Start
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java21.PatternMatchingSwitchExamples.Stop
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java21.RecordPatternsExamples.Point
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java21.RecordPatternsExamples.Rectangle
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.MapOrderSummary
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.SequenceSummary
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java21.SequencedCollectionsExamples.SequenceViewSummary
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java21.UnnamedPatternsVariablesPreviewExamples.Line
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java21.UnnamedPatternsVariablesPreviewExamples.Point
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java22.foreign_function.ForeignFunctionCallResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java22.launch_multi_file_source_programs.LaunchMultiFileSourceProgramsExamples.LaunchResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java23.markdown_documentation_comments.MarkdownDocumentationCommentsExamples.JavaDocResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java23.unsafe_memory_access_deprecation.UnsafeMemoryAccessDeprecationExamples.ProcessResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples.ProcessResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples.VmFlagState
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.AotClassLoadingWorkflowResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java24.aot_class_loading.AotClassLoadingExamples.CommandResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java24.class_file.ClassFileSummary
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeDsaResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeKemResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples.AotWorkflowResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java25.aot_command_line.AotCommandLineErgonomicsExamples.CommandResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java25.compact_object_headers.CompactObjectHeadersExamples.VmFlagState
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java25.generational_shenandoah.GenerationalShenandoahNotes.ProcessResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java25.jfr_enhancements.JfrEnhancementsExamples.JfrMethodObservation
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java25.key_derivation.DerivedKeyMaterial
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples.CommandResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java25.PemEncodingsPreviewExamples.PemWorkflowResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples.CommandResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java25.PrimitivePatternsThirdPreviewExamples.PrimitivePatternsWorkflowResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples.CommandResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java25.stable_values.StableValuesPreviewExamples.StableValuesWorkflowResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples.CommandResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java25.structured_concurrency.StructuredConcurrencyFifthPreviewExamples.StructuredConcurrencyWorkflowResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples.CommandResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples.VectorWorkflowResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples.AotObjectCachingWorkflowResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples.CommandResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java26.applet_api_removal.AppletApiRemovalExamples.CompilationResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples.CommandResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java26.final_field_restrictions.FinalFieldRestrictionsExamples.MutationProbeResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples.CommandResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java26.lazy_constants.LazyConstantsSecondPreviewExamples.LazyConstantsWorkflowResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples.CommandResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java26.PemEncodingsSecondPreviewExamples.PemWorkflowResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples.CommandResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java26.PrimitivePatternsFourthPreviewExamples.PrimitivePatternsWorkflowResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples.CommandResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java26.structured_concurrency.StructuredConcurrencySixthPreviewExamples.StructuredConcurrencyWorkflowResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes.CommandResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes.VectorWorkflowResult
-
Returns a string representation of this record class.
- toString() - Method in record class net.jrodolfo.java_evolution.java27.Java27ChildProcess.Result
-
Returns a string representation of this record class.
- totalAgeOfActiveUsers(List) - Method in class net.jrodolfo.java_evolution.java08.StreamExamples
-
Uses a primitive
IntStreamto sum ages without boxing every value as anInteger. - totalImportance(Iterable) - Method in class net.jrodolfo.java_evolution.java05.GenericsExamples
-
Reads feature importance from any iterable producer of
GenericsExamples.ReleaseFeaturevalues or subtypes. - totalLengthWithEnhancedFor(Iterable) - Method in class net.jrodolfo.java_evolution.java05.EnhancedForLoopExamples
-
Counts total characters using the enhanced
forloop. - totalLengthWithIterator(Iterable) - Method in class net.jrodolfo.java_evolution.java05.EnhancedForLoopExamples
-
Counts total characters using the older explicit iterator style.
- tracedWork(int) - Static method in class net.jrodolfo.java_evolution.java25.jfr_enhancements.JfrEnhancementsExamples
-
Performs a small amount of repeatable work for the JFR recording.
- transform(Iterable, Function) - Method in class net.jrodolfo.java_evolution.java08.LambdaExamples
-
Transforms values using a caller-supplied
Function. - transformToText(Document) - Method in class net.jrodolfo.java_evolution.java04.xml.JaxpExamples
-
Transforms a DOM document back to XML text.
- transformWithAnonymousClass(String) - Method in class net.jrodolfo.java_evolution.java01.InnerClassExamples
-
Uses an anonymous inner class, the common pre-lambda callback shape.
- triggerHelpfulNullPointerException() - Method in class net.jrodolfo.java_evolution.java14.HelpfulNullPointerExceptionExamples
-
Intentionally dereferences a nested null value so tests can inspect the helpful exception message.
- trustedCodeSource() - Method in class net.jrodolfo.java_evolution.java02.security.SecurityPolicyExamples
-
Creates a synthetic code source representing where code came from.
- TryWithResourcesExamples - Class in net.jrodolfo.java_evolution.java09
-
Demonstrates the Java 9 try-with-resources improvement.
- TryWithResourcesExamples() - Constructor for class net.jrodolfo.java_evolution.java09.TryWithResourcesExamples
- TryWithResourcesStatementExamples - Class in net.jrodolfo.java_evolution.java07
-
Demonstrates try-with-resources, introduced in Java 7.
- TryWithResourcesStatementExamples() - Constructor for class net.jrodolfo.java_evolution.java07.TryWithResourcesStatementExamples
- typedNames(List) - Method in class net.jrodolfo.java_evolution.java05.GenericsExamples
-
Creates a typed list of names.
U
- unbind(String) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- unbind(Name) - Method in class net.jrodolfo.java_evolution.java03.jndi.JndiExamples.MemoryContext
- unbox(Integer) - Method in class net.jrodolfo.java_evolution.java05.AutoboxingExamples
-
Shows the important caveat: unboxing
nullis still aNullPointerException. - uniqueNames() - Method in class net.jrodolfo.java_evolution.java02.CollectionsFrameworkExamples
-
Uses a
Setwhen uniqueness matters. - UnixDomainSocketChannelExamples - Class in net.jrodolfo.java_evolution.java16.unix_domain_socket
-
Demonstrates Unix-domain socket channel support, introduced in Java 16.
- UnixDomainSocketChannelExamples() - Constructor for class net.jrodolfo.java_evolution.java16.unix_domain_socket.UnixDomainSocketChannelExamples
- UnmodifiableCollectorsExamples - Class in net.jrodolfo.java_evolution.java10
-
Demonstrates unmodifiable collectors introduced in Java 10.
- UnmodifiableCollectorsExamples() - Constructor for class net.jrodolfo.java_evolution.java10.UnmodifiableCollectorsExamples
- UnmodifiableCollectorsExamples.Feature - Class in net.jrodolfo.java_evolution.java10
-
Small Java 10-style data class used by the collector examples.
- UnnamedPatternsVariablesPreviewExamples - Class in net.jrodolfo.java_evolution.java21
-
Demonstrates unnamed patterns and variables as a Java 21 preview feature.
- UnnamedPatternsVariablesPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java21.UnnamedPatternsVariablesPreviewExamples
- UnnamedPatternsVariablesPreviewExamples.Line - Record Class in net.jrodolfo.java_evolution.java21
-
Line record used by the unnamed record-pattern example.
- UnnamedPatternsVariablesPreviewExamples.Point - Record Class in net.jrodolfo.java_evolution.java21
-
Point record used by the unnamed record-pattern example.
- UnnamedVariablesPatternsExamples - Class in net.jrodolfo.java_evolution.java22
-
Demonstrates unnamed variables and patterns, finalized in Java 22.
- UnnamedVariablesPatternsExamples() - Constructor for class net.jrodolfo.java_evolution.java22.UnnamedVariablesPatternsExamples
- UnnamedVariablesPatternsExamples.IntPairOperation - Interface in net.jrodolfo.java_evolution.java22
-
Small functional interface used to demonstrate an ignored lambda parameter.
- UnsafeMemoryAccessDeprecationExamples - Class in net.jrodolfo.java_evolution.java23.unsafe_memory_access_deprecation
-
Demonstrates Java 23's migration pressure away from
sun.misc.Unsafememory-access methods. - UnsafeMemoryAccessDeprecationExamples() - Constructor for class net.jrodolfo.java_evolution.java23.unsafe_memory_access_deprecation.UnsafeMemoryAccessDeprecationExamples
- UnsafeMemoryAccessDeprecationExamples.ProcessResult - Record Class in net.jrodolfo.java_evolution.java23.unsafe_memory_access_deprecation
-
Captures a child process result.
- unstartedThreadIsVirtual() - Method in class net.jrodolfo.java_evolution.java19.VirtualThreadsPreviewExamples
-
Creates a virtual thread without starting it immediately.
- updateWithVarHandle(int) - Method in class net.jrodolfo.java_evolution.java23.unsafe_memory_access_deprecation.UnsafeMemoryAccessDeprecationExamples
-
Demonstrates the supported replacement direction for ordinary variable access.
- uppercase(String) - Static method in class net.jrodolfo.java_evolution.java07.invokedynamic.InvokeDynamicExamples
-
Target used before mutable call-site retargeting.
- urgent(String) - Method in interface net.jrodolfo.java_evolution.java09.PrivateInterfaceMethodExamples.MessageFormatter
-
Formats an urgent message.
- URGENT - Enum constant in enum class net.jrodolfo.java_evolution.java05.EnumExamples.Priority
- uri(String) - Method in class net.jrodolfo.java_evolution.java18.simple_web_server.SimpleStaticFileServer
-
Builds a URI for a file path on the local server.
- useCase() - Method in class net.jrodolfo.java_evolution.java18.inet_address_resolution.InetAddressResolutionExamples
- usedHeapBytes() - Method in class net.jrodolfo.java_evolution.java06.monitoring_management.MonitoringManagementExamples.JvmSnapshot
- usedHeapBytes() - Method in class net.jrodolfo.java_evolution.java06.monitoring_management.MonitoringManagementExamples
-
Reads a heap-memory snapshot.
- usefulContext() - Method in class net.jrodolfo.java_evolution.java23.module_import_declarations.ModuleImportDeclarationsPreviewNotes
-
Explains the educational use case.
- useOnlyFirstValue(int, int) - Method in class net.jrodolfo.java_evolution.java22.UnnamedVariablesPatternsExamples
-
Uses an unnamed lambda parameter to show that one argument is intentionally ignored.
- User(String) - Constructor for class net.jrodolfo.java_evolution.java01.serialization.SerializationExamples.User
- User(String) - Constructor for class net.jrodolfo.java_evolution.java08.MethodReferenceExamples.User
-
Creates a user with the supplied display name.
- User(String, int, String, boolean) - Constructor for class net.jrodolfo.java_evolution.java08.StreamExamples.User
-
Creates a user for stream-processing examples.
- User(String, String) - Constructor for class net.jrodolfo.java_evolution.java08.OptionalExamples.User
-
Creates a user.
- userInsideScope(String) - Method in class net.jrodolfo.java_evolution.java25.scoped_values.ScopedValuesExamples
-
Binds a user name for the duration of one scoped operation.
- username() - Method in class net.jrodolfo.java_evolution.java01.serialization.SerializationExamples.User
- username() - Method in record class net.jrodolfo.java_evolution.java19.PatternMatchingSwitchPreviewExamples.Login
-
Returns the value of the
usernamerecord component. - username() - Method in record class net.jrodolfo.java_evolution.java19.PatternMatchingSwitchPreviewExamples.Logout
-
Returns the value of the
usernamerecord component. - Utf8DefaultCharsetExamples - Class in net.jrodolfo.java_evolution.java18
-
Demonstrates UTF-8 as the default charset, standardized in Java 18.
- Utf8DefaultCharsetExamples() - Constructor for class net.jrodolfo.java_evolution.java18.Utf8DefaultCharsetExamples
V
- value() - Method in record class net.jrodolfo.java_evolution.java22.foreign_function.ForeignFunctionCallResult
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class net.jrodolfo.java_evolution.java05.EnumExamples.Priority
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.jrodolfo.java_evolution.java07.ExceptionHandlingExamples.FailureMode
-
Returns the enum constant of this class with the specified name.
- valueOrFallback(T, Supplier) - Method in class net.jrodolfo.java_evolution.java08.LambdaExamples
-
Returns an existing value or obtains a replacement from a
Supplier. - values() - Static method in enum class net.jrodolfo.java_evolution.java05.EnumExamples.Priority
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.jrodolfo.java_evolution.java07.ExceptionHandlingExamples.FailureMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VarargsExamples - Class in net.jrodolfo.java_evolution.java05
-
Demonstrates varargs, introduced in Java 5.
- VarargsExamples() - Constructor for class net.jrodolfo.java_evolution.java05.VarargsExamples
- VectorApiEleventhIncubatorNotes - Class in net.jrodolfo.java_evolution.java26.vector_api
-
Demonstrates the Java 26 Vector API, continued as an eleventh incubator by JEP 529.
- VectorApiEleventhIncubatorNotes() - Constructor for class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes
- VectorApiEleventhIncubatorNotes.CommandResult - Record Class in net.jrodolfo.java_evolution.java26.vector_api
-
Result from one child process invocation.
- VectorApiEleventhIncubatorNotes.VectorWorkflowResult - Record Class in net.jrodolfo.java_evolution.java26.vector_api
-
Result from compiling and running the generated incubator source.
- VectorApiFifthIncubatorExamples - Class in net.jrodolfo.java_evolution.java20.vector_api
-
Demonstrates the Java 20 Vector API, continued as a fifth incubator by JEP 438.
- VectorApiFifthIncubatorExamples() - Constructor for class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples
- VectorApiFifthIncubatorExamples.CommandResult - Record Class in net.jrodolfo.java_evolution.java20.vector_api
-
Result from one child process invocation.
- VectorApiFifthIncubatorExamples.VectorWorkflowResult - Record Class in net.jrodolfo.java_evolution.java20.vector_api
-
Result from compiling, inspecting, and running the generated Vector API source.
- VectorApiTenthIncubatorExamples - Class in net.jrodolfo.java_evolution.java25.vector_api
-
Demonstrates the Java 25 Vector API, continued as a tenth incubator by JEP 508.
- VectorApiTenthIncubatorExamples() - Constructor for class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples
- VectorApiTenthIncubatorExamples.CommandResult - Record Class in net.jrodolfo.java_evolution.java25.vector_api
-
Result from one child process invocation.
- VectorApiTenthIncubatorExamples.VectorWorkflowResult - Record Class in net.jrodolfo.java_evolution.java25.vector_api
-
Result from compiling and running the generated incubator-module source.
- VectorApiTwelfthIncubatorNotes - Class in net.jrodolfo.java_evolution.java27.vector_api
-
Explains the Java 27 twelfth Vector API incubator.
- VectorApiTwelfthIncubatorNotes() - Constructor for class net.jrodolfo.java_evolution.java27.vector_api.VectorApiTwelfthIncubatorNotes
- VectorWorkflowResult(Path, Path, VectorApiFifthIncubatorExamples.CommandResult, VectorApiFifthIncubatorExamples.CommandResult, VectorApiFifthIncubatorExamples.CommandResult) - Constructor for record class net.jrodolfo.java_evolution.java20.vector_api.VectorApiFifthIncubatorExamples.VectorWorkflowResult
-
Creates an instance of a
VectorWorkflowResultrecord class. - VectorWorkflowResult(Path, Path, VectorApiTenthIncubatorExamples.CommandResult, VectorApiTenthIncubatorExamples.CommandResult) - Constructor for record class net.jrodolfo.java_evolution.java25.vector_api.VectorApiTenthIncubatorExamples.VectorWorkflowResult
-
Creates an instance of a
VectorWorkflowResultrecord class. - VectorWorkflowResult(Path, Path, VectorApiEleventhIncubatorNotes.CommandResult, VectorApiEleventhIncubatorNotes.CommandResult) - Constructor for record class net.jrodolfo.java_evolution.java26.vector_api.VectorApiEleventhIncubatorNotes.VectorWorkflowResult
-
Creates an instance of a
VectorWorkflowResultrecord class. - verifiesOriginalMessage() - Method in record class net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeDsaResult
-
Returns the value of the
verifiesOriginalMessagerecord component. - verifyHmacSha1(String, byte[]) - Method in class net.jrodolfo.java_evolution.java04.security.SecurityIntegrationExamples
-
Verifies an HMAC-SHA1 tag using constant-time comparison.
- verifyRsaSignature(String, byte[], KeyPair) - Method in class net.jrodolfo.java_evolution.java04.security.SecurityIntegrationExamples
-
Verifies a SHA256withRSA signature.
- version() - Method in record class net.jrodolfo.java_evolution.java16.RecordExamples.Feature
-
Returns the value of the
versionrecord component. - version() - Method in record class net.jrodolfo.java_evolution.java16.RecordExamples.Release
-
Returns the value of the
versionrecord component. - VirtualThreadsExamples - Class in net.jrodolfo.java_evolution.java21
-
Demonstrates virtual threads, finalized in Java 21.
- VirtualThreadsExamples() - Constructor for class net.jrodolfo.java_evolution.java21.VirtualThreadsExamples
- VirtualThreadsPreviewExamples - Class in net.jrodolfo.java_evolution.java19
-
Demonstrates virtual threads as a Java 19 preview feature.
- VirtualThreadsPreviewExamples() - Constructor for class net.jrodolfo.java_evolution.java19.VirtualThreadsPreviewExamples
- VirtualThreadsSecondPreviewNotes - Class in net.jrodolfo.java_evolution.java20
-
Explains virtual threads as a Java 20 second preview feature.
- VirtualThreadsSecondPreviewNotes() - Constructor for class net.jrodolfo.java_evolution.java20.VirtualThreadsSecondPreviewNotes
- VirtualThreadSynchronizationExamples - Class in net.jrodolfo.java_evolution.java24.virtual_thread_synchronization
-
Demonstrates Java 24 synchronization improvements for virtual threads.
- VirtualThreadSynchronizationExamples() - Constructor for class net.jrodolfo.java_evolution.java24.virtual_thread_synchronization.VirtualThreadSynchronizationExamples
- VirtualThreadSynchronizationExamples.CommandResult - Class in net.jrodolfo.java_evolution.java24.virtual_thread_synchronization
-
Result from running the child JVM probe.
- visitEach(Iterable, Consumer) - Method in class net.jrodolfo.java_evolution.java08.LambdaExamples
-
Sends each value to a caller-supplied
Consumer. - VmFlagState(String, boolean, String) - Constructor for record class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples.VmFlagState
-
Creates an instance of a
VmFlagStaterecord class. - VmFlagState(String, boolean, String) - Constructor for record class net.jrodolfo.java_evolution.java25.compact_object_headers.CompactObjectHeadersExamples.VmFlagState
-
Creates an instance of a
VmFlagStaterecord class.
W
- WebServiceSupportNotes - Class in net.jrodolfo.java_evolution.java06.web_services
-
Explains Java 6 web-service support.
- WebServiceSupportNotes() - Constructor for class net.jrodolfo.java_evolution.java06.web_services.WebServiceSupportNotes
- whatJavaIntroduced() - Method in class net.jrodolfo.java_evolution.java22.stream_gatherers.StreamGatherersPreviewNotes
-
Explains the central API idea.
- whatJavaPreviewed() - Method in class net.jrodolfo.java_evolution.java23.module_import_declarations.ModuleImportDeclarationsPreviewNotes
-
Explains the feature goal.
- whatJavaPreviewed() - Method in class net.jrodolfo.java_evolution.java23.primitive_patterns.PrimitivePatternsPreviewNotes
-
Explains what Java 23 previewed.
- whereVarCanBeUsed() - Method in class net.jrodolfo.java_evolution.java10.LocalVariableTypeInferenceExamples
-
Keeps the explicit type in the method signature because Java 10
varis only for local variables. - whyDeriveKeys() - Method in class net.jrodolfo.java_evolution.java24.key_derivation.KeyDerivationFunctionPreviewNotes
-
Explains why protocols derive multiple keys instead of reusing one raw secret everywhere.
- width() - Method in record class net.jrodolfo.java_evolution.java15.SealedClassesPreviewExamples.Rectangle
-
Returns the value of the
widthrecord component. - width() - Method in record class net.jrodolfo.java_evolution.java17.SealedClassesExamples.Rectangle
-
Returns the value of the
widthrecord component. - wordLengths(List) - Method in class net.jrodolfo.java_evolution.java10.LocalVariableTypeInferenceExamples
-
Uses
varwith a generic collection to avoid repeating the full type on both sides of the assignment. - workloadInvocations() - Method in record class net.jrodolfo.java_evolution.java25.jfr_enhancements.JfrEnhancementsExamples.JfrMethodObservation
-
Returns the value of the
workloadInvocationsrecord component. - wrapWithCause() - Method in class net.jrodolfo.java_evolution.java04.ChainedExceptionExamples
-
Wraps a low-level checked exception while preserving it as the cause.
- writeText(WritableByteChannel, String) - Method in class net.jrodolfo.java_evolution.java04.NioExamples
-
Writes text through a channel backed by a byte buffer.
- writeText(Path, String) - Method in class net.jrodolfo.java_evolution.java11.FilesApiExamples
-
Writes text to a file using
Files.writeString(Path, CharSequence, java.nio.file.OpenOption...).
X
- x() - Method in record class net.jrodolfo.java_evolution.java19.RecordPatternsPreviewExamples.Point
-
Returns the value of the
xrecord component. - x() - Method in record class net.jrodolfo.java_evolution.java21.RecordPatternsExamples.Point
-
Returns the value of the
xrecord component. - x() - Method in record class net.jrodolfo.java_evolution.java21.UnnamedPatternsVariablesPreviewExamples.Point
-
Returns the value of the
xrecord component.
Y
- y() - Method in record class net.jrodolfo.java_evolution.java19.RecordPatternsPreviewExamples.Point
-
Returns the value of the
yrecord component. - y() - Method in record class net.jrodolfo.java_evolution.java21.RecordPatternsExamples.Point
-
Returns the value of the
yrecord component. - y() - Method in record class net.jrodolfo.java_evolution.java21.UnnamedPatternsVariablesPreviewExamples.Point
-
Returns the value of the
yrecord component.
Z
- zgcAvailable() - Method in class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples
-
Checks whether the current JVM build supports ZGC.
- zgcFlagState() - Method in class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples
-
Reads the child JVM flag state after selecting ZGC.
- ZgcGenerationalModeExamples - Class in net.jrodolfo.java_evolution.java23.zgc_generational_mode
-
Demonstrates the Java 23 ZGC generational-mode runtime boundary.
- ZgcGenerationalModeExamples() - Constructor for class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples
- ZgcGenerationalModeExamples.ProcessResult - Record Class in net.jrodolfo.java_evolution.java23.zgc_generational_mode
-
Captures a child process result.
- ZgcGenerationalModeExamples.VmFlagState - Record Class in net.jrodolfo.java_evolution.java23.zgc_generational_mode
-
A JVM flag state reported by
-XX:+PrintFlagsFinal. - zgcInitializationLog() - Method in class net.jrodolfo.java_evolution.java23.zgc_generational_mode.ZgcGenerationalModeExamples
-
Captures ZGC initialization logs.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form