Package-level declarations

Types

Link copied to clipboard
interface KoneMap<Key, out Value>
Link copied to clipboard
data class KoneMapEntry<out Key, out Value>(val key: Key, val value: Value)
Link copied to clipboard
interface KoneMapNode<out Key, out Value>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface KoneReifiedMap<out Key, out Value> : KoneMap<Key, Value>

Functions

Link copied to clipboard
inline fun <Element, Key, Value> KoneIterable<Element>.associate(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, transform: (Element) -> KoneMapEntry<Key, Value>): KoneMap<Key, Value>
Link copied to clipboard
inline fun <Element, Key> KoneIterable<Element>.associateBy(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, keySelector: (Element) -> Key): KoneMap<Key, Element>
inline fun <Element, Key, Value> KoneIterable<Element>.associateBy(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, keySelector: (Element) -> Key, valueTransform: (Element) -> Value): KoneMap<Key, Value>
Link copied to clipboard
inline fun <Element, Key> KoneIterable<Element>.associateByReified(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, keySelector: (Element) -> Key): KoneReifiedMap<Key, Element>
inline fun <Element, Key, Value> KoneIterable<Element>.associateByReified(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, keySelector: (Element) -> Key, valueTransform: (Element) -> Value): KoneReifiedMap<Key, Value>
inline fun <Element, Key> KoneIterable<Element>.associateByReified(keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, keySelector: (Element) -> Key): KoneReifiedMap<Key, Element>
inline fun <Element, Key, Value> KoneIterable<Element>.associateByReified(keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, keySelector: (Element) -> Key, valueTransform: (Element) -> Value): KoneReifiedMap<Key, Value>
Link copied to clipboard
inline fun <Element, Key, Value, Destination : KoneMutableMap<in Key, in Value>> KoneIterable<Element>.associateByTo(destination: Destination, keySelector: (Element) -> Key, valueTransform: (Element) -> Value): Destination
Link copied to clipboard
inline fun <Element, Key, Value> KoneIterable<Element>.associateReified(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, transform: (Element) -> KoneMapEntry<Key, Value>): KoneReifiedMap<Key, Value>
inline fun <Element, Key, Value> KoneIterable<Element>.associateReified(keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, transform: (Element) -> KoneMapEntry<Key, Value>): KoneReifiedMap<Key, Value>
Link copied to clipboard
Link copied to clipboard
inline fun <Key, Value> KoneIterable<Key>.associateWith(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, valueSelector: (Key) -> Value): KoneMap<Key, Value>
Link copied to clipboard
inline fun <Key, Value> KoneIterable<Key>.associateWithReified(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, valueSelector: (Key) -> Value): KoneReifiedMap<Key, Value>
inline fun <Key, Value> KoneIterable<Key>.associateWithReified(keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, valueSelector: (Key) -> Value): KoneReifiedMap<Key, Value>
Link copied to clipboard
inline fun <Key, Value, Destination : KoneMutableMap<in Key, in Value>> KoneIterable<Key>.associateWithTo(destination: Destination, valueSelector: (Key) -> Value): Destination
Link copied to clipboard
inline fun <Key, Value> buildKoneContextualMap(keyType: SuppliedType<Key>, builderAction: KoneMutableMap<Key, Value>.() -> Unit): KoneMap<Key, Value>
inline fun <Key, Value> buildKoneContextualMap(initialCapacity: UInt, keyType: SuppliedType<Key>, builderAction: KoneMutableMap<Key, Value>.() -> Unit): KoneMap<Key, Value>
Link copied to clipboard
Link copied to clipboard
inline fun <Key, Value> buildKoneMap(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, builderAction: KoneMutableMap<Key, Value>.() -> Unit): KoneMap<Key, Value>
inline fun <Key, Value> buildKoneMap(initialCapacity: UInt, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, builderAction: KoneMutableMap<Key, Value>.() -> Unit): KoneMap<Key, Value>
Link copied to clipboard
inline fun <Key, Value> buildKoneReifiedMap(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, builderAction: KoneMutableReifiedMap<Key, Value>.() -> Unit): KoneReifiedMap<Key, Value>
inline fun <Key, Value> buildKoneReifiedMap(keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, builderAction: KoneMutableReifiedMap<Key, Value>.() -> Unit): KoneReifiedMap<Key, Value>
inline fun <Key, Value> buildKoneReifiedMap(initialCapacity: UInt, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, builderAction: KoneMutableReifiedMap<Key, Value>.() -> Unit): KoneReifiedMap<Key, Value>
inline fun <Key, Value> buildKoneReifiedMap(initialCapacity: UInt, keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null, builderAction: KoneMutableReifiedMap<Key, Value>.() -> Unit): KoneReifiedMap<Key, Value>
Link copied to clipboard
operator fun <Key> KoneMap<in Key, *>.contains(key: Key): Boolean
operator fun <Key> KoneReifiedMap<Key, *>.contains(key: Key): Boolean
Link copied to clipboard
Link copied to clipboard
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
operator fun <Key, Value> KoneMap<in Key, Value>.get(key: Key): Value
Link copied to clipboard
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
inline fun <Key, Value> KoneMutableMap<in Key, Value>.getOrSet(key: Key, default: () -> Value): Value
Link copied to clipboard
fun KoneMap<*, *>.isEmpty(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <Key, Value> koneMapOf(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneMap<Key, Value>
fun <Key, Value> koneMapOf(entry: KoneMapEntry<Key, Value>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneMap<Key, Value>
fun <Key, Value> koneMapOf(vararg entries: KoneMapEntry<Key, Value>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneMap<Key, Value>
Link copied to clipboard
fun <Key, Value> koneMutableMapOf(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneMutableMap<Key, Value>
fun <Key, Value> koneMutableMapOf(vararg entries: KoneMapEntry<Key, Value>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneMutableMap<Key, Value>
Link copied to clipboard
inline fun <Key, Value> koneMutableReifiedMapOf(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneMutableReifiedMap<Key, Value>
fun <Key, Value> koneMutableReifiedMapOf(keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneMutableReifiedMap<Key, Value>
inline fun <Key, Value> koneMutableReifiedMapOf(vararg entries: KoneMapEntry<Key, Value>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneMutableReifiedMap<Key, Value>
fun <Key, Value> koneMutableReifiedMapOf(vararg entries: KoneMapEntry<Key, Value>, keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneMutableReifiedMap<Key, Value>
Link copied to clipboard
inline fun <Key, Value> koneReifiedMapOf(keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneReifiedMap<Key, Value>
inline fun <Key, Value> koneReifiedMapOf(entry: KoneMapEntry<Key, Value>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneReifiedMap<Key, Value>
fun <Key, Value> koneReifiedMapOf(keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneReifiedMap<Key, Value>
inline fun <Key, Value> koneReifiedMapOf(vararg entries: KoneMapEntry<Key, Value>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneReifiedMap<Key, Value>
fun <Key, Value> koneReifiedMapOf(entry: KoneMapEntry<Key, Value>, keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneReifiedMap<Key, Value>
fun <Key, Value> koneReifiedMapOf(vararg entries: KoneMapEntry<Key, Value>, keyReification: Reification<Key>, keyEquality: Equality<Key> = defaultEquality(), keyHashing: Hashing<Key>? = null, keyOrder: Order<Key>? = null): KoneReifiedMap<Key, Value>
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>
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>
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
Link copied to clipboard
infix fun <Key, Value> Key.mapsTo(value: Value): KoneMapEntry<Key, Value>
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
Link copied to clipboard
fun <Key> KoneMutableMap<in Key, *>.remove(key: Key)
Link copied to clipboard
@JvmName(name = "setAllEntriesFrom")
fun <Key, Value> KoneMutableMap<Key, Value>.setAllFrom(entries: KoneIterable<KoneMapEntry<Key, Value>>)
@JvmName(name = "setAllNodesFrom")
fun <Key, Value> KoneMutableMap<Key, Value>.setAllFrom(nodes: KoneIterable<KoneMapNode<Key, Value>>)
Link copied to clipboard