API Browser

Method

Entry

func Entry<K, V>(key: K) -> MapEntry<K, V>

Declaring type: MutableMapExtensions<K, V>
Namespace: System.Collections.Generic
Assembly: Raven.Core.dll
Source file: MutableMapExtensions.rvn

Extension from MutableMapExtensions<K, V>.Entry

Creates a reusable live locator without looking up or inserting the key. The mutable map retained by the locator. The key to resolve on each operation. A managed MapEntry retaining the map and key. No storage references, lock, reservation or atomic transaction. The locator remains usable after growth and replacement.

Parameters

Name Type Description
self IDictionary<K, V>
key K

Return value

MapEntry<K, V>