| <!DOCTYPE html> |
| <!--[if IE]><![endif]--> |
| <html> |
| |
| <head> |
| <meta charset="utf-8"> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| <title>Class IdentityHashMap<TKey, TValue> |
| | Apache Lucene.NET 4.8.0 Documentation </title> |
| <meta name="viewport" content="width=device-width"> |
| <meta name="title" content="Class IdentityHashMap<TKey, TValue> |
| | Apache Lucene.NET 4.8.0 Documentation "> |
| <meta name="generator" content="docfx 2.47.0.0"> |
| |
| <link rel="shortcut icon" href="../../logo/favicon.ico"> |
| <link rel="stylesheet" href="../../styles/docfx.vendor.css"> |
| <link rel="stylesheet" href="../../styles/docfx.css"> |
| <link rel="stylesheet" href="../../styles/main.css"> |
| <meta property="docfx:navrel" content="../../toc.html"> |
| <meta property="docfx:tocrel" content="../toc.html"> |
| |
| <meta property="docfx:rel" content="../../"> |
| |
| </head> |
| <body data-spy="scroll" data-target="#affix" data-offset="120"> |
| <div id="wrapper"> |
| <header> |
| |
| <nav id="autocollapse" class="navbar ng-scope" role="navigation"> |
| <div class="container"> |
| <div class="navbar-header"> |
| <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar"> |
| <span class="sr-only">Toggle navigation</span> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| </button> |
| |
| <a class="navbar-brand" href="../../index.html"> |
| <img id="logo" class="svg" src="../../logo/lucene-net-color.png" alt=""> |
| </a> |
| </div> |
| <div class="collapse navbar-collapse" id="navbar"> |
| <form class="navbar-form navbar-right" role="search" id="search"> |
| <div class="form-group"> |
| <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off"> |
| </div> |
| </form> |
| </div> |
| </div> |
| </nav> |
| |
| <div class="subnav navbar navbar-default"> |
| <div class="container hide-when-search" id="breadcrumb"> |
| <ul class="breadcrumb"> |
| <li></li> |
| </ul> |
| </div> |
| </div> |
| </header> |
| <div class="container body-content"> |
| |
| <div id="search-results"> |
| <div class="search-list"></div> |
| <div class="sr-items"> |
| <p><i class="glyphicon glyphicon-refresh index-loading"></i></p> |
| </div> |
| <ul id="pagination"></ul> |
| </div> |
| </div> |
| <div role="main" class="container body-content hide-when-search"> |
| |
| <div class="sidenav hide-when-search"> |
| <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a> |
| <div class="sidetoggle collapse" id="sidetoggle"> |
| <div id="sidetoc"></div> |
| </div> |
| </div> |
| <div class="article row grid-right"> |
| <div class="col-md-10"> |
| <article class="content wrap" id="_content" data-uid="Lucene.Net.Support.IdentityHashMap`2"> |
| |
| |
| <h1 id="Lucene_Net_Support_IdentityHashMap_2" data-uid="Lucene.Net.Support.IdentityHashMap`2" class="text-break">Class IdentityHashMap<TKey, TValue> |
| </h1> |
| <div class="markdown level0 summary"></div> |
| <div class="markdown level0 conceptual"></div> |
| <div class="inheritance"> |
| <h5>Inheritance</h5> |
| <div class="level0"><span class="xref">System.Object</span></div> |
| <div class="level1"><a class="xref" href="Lucene.Net.Support.HashMap-2.html">HashMap</a><TKey, TValue></div> |
| <div class="level2"><span class="xref">IdentityHashMap<TKey, TValue></span></div> |
| </div> |
| <div classs="implements"> |
| <h5>Implements</h5> |
| <div><span class="xref">System.Collections.Generic.IDictionary</span><TKey, TValue></div> |
| <div><span class="xref">System.Collections.Generic.ICollection</span><<span class="xref">System.Collections.Generic.KeyValuePair</span><TKey, TValue>></div> |
| <div><span class="xref">System.Collections.Generic.IEnumerable</span><<span class="xref">System.Collections.Generic.KeyValuePair</span><TKey, TValue>></div> |
| <div><span class="xref">System.Collections.IEnumerable</span></div> |
| </div> |
| <div class="inheritedMembers"> |
| <h5>Inherited Members</h5> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_ContainsValue__1_">HashMap<TKey, TValue>.ContainsValue(TValue)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_AddIfAbsent__0__1_">HashMap<TKey, TValue>.AddIfAbsent(TKey, TValue)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_Equals_System_Object_">HashMap<TKey, TValue>.Equals(Object)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_GetHashCode">HashMap<TKey, TValue>.GetHashCode()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_ToString">HashMap<TKey, TValue>.ToString()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_GetEnumerator">HashMap<TKey, TValue>.GetEnumerator()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_System_Collections_IEnumerable_GetEnumerator">HashMap<TKey, TValue>.IEnumerable.GetEnumerator()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_Add_System_Collections_Generic_KeyValuePair__0__1__">HashMap<TKey, TValue>.Add(KeyValuePair<TKey, TValue>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_Clear">HashMap<TKey, TValue>.Clear()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_Contains_System_Collections_Generic_KeyValuePair__0__1__">HashMap<TKey, TValue>.Contains(KeyValuePair<TKey, TValue>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_CopyTo_System_Collections_Generic_KeyValuePair__0__1____System_Int32_">HashMap<TKey, TValue>.CopyTo(KeyValuePair<TKey, TValue>[], Int32)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_Remove_System_Collections_Generic_KeyValuePair__0__1__">HashMap<TKey, TValue>.Remove(KeyValuePair<TKey, TValue>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_Count">HashMap<TKey, TValue>.Count</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_IsReadOnly">HashMap<TKey, TValue>.IsReadOnly</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_ContainsKey__0_">HashMap<TKey, TValue>.ContainsKey(TKey)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_Add__0__1_">HashMap<TKey, TValue>.Add(TKey, TValue)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_Remove__0_">HashMap<TKey, TValue>.Remove(TKey)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_TryGetValue__0__1__">HashMap<TKey, TValue>.TryGetValue(TKey, TValue)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_Item__0_">HashMap<TKey, TValue>.Item[TKey]</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_Keys">HashMap<TKey, TValue>.Keys</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.HashMap-2.html#Lucene_Net_Support_HashMap_2_Values">HashMap<TKey, TValue>.Values</a> |
| </div> |
| <div> |
| <span class="xref">System.Object.Equals(System.Object)</span> |
| </div> |
| <div> |
| <span class="xref">System.Object.Equals(System.Object, System.Object)</span> |
| </div> |
| <div> |
| <span class="xref">System.Object.GetHashCode()</span> |
| </div> |
| <div> |
| <span class="xref">System.Object.GetType()</span> |
| </div> |
| <div> |
| <span class="xref">System.Object.MemberwiseClone()</span> |
| </div> |
| <div> |
| <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span> |
| </div> |
| <div> |
| <span class="xref">System.Object.ToString()</span> |
| </div> |
| </div> |
| <h6><strong>Namespace</strong>: <a class="xref" href="../Lucene.Net.Benchmarks/Lucene.Net.Support.html">Lucene.Net.Support</a></h6> |
| <h6><strong>Assembly</strong>: Lucene.Net.dll</h6> |
| <h5 id="Lucene_Net_Support_IdentityHashMap_2_syntax">Syntax</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public class IdentityHashMap<TKey, TValue> : HashMap<TKey, TValue>, IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable where TKey : class</code></pre> |
| </div> |
| <h5 class="typeParameters">Type Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="parametername">TKey</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="parametername">TValue</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 id="constructors">Constructors |
| </h3> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_IdentityHashMap_2__ctor.md&value=---%0Auid%3A%20Lucene.Net.Support.IdentityHashMap%602.%23ctor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/IdentityHashMap.cs/#L24">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_IdentityHashMap_2__ctor_" data-uid="Lucene.Net.Support.IdentityHashMap`2.#ctor*"></a> |
| <h4 id="Lucene_Net_Support_IdentityHashMap_2__ctor" data-uid="Lucene.Net.Support.IdentityHashMap`2.#ctor">IdentityHashMap()</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public IdentityHashMap()</code></pre> |
| </div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_IdentityHashMap_2__ctor_System_Collections_Generic_IDictionary__0__1__.md&value=---%0Auid%3A%20Lucene.Net.Support.IdentityHashMap%602.%23ctor(System.Collections.Generic.IDictionary%7B%600%2C%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/IdentityHashMap.cs/#L34">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_IdentityHashMap_2__ctor_" data-uid="Lucene.Net.Support.IdentityHashMap`2.#ctor*"></a> |
| <h4 id="Lucene_Net_Support_IdentityHashMap_2__ctor_System_Collections_Generic_IDictionary__0__1__" data-uid="Lucene.Net.Support.IdentityHashMap`2.#ctor(System.Collections.Generic.IDictionary{`0,`1})">IdentityHashMap(IDictionary<TKey, TValue>)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public IdentityHashMap(IDictionary<TKey, TValue> wrappedDictionary)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Collections.Generic.IDictionary</span><TKey, TValue></td> |
| <td><span class="parametername">wrappedDictionary</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_IdentityHashMap_2__ctor_System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Support.IdentityHashMap%602.%23ctor(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/IdentityHashMap.cs/#L29">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_IdentityHashMap_2__ctor_" data-uid="Lucene.Net.Support.IdentityHashMap`2.#ctor*"></a> |
| <h4 id="Lucene_Net_Support_IdentityHashMap_2__ctor_System_Int32_" data-uid="Lucene.Net.Support.IdentityHashMap`2.#ctor(System.Int32)">IdentityHashMap(Int32)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public IdentityHashMap(int initialCapacity)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">initialCapacity</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 id="implements">Implements</h3> |
| <div> |
| <span class="xref">System.Collections.Generic.IDictionary<TKey, TValue></span> |
| </div> |
| <div> |
| <span class="xref">System.Collections.Generic.ICollection<T></span> |
| </div> |
| <div> |
| <span class="xref">System.Collections.Generic.IEnumerable<T></span> |
| </div> |
| <div> |
| <span class="xref">System.Collections.IEnumerable</span> |
| </div> |
| <h3 id="extensionmethods">Extension Methods</h3> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.DictionaryExtensions.html#Lucene_Net_Support_DictionaryExtensions_PutAll__2_System_Collections_Generic_IDictionary___0___1__System_Collections_Generic_IEnumerable_System_Collections_Generic_KeyValuePair___0___1___">DictionaryExtensions.PutAll<TKey, TValue>(IDictionary<TKey, TValue>, IEnumerable<KeyValuePair<TKey, TValue>>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.DictionaryExtensions.html#Lucene_Net_Support_DictionaryExtensions_Put__2_System_Collections_Generic_IDictionary___0___1____0___1_">DictionaryExtensions.Put<TKey, TValue>(IDictionary<TKey, TValue>, TKey, TValue)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.EnumerableExtensions.html#Lucene_Net_Support_EnumerableExtensions_InPairs__2_System_Collections_Generic_IEnumerable___0__System_Func___0___0___1__">EnumerableExtensions.InPairs<T, TOut>(IEnumerable<T>, Func<T, T, TOut>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.EnumerableExtensions.html#Lucene_Net_Support_EnumerableExtensions_TakeAllButLast__1_System_Collections_Generic_IEnumerable___0__">EnumerableExtensions.TakeAllButLast<T>(IEnumerable<T>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.EnumerableExtensions.html#Lucene_Net_Support_EnumerableExtensions_TakeAllButLast__1_System_Collections_Generic_IEnumerable___0__System_Int32_">EnumerableExtensions.TakeAllButLast<T>(IEnumerable<T>, Int32)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.SetExtensions.html#Lucene_Net_Support_SetExtensions_RemoveAll__1_System_Collections_Generic_ICollection___0__System_Collections_Generic_IEnumerable___0__">SetExtensions.RemoveAll<T>(ICollection<T>, IEnumerable<T>)</a> |
| </div> |
| </article> |
| </div> |
| |
| <div class="hidden-sm col-md-2" role="complementary"> |
| <div class="sideaffix"> |
| <div class="contribution"> |
| <ul class="nav"> |
| <li> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_IdentityHashMap_2.md&value=---%0Auid%3A%20Lucene.Net.Support.IdentityHashMap%602%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a> |
| </li> |
| <li> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/IdentityHashMap.cs/#L22" class="contribution-link">View Source</a> |
| </li> |
| </ul> |
| </div> |
| <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix"> |
| <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> --> |
| </nav> |
| </div> |
| </div> |
| </div> |
| </div> |
| |
| <footer> |
| <div class="grad-bottom"></div> |
| <div class="footer"> |
| <div class="container"> |
| <span class="pull-right"> |
| <a href="#top">Back to top</a> |
| </span> |
| Copyright © 2020 Licensed to the Apache Software Foundation (ASF) |
| |
| </div> |
| </div> |
| </footer> |
| </div> |
| |
| <script type="text/javascript" src="../../styles/docfx.vendor.js"></script> |
| <script type="text/javascript" src="../../styles/docfx.js"></script> |
| <script type="text/javascript" src="../../styles/main.js"></script> |
| </body> |
| </html> |