# Uses of Class
jdk.incubator.concurrent.ScopedValue.Carrier

Packages that use ScopedValue.Carrier
Package
Description
jdk.incubator.concurrent
Defines non-final APIs for concurrent programming.

- ## Uses of ScopedValue.Carrier in jdk.incubator.concurrent

  Methods in jdk.incubator.concurrent that return ScopedValue.Carrier
  Modifier and Type
  Method
  Description
  `<T> ScopedValue.Carrier`
  ScopedValue.Carrier.`where(ScopedValue<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.Carrier`
  ScopedValue.`where(ScopedValue<T> key, T value)`
  Creates a new `Carrier` with a single mapping of a `ScopedValue` key to a value.