Properties

Link copied to clipboard
open val keys: KoneSet<Key>
Link copied to clipboard
abstract val keysView: KoneSet<Key>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val size: UInt
Link copied to clipboard

Functions

Link copied to clipboard
inline fun <K, V, R> KoneMap<in K, V>.computeOn(key: K, compute: (Maybe<V>) -> R): R
Link copied to clipboard
inline fun <K, V, R> KoneMap<K, V>.computeOnOrElse(key: K, defaultResult: () -> R, compute: (value: V) -> R): R
Link copied to clipboard
operator fun <Key> KoneMap<in Key, *>.contains(key: Key): Boolean
Link copied to clipboard
fun <Key> KoneMap<in Key, *>.containsKey(key: Key): Boolean
Link copied to clipboard
inline fun <K, V, W, D : KoneMutableMap<K, W>> KoneMap<out K, V>.copyMapTo(destination: D, transform: (KoneMapEntry<K, V>) -> W): D
Link copied to clipboard
inline fun <K, V, W, D : KoneMutableMap<K, W>> KoneMap<out K, V>.copyMapToBy(destination: D, transform: (KoneMapEntry<K, V>) -> W, resolve: (key: K, currentValue: W, newValue: V) -> W): D
Link copied to clipboard
fun <K, V, D : KoneMutableMap<K, V>> KoneMap<out K, V>.copyTo(destination: D): D
Link copied to clipboard
inline fun <K, V : W, W, D : KoneMutableMap<K, W>> KoneMap<out K, V>.copyToBy(destination: D, resolve: (key: K, currentValue: W, newValue: V) -> W): D
Link copied to clipboard
inline fun <Key, V> KoneMap<out Key, V>.filterKeys(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, predicate: (Key) -> Boolean): KoneMap<Key, V>
Link copied to clipboard
inline fun <Key, V> KoneMap<out Key, V>.filterKeysReified(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, predicate: (Key) -> Boolean): KoneReifiedMap<Key, V>
inline fun <Key, V> KoneMap<out Key, V>.filterKeysReified(keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, predicate: (Key) -> Boolean): KoneReifiedMap<Key, V>
Link copied to clipboard
inline fun <K, V, D : KoneMutableMap<in K, in V>> KoneMap<out K, V>.filterKeysTo(destination: D, predicate: (K) -> Boolean): D
Link copied to clipboard
inline fun <Key, V> KoneMap<out Key, V>.filterValues(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, predicate: (V) -> Boolean): KoneMap<Key, V>
Link copied to clipboard
inline fun <Key, V> KoneMap<out Key, V>.filterValuesReified(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, predicate: (V) -> Boolean): KoneReifiedMap<Key, V>
inline fun <Key, Value> KoneMap<out Key, Value>.filterValuesReified(keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, predicate: (Value) -> Boolean): KoneReifiedMap<Key, Value>
Link copied to clipboard
inline fun <K, V, D : KoneMutableMap<in K, in V>> KoneMap<out K, V>.filterValuesTo(destination: D, predicate: (V) -> Boolean): D
Link copied to clipboard
inline fun <K, V, R> KoneMap<out K, V>.fold(initial: R, operation: (acc: R, KoneMapEntry<K, V>) -> R): R
Link copied to clipboard
operator fun <Key, Value> KoneMap<in Key, Value>.get(key: Key): Value
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getNodeOrNull(key: Key): KoneMapNode<Key, Value>?
Link copied to clipboard
fun <Key, Value> KoneMap<in Key, Value>.getOrDefault(key: Key, default: Value): Value
Link copied to clipboard
inline fun <Key, Value> KoneMap<in Key, Value>.getOrElse(key: Key, default: () -> Value): Value
Link copied to clipboard
fun <Key, Value> KoneMap<in Key, Value>.getOrNull(key: Key): Value?
Link copied to clipboard
fun KoneMap<*, *>.isEmpty(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <K, V, L> KoneMap<out K, V>.mapKeys(keyEquality: Equality<L> = defaultEquality(), keyHashing: Hashing<L>? = null, keyOrder: Order<L>? = null, transform: (KoneMapEntry<K, V>) -> L): KoneMap<L, V>
inline fun <K, V, L> KoneMap<out K, V>.mapKeys(keyEquality: Equality<L> = defaultEquality(), keyHashing: Hashing<L>? = null, keyOrder: Order<L>? = null, transform: (KoneMapEntry<K, V>) -> L, resolve: (key: L, currentValue: V, newValue: V) -> V): KoneMap<L, V>
Link copied to clipboard
inline fun <K, V, L> KoneMap<out K, V>.mapKeysReified(keyEquality: Equality<L> = defaultEquality(), keyHashing: Hashing<L>? = null, keyOrder: Order<L>? = null, transform: (KoneMapEntry<K, V>) -> L): KoneReifiedMap<L, V>
inline fun <K, V, L> KoneMap<out K, V>.mapKeysReified(keyReification: Reification<L>, keyEquality: Equality<L> = defaultEquality(), keyHashing: Hashing<L>? = null, keyOrder: Order<L>? = null, transform: (KoneMapEntry<K, V>) -> L): KoneReifiedMap<L, V>
inline fun <K, V, L> KoneMap<out K, V>.mapKeysReified(keyEquality: Equality<L> = defaultEquality(), keyHashing: Hashing<L>? = null, keyOrder: Order<L>? = null, transform: (KoneMapEntry<K, V>) -> L, resolve: (key: L, currentValue: V, newValue: V) -> V): KoneReifiedMap<L, V>
inline fun <K, V, L> KoneMap<out K, V>.mapKeysReified(keyReification: Reification<L>, keyEquality: Equality<L> = defaultEquality(), keyHashing: Hashing<L>? = null, keyOrder: Order<L>? = null, transform: (KoneMapEntry<K, V>) -> L, resolve: (key: L, currentValue: V, newValue: V) -> V): KoneReifiedMap<L, V>
Link copied to clipboard
inline fun <K, V, L, D : KoneMutableMap<in L, in V>> KoneMap<out K, V>.mapKeysTo(destination: D, transform: (KoneMapEntry<K, V>) -> L): D
inline fun <K, V, L, D : KoneMutableMap<in L, V>> KoneMap<out K, V>.mapKeysTo(destination: D, transform: (KoneMapEntry<K, V>) -> L, resolve: (key: L, currentValue: V, newValue: V) -> V): D
Link copied to clipboard
inline fun <K, V, T : R, R> KoneMap<out K, V>.mapReduce(transform: (KoneMapEntry<K, V>) -> T, operation: (acc: R, T) -> R): R
Link copied to clipboard
inline fun <K, V, T : R, R> KoneMap<out K, V>.mapReduceMaybe(transform: (KoneMapEntry<K, V>) -> T, operation: (acc: R, T) -> R): Maybe<R>
Link copied to clipboard
inline fun <K, V, T : R, R> KoneMap<out K, V>.mapReduceOrNull(transform: (KoneMapEntry<K, V>) -> T, operation: (acc: R, T) -> R): R?
Link copied to clipboard
inline fun <Key, V, W> KoneMap<out Key, V>.mapValues(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, transform: (KoneMapEntry<Key, V>) -> W): KoneMap<Key, W>
Link copied to clipboard
inline fun <Key, V, W> KoneMap<out Key, V>.mapValuesReified(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, transform: (KoneMapEntry<Key, V>) -> W): KoneReifiedMap<Key, W>
inline fun <Key, V, W> KoneMap<out Key, V>.mapValuesReified(keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, transform: (KoneMapEntry<Key, V>) -> W): KoneReifiedMap<Key, W>
Link copied to clipboard
inline fun <K, V, W, D : KoneMutableMap<in K, in W>> KoneMap<out K, V>.mapValuesTo(destination: D, transform: (KoneMapEntry<K, V>) -> W): D
inline fun <K, V, W, D : KoneMutableMap<in K, W>> KoneMap<out K, V>.mapValuesTo(destination: D, transform: (KoneMapEntry<K, V>) -> W, resolve: (key: K, currentValue: W, newValue: W) -> W): D
Link copied to clipboard
inline fun <K, V> KoneMap<K, V>.withChanged(key: K, keyEquality: Equality<K> = defaultEquality(), keyHashing: Hashing<K>? = null, keyOrder: Order<K>? = null, transform: (currentValue: V) -> V): KoneMap<K, V>
Link copied to clipboard
inline fun <K, V> KoneMap<K, V>.withChangedContextual(key: K, keyType: SuppliedType<K>, transform: (currentValue: V) -> V): KoneMap<K, V>
Link copied to clipboard
inline fun <K, V> KoneMap<K, V>.withChangedContextualReified(key: K, keyType: SuppliedType<K>, transform: (currentValue: V) -> V): KoneReifiedMap<K, V>
Link copied to clipboard
inline fun <K, V> KoneMap<K, V>.withChangedReified(key: K, keyEquality: Equality<K> = defaultEquality(), keyHashing: Hashing<K>? = null, keyOrder: Order<K>? = null, transform: (currentValue: V) -> V): KoneReifiedMap<K, V>
inline fun <K, V> KoneMap<K, V>.withChangedReified(key: K, keyReification: Reification<K>, keyEquality: Equality<K> = defaultEquality(), keyHashing: Hashing<K>? = null, keyOrder: Order<K>? = null, transform: (currentValue: V) -> V): KoneReifiedMap<K, V>
Link copied to clipboard
inline fun <K, V> KoneMap<out K, V>.withSetOrChanged(key: K, keyEquality: Equality<K> = defaultEquality(), keyHashing: Hashing<K>? = null, keyOrder: Order<K>? = null, valueOnSet: () -> V, transformOnChange: (currentValue: V) -> V): KoneMap<K, V>
Link copied to clipboard
inline fun <K, V> KoneMap<out K, V>.withSetOrChangedReified(key: K, keyEquality: Equality<K> = defaultEquality(), keyHashing: Hashing<K>? = null, keyOrder: Order<K>? = null, valueOnSet: () -> V, transformOnChange: (currentValue: V) -> V): KoneReifiedMap<K, V>
inline fun <K, V> KoneMap<out K, V>.withSetOrChangedReified(key: K, keyReification: Reification<K>, keyEquality: Equality<K> = defaultEquality(), keyHashing: Hashing<K>? = null, keyOrder: Order<K>? = null, valueOnSet: () -> V, transformOnChange: (currentValue: V) -> V): KoneReifiedMap<K, V>