MapWrapper

abstract class MapWrapper<K, V> : Map<K, V>

Inheritors

Constructors

Link copied to clipboard
constructor(map: Map<K, V>)

Functions

Link copied to clipboard
open fun clear()
Link copied to clipboard
open fun compute(key: K, @NonNull remappingFunction: BiFunction<in K, in V, out V>): V
Link copied to clipboard
open fun computeIfAbsent(key: K, @NonNull mappingFunction: (in K) -> out V): V
Link copied to clipboard
open fun computeIfPresent(key: K, @NonNull remappingFunction: BiFunction<in K, in V, out V>): V
Link copied to clipboard
open fun containsKey(@Nullable key: Any): Boolean
Link copied to clipboard
open fun containsValue(@Nullable value: Any): Boolean
Link copied to clipboard
open fun <K, V> copyOf(map: Map<out K, out V>): Map<K, V>
Link copied to clipboard
open fun <K, V> entry(k: K, v: V): Map.Entry<K, V>
Link copied to clipboard
open fun entrySet(): Set<Map.Entry<K, V>>
Link copied to clipboard
open fun equals(@Nullable obj: Any): Boolean
Link copied to clipboard
open fun forEach(@NonNull action: BiConsumer<in K, in V>)
Link copied to clipboard
open fun get(@Nullable key: Any): V
Link copied to clipboard
open fun getOrDefault(@Nullable key: Any, @Nullable defaultValue: V): V
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun isEmpty(): Boolean
Link copied to clipboard
open fun keySet(): Set<K>
Link copied to clipboard
open fun merge(key: K, @NonNull value: V, @NonNull remappingFunction: BiFunction<in V, in V, out V>): V
Link copied to clipboard
open fun <K, V> of(): Map<K, V>
Link copied to clipboard
open fun <K, V> ofEntries(entries: Array<Map.Entry<out K, out V>>): Map<K, V>
Link copied to clipboard
open fun put(key: K, value: V): V
Link copied to clipboard
open fun putAll(@NonNull m: Map<out K, out V>)
Link copied to clipboard
open fun putIfAbsent(key: K, value: V): V
Link copied to clipboard
open fun remove(@Nullable key: Any): V
open fun remove(@Nullable key: Any, @Nullable value: Any): Boolean
Link copied to clipboard
open fun replace(key: K, value: V): V
open fun replace(key: K, @Nullable oldValue: V, newValue: V): Boolean
Link copied to clipboard
open fun replaceAll(@NonNull function: BiFunction<in K, in V, out V>)
Link copied to clipboard
open fun size(): Int
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun values(): Collection<V>