# Uses of Class
java.lang.ScopedValue.Carrier

Packages that use ScopedValue.CarrierPREVIEW
Package
Description
java.lang
Provides classes that are fundamental to the design of the Java programming language.

- ## Uses of ScopedValue.CarrierPREVIEW in java.lang

  Methods in java.lang that return ScopedValue.CarrierPREVIEW
  Modifier and Type
  Method
  Description
  `<T> ScopedValue.CarrierPREVIEW`
  ScopedValue.Carrier.`where(ScopedValuePREVIEW<T> key, T value)`
  Returns a new `Carrier` with the mappings from this carrier plus a new mapping from `key` to `value`.
  `static <T> ScopedValue.CarrierPREVIEW`
  ScopedValue.`where(ScopedValuePREVIEW<T> key, T value)`
  Creates a new `Carrier` with a single mapping of a `ScopedValue` key to a value.