blob: eebc4682d62966bec44840711ba261358d8c13f3 [file] [log] [blame]
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class HashDictionary&lt;K, V&gt;
| Apache Lucene.NET 4.8.0 Documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class HashDictionary&lt;K, V&gt;
| 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.C5.HashDictionary`2">
<h1 id="Lucene_Net_Support_C5_HashDictionary_2" data-uid="Lucene.Net.Support.C5.HashDictionary`2" class="text-break">Class HashDictionary&lt;K, V&gt;
</h1>
<div class="markdown level0 summary"><p>A generic dictionary class based on a hash set class <span class="xref">C5.HashSet`1</span>. </p>
</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.C5.EnumerableBase-1.html">EnumerableBase</a>&lt;<a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a>&lt;K, V&gt;&gt;</div>
<div class="level2"><a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html">CollectionValueBase</a>&lt;<a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a>&lt;K, V&gt;&gt;</div>
<div class="level3"><a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html">DictionaryBase</a>&lt;K, V&gt;</div>
<div class="level4"><span class="xref">HashDictionary&lt;K, V&gt;</span></div>
</div>
<div classs="implements">
<h5>Implements</h5>
<div><a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html">IDictionary</a>&lt;K, V&gt;</div>
<div><a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html">ICollectionValue</a>&lt;<a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a>&lt;K, V&gt;&gt;</div>
<div><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a>&lt;K, V&gt;&gt;</div>
<div><span class="xref">System.Collections.IEnumerable</span></div>
<div><a class="xref" href="Lucene.Net.Support.C5.IShowable.html">IShowable</a></div>
<div><span class="xref">System.IFormattable</span></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_pairs">DictionaryBase&lt;K, V&gt;.pairs</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_CollectionChanged">DictionaryBase&lt;K, V&gt;.CollectionChanged</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_CollectionCleared">DictionaryBase&lt;K, V&gt;.CollectionCleared</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_ItemsAdded">DictionaryBase&lt;K, V&gt;.ItemsAdded</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_ItemsRemoved">DictionaryBase&lt;K, V&gt;.ItemsRemoved</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_ListenableEvents">DictionaryBase&lt;K, V&gt;.ListenableEvents</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_ActiveEvents">DictionaryBase&lt;K, V&gt;.ActiveEvents</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_EqualityComparer">DictionaryBase&lt;K, V&gt;.EqualityComparer</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_Add__0__1_">DictionaryBase&lt;K, V&gt;.Add(K, V)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_AddAll__2_System_Collections_Generic_IEnumerable_Lucene_Net_Support_C5_KeyValuePair___0___1___">DictionaryBase&lt;K, V&gt;.AddAll&lt;L, W&gt;(IEnumerable&lt;KeyValuePair&lt;L, W&gt;&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_Remove__0_">DictionaryBase&lt;K, V&gt;.Remove(K)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_Remove__0__1__">DictionaryBase&lt;K, V&gt;.Remove(K, V)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_Clear">DictionaryBase&lt;K, V&gt;.Clear()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_ContainsSpeed">DictionaryBase&lt;K, V&gt;.ContainsSpeed</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_Contains__0_">DictionaryBase&lt;K, V&gt;.Contains(K)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_ContainsAll__1_System_Collections_Generic_IEnumerable___0__">DictionaryBase&lt;K, V&gt;.ContainsAll&lt;H&gt;(IEnumerable&lt;H&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_Find__0___1__">DictionaryBase&lt;K, V&gt;.Find(K, V)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_Update__0__1_">DictionaryBase&lt;K, V&gt;.Update(K, V)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_Update__0__1__1__">DictionaryBase&lt;K, V&gt;.Update(K, V, V)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_FindOrAdd__0__1__">DictionaryBase&lt;K, V&gt;.FindOrAdd(K, V)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_UpdateOrAdd__0__1_">DictionaryBase&lt;K, V&gt;.UpdateOrAdd(K, V)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_UpdateOrAdd__0__1__1__">DictionaryBase&lt;K, V&gt;.UpdateOrAdd(K, V, V)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_Keys">DictionaryBase&lt;K, V&gt;.Keys</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_Values">DictionaryBase&lt;K, V&gt;.Values</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_Func">DictionaryBase&lt;K, V&gt;.Func</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_Item__0_">DictionaryBase&lt;K, V&gt;.Item[K]</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_IsReadOnly">DictionaryBase&lt;K, V&gt;.IsReadOnly</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_Check">DictionaryBase&lt;K, V&gt;.Check()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_IsEmpty">DictionaryBase&lt;K, V&gt;.IsEmpty</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_Count">DictionaryBase&lt;K, V&gt;.Count</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_CountSpeed">DictionaryBase&lt;K, V&gt;.CountSpeed</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_Choose">DictionaryBase&lt;K, V&gt;.Choose()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_GetEnumerator">DictionaryBase&lt;K, V&gt;.GetEnumerator()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.DictionaryBase-2.html#Lucene_Net_Support_C5_DictionaryBase_2_Show_System_Text_StringBuilder_System_Int32__System_IFormatProvider_">DictionaryBase&lt;K, V&gt;.Show(StringBuilder, Int32, IFormatProvider)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_ListenableEvents">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.ListenableEvents</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_ActiveEvents">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.ActiveEvents</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_CollectionChanged">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.CollectionChanged</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseCollectionChanged">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.raiseCollectionChanged()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_CollectionCleared">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.CollectionCleared</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseCollectionCleared_System_Boolean_System_Int32_">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.raiseCollectionCleared(Boolean, Int32)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseCollectionCleared_System_Boolean_System_Int32_System_Nullable_System_Int32__">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.raiseCollectionCleared(Boolean, Int32, Nullable&lt;Int32&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_ItemsAdded">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.ItemsAdded</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemsAdded__0_System_Int32_">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.raiseItemsAdded(KeyValuePair&lt;K, V&gt;, Int32)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_ItemsRemoved">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.ItemsRemoved</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemsRemoved__0_System_Int32_">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.raiseItemsRemoved(KeyValuePair&lt;K, V&gt;, Int32)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_ItemInserted">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.ItemInserted</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemInserted__0_System_Int32_">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.raiseItemInserted(KeyValuePair&lt;K, V&gt;, Int32)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_ItemRemovedAt">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.ItemRemovedAt</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemRemovedAt__0_System_Int32_">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.raiseItemRemovedAt(KeyValuePair&lt;K, V&gt;, Int32)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseForSetThis_System_Int32__0__0_">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.raiseForSetThis(Int32, KeyValuePair&lt;K, V&gt;, KeyValuePair&lt;K, V&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseForInsert_System_Int32__0_">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.raiseForInsert(Int32, KeyValuePair&lt;K, V&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemove__0_">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.raiseForRemove(KeyValuePair&lt;K, V&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemove__0_System_Int32_">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.raiseForRemove(KeyValuePair&lt;K, V&gt;, Int32)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemoveAt_System_Int32__0_">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.raiseForRemoveAt(Int32, KeyValuePair&lt;K, V&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseForUpdate__0__0_">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.raiseForUpdate(KeyValuePair&lt;K, V&gt;, KeyValuePair&lt;K, V&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseForUpdate__0__0_System_Int32_">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.raiseForUpdate(KeyValuePair&lt;K, V&gt;, KeyValuePair&lt;K, V&gt;, Int32)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseForAdd__0_">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.raiseForAdd(KeyValuePair&lt;K, V&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemoveAll_Lucene_Net_Support_C5_ICollectionValue__0__">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.raiseForRemoveAll(ICollectionValue&lt;KeyValuePair&lt;K, V&gt;&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_IsEmpty">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.IsEmpty</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_Count">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.Count</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_CountSpeed">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.CountSpeed</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_CopyTo__0___System_Int32_">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.CopyTo(KeyValuePair&lt;K, V&gt;[], Int32)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_ToArray">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.ToArray()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_Apply_System_Action__0__">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.Apply(Action&lt;KeyValuePair&lt;K, V&gt;&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_Exists_System_Func__0_System_Boolean__">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.Exists(Func&lt;KeyValuePair&lt;K, V&gt;, Boolean&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_Find_System_Func__0_System_Boolean___0__">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.Find(Func&lt;KeyValuePair&lt;K, V&gt;, Boolean&gt;, KeyValuePair&lt;K, V&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_All_System_Func__0_System_Boolean__">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.All(Func&lt;KeyValuePair&lt;K, V&gt;, Boolean&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_Filter_System_Func__0_System_Boolean__">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.Filter(Func&lt;KeyValuePair&lt;K, V&gt;, Boolean&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_Choose">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.Choose()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_Show_System_Text_StringBuilder_System_Int32__System_IFormatProvider_">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.Show(StringBuilder, Int32, IFormatProvider)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_ToString_System_String_System_IFormatProvider_">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.ToString(String, IFormatProvider)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_ToString">CollectionValueBase&lt;KeyValuePair&lt;K, V&gt;&gt;.ToString()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.EnumerableBase-1.html#Lucene_Net_Support_C5_EnumerableBase_1_GetEnumerator">EnumerableBase&lt;KeyValuePair&lt;K, V&gt;&gt;.GetEnumerator()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.EnumerableBase-1.html#Lucene_Net_Support_C5_EnumerableBase_1_countItems_System_Collections_Generic_IEnumerable__0__">EnumerableBase&lt;KeyValuePair&lt;K, V&gt;&gt;.countItems(IEnumerable&lt;KeyValuePair&lt;K, V&gt;&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.EnumerableBase-1.html#Lucene_Net_Support_C5_EnumerableBase_1_System_Collections_IEnumerable_GetEnumerator">EnumerableBase&lt;KeyValuePair&lt;K, V&gt;&gt;.IEnumerable.GetEnumerator()</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.Support.C5.html">Lucene.Net.Support.C5</a></h6>
<h6><strong>Assembly</strong>: Lucene.Net.dll</h6>
<h5 id="Lucene_Net_Support_C5_HashDictionary_2_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[Serializable]
public class HashDictionary&lt;K, V&gt; : DictionaryBase&lt;K, V&gt;, IDictionary&lt;K, V&gt;, ICollectionValue&lt;KeyValuePair&lt;K, V&gt;&gt;, IEnumerable&lt;KeyValuePair&lt;K, V&gt;&gt;, IEnumerable, IShowable, IFormattable</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">K</span></td>
<td></td>
</tr>
<tr>
<td><span class="parametername">V</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_C5_HashDictionary_2__ctor_Lucene_Net_Support_C5_MemoryType_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.HashDictionary%602.%23ctor(Lucene.Net.Support.C5.MemoryType)%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/C5.Support.cs/#L2412">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_HashDictionary_2__ctor_" data-uid="Lucene.Net.Support.C5.HashDictionary`2.#ctor*"></a>
<h4 id="Lucene_Net_Support_C5_HashDictionary_2__ctor_Lucene_Net_Support_C5_MemoryType_" data-uid="Lucene.Net.Support.C5.HashDictionary`2.#ctor(Lucene.Net.Support.C5.MemoryType)">HashDictionary(MemoryType)</h4>
<div class="markdown level1 summary"><p>Create a hash dictionary using a default equalityComparer for the keys.
Initial capacity of internal table will be 16 entries and threshold for
expansion is 66% fill.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public HashDictionary(MemoryType memoryType = MemoryType.Normal)</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><a class="xref" href="Lucene.Net.Support.C5.MemoryType.html">MemoryType</a></td>
<td><span class="parametername">memoryType</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_C5_HashDictionary_2__ctor_System_Collections_Generic_IEqualityComparer__0__Lucene_Net_Support_C5_MemoryType_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.HashDictionary%602.%23ctor(System.Collections.Generic.IEqualityComparer%7B%600%7D%2CLucene.Net.Support.C5.MemoryType)%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/C5.Support.cs/#L2421">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_HashDictionary_2__ctor_" data-uid="Lucene.Net.Support.C5.HashDictionary`2.#ctor*"></a>
<h4 id="Lucene_Net_Support_C5_HashDictionary_2__ctor_System_Collections_Generic_IEqualityComparer__0__Lucene_Net_Support_C5_MemoryType_" data-uid="Lucene.Net.Support.C5.HashDictionary`2.#ctor(System.Collections.Generic.IEqualityComparer{`0},Lucene.Net.Support.C5.MemoryType)">HashDictionary(IEqualityComparer&lt;K&gt;, MemoryType)</h4>
<div class="markdown level1 summary"><p>Create a hash dictionary using a custom equalityComparer for the keys.
Initial capacity of internal table will be 16 entries and threshold for
expansion is 66% fill.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public HashDictionary(IEqualityComparer&lt;K&gt; keyequalityComparer, MemoryType memoryType = MemoryType.Normal)</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.IEqualityComparer</span>&lt;K&gt;</td>
<td><span class="parametername">keyequalityComparer</span></td>
<td><p>The external key equalitySCG.Comparer</p>
</td>
</tr>
<tr>
<td><a class="xref" href="Lucene.Net.Support.C5.MemoryType.html">MemoryType</a></td>
<td><span class="parametername">memoryType</span></td>
<td><p>The memory type of the enumerator used to iterate the collection</p>
</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_C5_HashDictionary_2__ctor_System_Int32_System_Double_System_Collections_Generic_IEqualityComparer__0__Lucene_Net_Support_C5_MemoryType_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.HashDictionary%602.%23ctor(System.Int32%2CSystem.Double%2CSystem.Collections.Generic.IEqualityComparer%7B%600%7D%2CLucene.Net.Support.C5.MemoryType)%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/C5.Support.cs/#L2436">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_HashDictionary_2__ctor_" data-uid="Lucene.Net.Support.C5.HashDictionary`2.#ctor*"></a>
<h4 id="Lucene_Net_Support_C5_HashDictionary_2__ctor_System_Int32_System_Double_System_Collections_Generic_IEqualityComparer__0__Lucene_Net_Support_C5_MemoryType_" data-uid="Lucene.Net.Support.C5.HashDictionary`2.#ctor(System.Int32,System.Double,System.Collections.Generic.IEqualityComparer{`0},Lucene.Net.Support.C5.MemoryType)">HashDictionary(Int32, Double, IEqualityComparer&lt;K&gt;, MemoryType)</h4>
<div class="markdown level1 summary"><p>Create a hash dictionary using a custom equalityComparer and prescribing the
initial size of the dictionary and a non-default threshold for internal table expansion.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public HashDictionary(int capacity, double fill, IEqualityComparer&lt;K&gt; keyequalityComparer, MemoryType memoryType = MemoryType.Normal)</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">capacity</span></td>
<td><p>The initial capacity. Will be rounded upwards to nearest
power of 2, at least 16.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Double</span></td>
<td><span class="parametername">fill</span></td>
<td><p>The expansion threshold. Must be between 10% and 90%.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;K&gt;</td>
<td><span class="parametername">keyequalityComparer</span></td>
<td><p>The external key equalitySCG.Comparer</p>
</td>
</tr>
<tr>
<td><a class="xref" href="Lucene.Net.Support.C5.MemoryType.html">MemoryType</a></td>
<td><span class="parametername">memoryType</span></td>
<td><p>The memory type of the enumerator used to iterate the collection</p>
</td>
</tr>
</tbody>
</table>
<h3 id="implements">Implements</h3>
<div>
<a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html">IDictionary&lt;K, V&gt;</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html">ICollectionValue&lt;T&gt;</a>
</div>
<div>
<span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span>
</div>
<div>
<span class="xref">System.Collections.IEnumerable</span>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.IShowable.html">IShowable</a>
</div>
<div>
<span class="xref">System.IFormattable</span>
</div>
<h3 id="extensionmethods">Extension Methods</h3>
<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&lt;T, TOut&gt;(IEnumerable&lt;T&gt;, Func&lt;T, T, TOut&gt;)</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&lt;T&gt;(IEnumerable&lt;T&gt;)</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&lt;T&gt;(IEnumerable&lt;T&gt;, Int32)</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_C5_HashDictionary_2.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.HashDictionary%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/C5.Support.cs/#L2403" 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>