All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.io.realm.kotlin.internal.platform.WeakReference.kt Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 3.0.0
Show newest version
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