commonMain.io.realm.kotlin.internal.platform.WeakReference.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of library-base-jvm Show documentation
Show all versions of library-base-jvm Show documentation
Library code for Realm Kotlin. This artifact is not supposed to be consumed directly, but through 'io.realm.kotlin:gradle-plugin:1.11.1' instead.
package io.realm.kotlin.internal.platform
/**
* Platform agnostic _WeakReference_ wrapper.
*
* Basically just wrapping underlying platform implementations.
*/
// TODO This is currently public because making it public breaks something in Kotlins type check for Strict mode
public expect class WeakReference(referred: T) {
public fun clear()
public fun get(): T?
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy