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

commonMain.maryk.rocksdb.Holder.kt Maven / Gradle / Ivy

package maryk.rocksdb

/** Simple instance reference wrapper. */
expect class Holder {
    /** Constructs a new Holder with null instance. */
    constructor()

    /**
     * Constructs a new Holder.
     * [value] the instance or null
     */
    constructor(value: T?)

    /** Get the instance reference. */
    fun getValue(): T?

    /** Set the instance reference. */
    fun setValue(value: T?)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy