Uses of Class
java.lang.ScopedValue
Packages that use ScopedValuePREVIEW
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
-
Uses of ScopedValuePREVIEW in java.lang
Methods in java.lang that return ScopedValuePREVIEWModifier and TypeMethodDescriptionstatic <T> ScopedValuePREVIEW
<T> ScopedValue.newInstance()
Creates a scoped value that is initially unbound for all threads.Methods in java.lang with parameters of type ScopedValuePREVIEWModifier and TypeMethodDescription<T> T
ScopedValue.Carrier.get
(ScopedValuePREVIEW<T> key) Returns the value of aScopedValue
PREVIEW in this mapping.ScopedValue.Carrier.where
(ScopedValuePREVIEW<T> key, T value) Returns a newCarrier
with the mappings from this carrier plus a new mapping fromkey
tovalue
.static <T> ScopedValue.CarrierPREVIEW
ScopedValue.where
(ScopedValuePREVIEW<T> key, T value) Creates a newCarrier
with a single mapping of aScopedValue
key to a value.