Kactoos

kactoos-jvm / nnl.rocks.kactoos.map / MapEnvelope / unsafeGet

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.

Parameters

key - K Key.

Exceptions

NoSuchElementException - if key is not present in the map.

Return V Value.

See Also

Map.getValue

Since 0.5