//protobuf-kotlin/com.google.protobuf.kotlin/DslMap
DslMap
[JVM] class DslMap<K, V, P : DslProxy>constructor(delegate: Map<K, V>) : Map<K, V>
A simple wrapper around a Map with an extra generic parameter that can be used to disambiguate extension methods.
This class is used by Kotlin protocol buffer extensions, and its constructor is public only because generated message code is in a different compilation unit. Others should not use this class directly in any way.
Constructors
Name | Summary |
---|---|
[DslMap]) | [JVM] fun <K, V> DslMap(delegate: Map<K, V>) |
Functions
Name | Summary |
---|---|
containsKey | [JVM] Content open override fun containsKey(key: K): Boolean |
containsValue | [JVM] Content open override fun containsValue(value: V): Boolean |
equals | [JVM] Content open operator override fun equals(other: Any?): Boolean |
forEach | [JVM] Content open fun forEach(p0: BiConsumer<in K, in V>) |
get | [JVM] Content open operator override fun get(key: K): V? |
getOrDefault | [JVM] Content open fun getOrDefault(key: K, defaultValue: V): V |
hashCode | [JVM] Content open override fun hashCode(): Int |
isEmpty | [JVM] Content open override fun isEmpty(): Boolean |
toString | [JVM] Content open override fun toString(): String |
Properties
Name | Summary |
---|---|
entries | [JVM] open override val entries: Set<Map.Entry<K, V» |
keys | [JVM] open override val keys: Set<K> |
size | [JVM] open override val size: Int |
values | [JVM] open override val values: Collection<V> |