v1.8.10
  • Solutions
    • Multiplatform
    • Server-side
    • Data science
    • Android
  • Docs
  • Community
  • Teach
  • Play
    • Playground
    • Hands-on
    • Examples
    • Koans
← Docs
kotlin-stdlib / kotlin.native.concurrent / AtomicReference / value

value

Native
1.3
var value: T
(source)

The referenced value. Gets the value or sets the new value. Legacy MM: if new value is not null, it must be frozen or permanent object.

Exceptions

InvalidMutabilityException - with legacy MM if the value is not frozen or a permanent object

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Kotlin™ is protected under the Kotlin Foundation and licensed under the Apache 2 license.
Supported and developed by JetBrains