ExtraStore

abstract class ExtraStore

Houses auxiliary data.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
open class Key<T : Any>

Used for writing to and reading from ExtraStores.

Functions

Link copied to clipboard
abstract fun copy(): ExtraStore

Creates a copy of this ExtraStore.

Link copied to clipboard
abstract fun copyContentTo(destination: MutableMap<ExtraStore.Key<*>, Any>)

Copies this ExtraStore’s content to destination.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open operator fun <T : Any> get(key: ExtraStore.Key<T>): T

Returns the value associated with the provided key.

Link copied to clipboard
fun <T : Any> getOrNull(key: ExtraStore.Key<T>): T?

Returns the value associated with the provided key, or null if there’s no such value.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
abstract operator fun plus(other: ExtraStore): ExtraStore

Combines this ExtraStore and other.