kactoos-jvm / nnl.rocks.kactoos.map / MapOf
class MapOf<X :
Any
, Y :
Any
> :
MapEnvelope
<
X
,
Y
>
Constructs Map from various inputs.
There is no thread-safety guarantee.
X
- Type of key
Y
- Type of value
Name | Summary |
---|---|
<init> | MapOf(vararg entries: Entry < X , Y >) Map from vararg Map.Entry MapOf(source: Map < X , Y >, vararg entries: Entry < X , Y >) Extend Map with vararg entries MapOf(source: Map < X , Y >, entries: Iterable < Entry < X , Y >>) Extend Map with iterable entries MapOf(entries: Iterable < Entry < X , Y >>) Map from iterable Map.Entry |
Name | Summary |
---|---|
unsafeGet | fun unsafeGet(key: K ): V Returns the value corresponding to the given key, or throws NoSuchElementException if such a key is not present in the map. |
Name | Summary |
---|---|
invoke | operator fun <X : Any , Y : Any , Z : Any > invoke(key: KFunc < Z , X >, value: KFunc < Z , Y >, list: Iterable < Z >): MapOf < X , Y > operator fun <X : Any , Y : Any , Z : Any > invoke(key: KFunc < Z , X >, value: KFunc < Z , Y >, src: Map < X , Y >, list: Iterable < Z >): MapOf < X , Y > operator fun <X : Any , Y : Any , Z : Any > invoke(entry: KFunc < Z , Entry < X , Y >>, list: Iterable < Z >): MapOf < X , Y > operator fun <X : Any , Y : Any , Z : Any > invoke(entry: KFunc < Z , Entry < X , Y >>, src: Map < X , Y >, list: Iterable < Z >): MapOf < X , Y > operator fun <X : Any , Y : Any , Z : Any > invoke(key: Func < Z , X >, value: Func < Z , Y >, list: Iterable < Z >): MapOf < X , Y > operator fun <X : Any , Y : Any , Z : Any > invoke(key: Func < Z , X >, value: Func < Z , Y >, src: Map < X , Y >, list: Iterable < Z >): MapOf < X , Y > operator fun <X : Any , Y : Any , Z : Any > invoke(entry: Func < Z , Entry < X , Y >>, list: Iterable < Z >): MapOf < X , Y > operator fun <X : Any , Y : Any , Z : Any > invoke(entry: Func < Z , Entry < X , Y >>, src: Map < X , Y >, list: Iterable < Z >): MapOf < X , Y > |