blob: ace00e17108229b89a2c518f4f9d27587783ae46 [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 LurchTable&lt;TKey, TValue&gt;
| Apache Lucene.NET 4.8.0 Documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class LurchTable&lt;TKey, TValue&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.LurchTable`2">
<h1 id="Lucene_Net_Support_LurchTable_2" data-uid="Lucene.Net.Support.LurchTable`2" class="text-break">Class LurchTable&lt;TKey, TValue&gt;
</h1>
<div class="markdown level0 summary"><p>LurchTable stands for &quot;Least Used Recently Concurrent Hash Table&quot; and has definate
similarities to both the .NET 4 ConcurrentDictionary as well as Java&apos;s LinkedHashMap.
This gives you a thread-safe dictionary/hashtable that stores element ordering by
insertion, updates, or access. In addition it can be configured to use a &apos;hard-limit&apos;
count of items that will automatically &apos;pop&apos; the oldest item in the collection.</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"><span class="xref">LurchTable&lt;TKey, TValue&gt;</span></div>
</div>
<div classs="implements">
<h5>Implements</h5>
<div><span class="xref">System.Collections.Generic.IDictionary</span>&lt;TKey, TValue&gt;</div>
<div><span class="xref">System.Collections.Generic.ICollection</span>&lt;<span class="xref">System.Collections.Generic.KeyValuePair</span>&lt;TKey, TValue&gt;&gt;</div>
<div><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">System.Collections.Generic.KeyValuePair</span>&lt;TKey, TValue&gt;&gt;</div>
<div><span class="xref">System.Collections.IEnumerable</span></div>
<div><span class="xref">System.IDisposable</span></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<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_LurchTable_2_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class LurchTable&lt;TKey, TValue&gt; : IDictionary&lt;TKey, TValue&gt;, ICollection&lt;KeyValuePair&lt;TKey, TValue&gt;&gt;, IEnumerable&lt;KeyValuePair&lt;TKey, TValue&gt;&gt;, IEnumerable, IDisposable</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><p>The type of keys in the dictionary.</p>
</td>
</tr>
<tr>
<td><span class="parametername">TValue</span></td>
<td><p>The type of values in the dictionary.</p>
</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_LurchTable_2__ctor_Lucene_Net_Support_LurchTableOrder_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.%23ctor(Lucene.Net.Support.LurchTableOrder%2CSystem.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/LurchTable.cs/#L101">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2__ctor_" data-uid="Lucene.Net.Support.LurchTable`2.#ctor*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2__ctor_Lucene_Net_Support_LurchTableOrder_System_Int32_" data-uid="Lucene.Net.Support.LurchTable`2.#ctor(Lucene.Net.Support.LurchTableOrder,System.Int32)">LurchTable(LurchTableOrder, Int32)</h4>
<div class="markdown level1 summary"><p>Creates a LurchTable that orders items by <code data-dev-comment-type="paramref" class="paramref">ordering</code> and removes items once the specified <code data-dev-comment-type="paramref" class="paramref">limit</code> is reached.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public LurchTable(LurchTableOrder ordering, int limit)</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.LurchTableOrder.html">LurchTableOrder</a></td>
<td><span class="parametername">ordering</span></td>
<td><p>The type of linking for the items</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">limit</span></td>
<td><p>The maximum allowable number of items, or int.MaxValue for unlimited</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_LurchTable_2__ctor_Lucene_Net_Support_LurchTableOrder_System_Int32_System_Collections_Generic_IEqualityComparer__0__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.%23ctor(Lucene.Net.Support.LurchTableOrder%2CSystem.Int32%2CSystem.Collections.Generic.IEqualityComparer%7B%600%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/LurchTable.cs/#L108">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2__ctor_" data-uid="Lucene.Net.Support.LurchTable`2.#ctor*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2__ctor_Lucene_Net_Support_LurchTableOrder_System_Int32_System_Collections_Generic_IEqualityComparer__0__" data-uid="Lucene.Net.Support.LurchTable`2.#ctor(Lucene.Net.Support.LurchTableOrder,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">LurchTable(LurchTableOrder, Int32, IEqualityComparer&lt;TKey&gt;)</h4>
<div class="markdown level1 summary"><p>Creates a LurchTable that orders items by <code data-dev-comment-type="paramref" class="paramref">ordering</code> and removes items once the specified <code data-dev-comment-type="paramref" class="paramref">limit</code> is reached.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public LurchTable(LurchTableOrder ordering, int limit, IEqualityComparer&lt;TKey&gt; comparer)</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.LurchTableOrder.html">LurchTableOrder</a></td>
<td><span class="parametername">ordering</span></td>
<td><p>The type of linking for the items</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">limit</span></td>
<td><p>The maximum allowable number of items, or int.MaxValue for unlimited</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;TKey&gt;</td>
<td><span class="parametername">comparer</span></td>
<td><p>The element hash generator for keys, or <code>null</code> to use <span class="xref">System.Collections.Generic.EqualityComparer`1.Default</span></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_LurchTable_2__ctor_Lucene_Net_Support_LurchTableOrder_System_Int32_System_Int32_System_Int32_System_Int32_System_Collections_Generic_IEqualityComparer__0__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.%23ctor(Lucene.Net.Support.LurchTableOrder%2CSystem.Int32%2CSystem.Int32%2CSystem.Int32%2CSystem.Int32%2CSystem.Collections.Generic.IEqualityComparer%7B%600%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/LurchTable.cs/#L120">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2__ctor_" data-uid="Lucene.Net.Support.LurchTable`2.#ctor*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2__ctor_Lucene_Net_Support_LurchTableOrder_System_Int32_System_Int32_System_Int32_System_Int32_System_Collections_Generic_IEqualityComparer__0__" data-uid="Lucene.Net.Support.LurchTable`2.#ctor(Lucene.Net.Support.LurchTableOrder,System.Int32,System.Int32,System.Int32,System.Int32,System.Collections.Generic.IEqualityComparer{`0})">LurchTable(LurchTableOrder, Int32, Int32, Int32, Int32, IEqualityComparer&lt;TKey&gt;)</h4>
<div class="markdown level1 summary"><p>Creates a LurchTable that orders items by <code data-dev-comment-type="paramref" class="paramref">ordering</code> and removes items once the specified <code data-dev-comment-type="paramref" class="paramref">limit</code> is reached.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public LurchTable(LurchTableOrder ordering, int limit, int hashSize, int allocSize, int lockSize, IEqualityComparer&lt;TKey&gt; comparer)</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.LurchTableOrder.html">LurchTableOrder</a></td>
<td><span class="parametername">ordering</span></td>
<td><p>The type of linking for the items</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">limit</span></td>
<td><p>The maximum allowable number of items, or int.MaxValue for unlimited</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">hashSize</span></td>
<td><p>The number of hash buckets to use for the collection, usually 1/2 estimated capacity</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">allocSize</span></td>
<td><p>The number of entries to allocate at a time, usually 1/16 estimated capacity</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">lockSize</span></td>
<td><p>The number of concurrency locks to preallocate, usually 1/256 estimated capacity</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;TKey&gt;</td>
<td><span class="parametername">comparer</span></td>
<td><p>The element hash generator for keys, or <code>null</code> to use <span class="xref">System.Collections.Generic.EqualityComparer`1.Default</span></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_LurchTable_2__ctor_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%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/LurchTable.cs/#L82">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2__ctor_" data-uid="Lucene.Net.Support.LurchTable`2.#ctor*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2__ctor_System_Int32_" data-uid="Lucene.Net.Support.LurchTable`2.#ctor(System.Int32)">LurchTable(Int32)</h4>
<div class="markdown level1 summary"><p>Creates a LurchTable that can store up to <code data-dev-comment-type="paramref" class="paramref">capacity</code> items efficiently.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public LurchTable(int capacity)</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 allowable number of items before allocation of more memory</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_LurchTable_2__ctor_System_Int32_Lucene_Net_Support_LurchTableOrder_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.%23ctor(System.Int32%2CLucene.Net.Support.LurchTableOrder)%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/LurchTable.cs/#L88">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2__ctor_" data-uid="Lucene.Net.Support.LurchTable`2.#ctor*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2__ctor_System_Int32_Lucene_Net_Support_LurchTableOrder_" data-uid="Lucene.Net.Support.LurchTable`2.#ctor(System.Int32,Lucene.Net.Support.LurchTableOrder)">LurchTable(Int32, LurchTableOrder)</h4>
<div class="markdown level1 summary"><p>Creates a LurchTable that can store up to <code data-dev-comment-type="paramref" class="paramref">capacity</code> items efficiently.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public LurchTable(int capacity, LurchTableOrder ordering)</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 allowable number of items before allocation of more memory</p>
</td>
</tr>
<tr>
<td><a class="xref" href="Lucene.Net.Support.LurchTableOrder.html">LurchTableOrder</a></td>
<td><span class="parametername">ordering</span></td>
<td><p>The type of linking for the items</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_LurchTable_2__ctor_System_Int32_Lucene_Net_Support_LurchTableOrder_System_Collections_Generic_IEqualityComparer__0__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.%23ctor(System.Int32%2CLucene.Net.Support.LurchTableOrder%2CSystem.Collections.Generic.IEqualityComparer%7B%600%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/LurchTable.cs/#L95">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2__ctor_" data-uid="Lucene.Net.Support.LurchTable`2.#ctor*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2__ctor_System_Int32_Lucene_Net_Support_LurchTableOrder_System_Collections_Generic_IEqualityComparer__0__" data-uid="Lucene.Net.Support.LurchTable`2.#ctor(System.Int32,Lucene.Net.Support.LurchTableOrder,System.Collections.Generic.IEqualityComparer{`0})">LurchTable(Int32, LurchTableOrder, IEqualityComparer&lt;TKey&gt;)</h4>
<div class="markdown level1 summary"><p>Creates a LurchTable that can store up to <code data-dev-comment-type="paramref" class="paramref">capacity</code> items efficiently.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public LurchTable(int capacity, LurchTableOrder ordering, IEqualityComparer&lt;TKey&gt; comparer)</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 allowable number of items before allocation of more memory</p>
</td>
</tr>
<tr>
<td><a class="xref" href="Lucene.Net.Support.LurchTableOrder.html">LurchTableOrder</a></td>
<td><span class="parametername">ordering</span></td>
<td><p>The type of linking for the items</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;TKey&gt;</td>
<td><span class="parametername">comparer</span></td>
<td><p>The element hash generator for keys, or <code>null</code> to use <span class="xref">System.Collections.Generic.EqualityComparer`1.Default</span></p>
</td>
</tr>
</tbody>
</table>
<h3 id="properties">Properties
</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_LurchTable_2_Comparer.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.Comparer%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/LurchTable.cs/#L173">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_Comparer_" data-uid="Lucene.Net.Support.LurchTable`2.Comparer*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_Comparer" data-uid="Lucene.Net.Support.LurchTable`2.Comparer">Comparer</h4>
<div class="markdown level1 summary"><p>Retrives the key comparer being used by this instance.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public IEqualityComparer&lt;TKey&gt; Comparer { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;TKey&gt;</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_LurchTable_2_Count.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.Count%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/LurchTable.cs/#L165">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_Count_" data-uid="Lucene.Net.Support.LurchTable`2.Count*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_Count" data-uid="Lucene.Net.Support.LurchTable`2.Count">Count</h4>
<div class="markdown level1 summary"><p>Gets the number of elements contained in the <span class="xref">System.Collections.Generic.ICollection&lt;T&gt;</span>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int Count { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</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_LurchTable_2_Item__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.Item(%600)%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/LurchTable.cs/#L238">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_Item_" data-uid="Lucene.Net.Support.LurchTable`2.Item*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_Item__0_" data-uid="Lucene.Net.Support.LurchTable`2.Item(`0)">Item[TKey]</h4>
<div class="markdown level1 summary"><p>Gets or sets the element with the specified key.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public TValue this[TKey key] { get; set; }</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">TKey</span></td>
<td><span class="parametername">key</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">TValue</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_LurchTable_2_Keys.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.Keys%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/LurchTable.cs/#L745">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_Keys_" data-uid="Lucene.Net.Support.LurchTable`2.Keys*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_Keys" data-uid="Lucene.Net.Support.LurchTable`2.Keys">Keys</h4>
<div class="markdown level1 summary"><p>Gets an <span class="xref">System.Collections.Generic.ICollection&lt;T&gt;</span> containing the keys of the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public LurchTable&lt;TKey, TValue&gt;.KeyCollection Keys { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Support.LurchTable-2.KeyCollection.html">LurchTable.KeyCollection</a>&lt;&gt;</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_LurchTable_2_Limit.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.Limit%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/LurchTable.cs/#L177">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_Limit_" data-uid="Lucene.Net.Support.LurchTable`2.Limit*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_Limit" data-uid="Lucene.Net.Support.LurchTable`2.Limit">Limit</h4>
<div class="markdown level1 summary"><p>Gets or Sets the record limit allowed in this instance.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int Limit { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</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_LurchTable_2_Ordering.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.Ordering%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/LurchTable.cs/#L169">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_Ordering_" data-uid="Lucene.Net.Support.LurchTable`2.Ordering*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_Ordering" data-uid="Lucene.Net.Support.LurchTable`2.Ordering">Ordering</h4>
<div class="markdown level1 summary"><p>Retrieves the LurchTableOrder Ordering enumeration this instance was created with.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public LurchTableOrder Ordering { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Support.LurchTableOrder.html">LurchTableOrder</a></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_LurchTable_2_Values.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.Values%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/LurchTable.cs/#L900">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_Values_" data-uid="Lucene.Net.Support.LurchTable`2.Values*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_Values" data-uid="Lucene.Net.Support.LurchTable`2.Values">Values</h4>
<div class="markdown level1 summary"><p>Gets an <span class="xref">System.Collections.Generic.ICollection&lt;T&gt;</span> containing the values in the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public LurchTable&lt;TKey, TValue&gt;.ValueCollection Values { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Support.LurchTable-2.ValueCollection.html">LurchTable.ValueCollection</a>&lt;&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="methods">Methods
</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_LurchTable_2_Add__0__1_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.Add(%600%2C%601)%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/LurchTable.cs/#L269">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_Add_" data-uid="Lucene.Net.Support.LurchTable`2.Add*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_Add__0__1_" data-uid="Lucene.Net.Support.LurchTable`2.Add(`0,`1)">Add(TKey, TValue)</h4>
<div class="markdown level1 summary"><p>Adds an element with the provided key and value to the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Add(TKey key, TValue value)</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">TKey</span></td>
<td><span class="parametername">key</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">TValue</span></td>
<td><span class="parametername">value</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_LurchTable_2_AddOrUpdate__0__1_Lucene_Net_Support_KeyValueUpdate__0__1__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.AddOrUpdate(%600%2C%601%2CLucene.Net.Support.KeyValueUpdate%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/LurchTable.cs/#L382">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_AddOrUpdate_" data-uid="Lucene.Net.Support.LurchTable`2.AddOrUpdate*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_AddOrUpdate__0__1_Lucene_Net_Support_KeyValueUpdate__0__1__" data-uid="Lucene.Net.Support.LurchTable`2.AddOrUpdate(`0,`1,Lucene.Net.Support.KeyValueUpdate{`0,`1})">AddOrUpdate(TKey, TValue, KeyValueUpdate&lt;TKey, TValue&gt;)</h4>
<div class="markdown level1 summary"><p>Adds a key/value pair to the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span> if the key does not already exist,
or updates a key/value pair if the key already exists.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public TValue AddOrUpdate(TKey key, TValue addValue, KeyValueUpdate&lt;TKey, TValue&gt; fnUpdate)</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">TKey</span></td>
<td><span class="parametername">key</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">TValue</span></td>
<td><span class="parametername">addValue</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="Lucene.Net.Support.KeyValueUpdate-2.html">KeyValueUpdate</a>&lt;TKey, TValue&gt;</td>
<td><span class="parametername">fnUpdate</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">TValue</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_LurchTable_2_AddOrUpdate__0_System_Func__0__1__Lucene_Net_Support_KeyValueUpdate__0__1__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.AddOrUpdate(%600%2CSystem.Func%7B%600%2C%601%7D%2CLucene.Net.Support.KeyValueUpdate%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/LurchTable.cs/#L398">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_AddOrUpdate_" data-uid="Lucene.Net.Support.LurchTable`2.AddOrUpdate*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_AddOrUpdate__0_System_Func__0__1__Lucene_Net_Support_KeyValueUpdate__0__1__" data-uid="Lucene.Net.Support.LurchTable`2.AddOrUpdate(`0,System.Func{`0,`1},Lucene.Net.Support.KeyValueUpdate{`0,`1})">AddOrUpdate(TKey, Func&lt;TKey, TValue&gt;, KeyValueUpdate&lt;TKey, TValue&gt;)</h4>
<div class="markdown level1 summary"><p>Adds a key/value pair to the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span> if the key does not already exist,
or updates a key/value pair if the key already exists.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public TValue AddOrUpdate(TKey key, Func&lt;TKey, TValue&gt; fnCreate, KeyValueUpdate&lt;TKey, TValue&gt; fnUpdate)</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">TKey</span></td>
<td><span class="parametername">key</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Func</span>&lt;TKey, TValue&gt;</td>
<td><span class="parametername">fnCreate</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="Lucene.Net.Support.KeyValueUpdate-2.html">KeyValueUpdate</a>&lt;TKey, TValue&gt;</td>
<td><span class="parametername">fnUpdate</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">TValue</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 id="Lucene_Net_Support_LurchTable_2_AddOrUpdate__0_System_Func__0__1__Lucene_Net_Support_KeyValueUpdate__0__1___remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Adds or modifies an element with the provided key and value. If the key does not exist in the collection,
the factory method fnCreate will be called to produce the new value, if the key exists, the converter method
fnUpdate will be called to create an updated value.</p>
</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_LurchTable_2_AddOrUpdate__1__0___0__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.AddOrUpdate%60%601(%600%2C%60%600%40)%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/LurchTable.cs/#L409">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_AddOrUpdate_" data-uid="Lucene.Net.Support.LurchTable`2.AddOrUpdate*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_AddOrUpdate__1__0___0__" data-uid="Lucene.Net.Support.LurchTable`2.AddOrUpdate``1(`0,``0@)">AddOrUpdate&lt;T&gt;(TKey, ref T)</h4>
<div class="markdown level1 summary"><p>Add, update, or fetche a key/value pair from the dictionary via an implementation of the
<span class="xref">CSharpTest.Net.Collections.ICreateOrUpdateValue`2</span> interface.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool AddOrUpdate&lt;T&gt;(TKey key, ref T createOrUpdateValue)
where T : ICreateOrUpdateValue&lt;TKey, TValue&gt;</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">TKey</span></td>
<td><span class="parametername">key</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">createOrUpdateValue</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<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">T</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_LurchTable_2_Clear.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.Clear%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/LurchTable.cs/#L218">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_Clear_" data-uid="Lucene.Net.Support.LurchTable`2.Clear*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_Clear" data-uid="Lucene.Net.Support.LurchTable`2.Clear">Clear()</h4>
<div class="markdown level1 summary"><p>Removes all items from the <span class="xref">System.Collections.Generic.ICollection&lt;T&gt;</span>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Clear()</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_LurchTable_2_ContainsKey__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.ContainsKey(%600)%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/LurchTable.cs/#L228">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_ContainsKey_" data-uid="Lucene.Net.Support.LurchTable`2.ContainsKey*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_ContainsKey__0_" data-uid="Lucene.Net.Support.LurchTable`2.ContainsKey(`0)">ContainsKey(TKey)</h4>
<div class="markdown level1 summary"><p>Determines whether the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span> contains an element with the specified key.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool ContainsKey(TKey key)</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">TKey</span></td>
<td><span class="parametername">key</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</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_LurchTable_2_Dequeue.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.Dequeue%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/LurchTable.cs/#L955">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_Dequeue_" data-uid="Lucene.Net.Support.LurchTable`2.Dequeue*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_Dequeue" data-uid="Lucene.Net.Support.LurchTable`2.Dequeue">Dequeue()</h4>
<div class="markdown level1 summary"><p>Removes the oldest entry in the collection based on the ordering supplied to the constructor.
If an item is not available a busy-wait loop is used to wait for for an item.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public KeyValuePair&lt;TKey, TValue&gt; Dequeue()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.KeyValuePair</span>&lt;TKey, TValue&gt;</td>
<td><p>The Key/Value pair removed.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.InvalidOperationException</span></td>
<td><p>Raised if the table is unordered</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_LurchTable_2_Dispose.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.Dispose%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/LurchTable.cs/#L154">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_Dispose_" data-uid="Lucene.Net.Support.LurchTable`2.Dispose*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_Dispose" data-uid="Lucene.Net.Support.LurchTable`2.Dispose">Dispose()</h4>
<div class="markdown level1 summary"><p>Clears references to all objects and invalidates the collection</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Dispose()</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_LurchTable_2_GetEnumerator.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.GetEnumerator%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/LurchTable.cs/#L594">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_GetEnumerator_" data-uid="Lucene.Net.Support.LurchTable`2.GetEnumerator*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_GetEnumerator" data-uid="Lucene.Net.Support.LurchTable`2.GetEnumerator">GetEnumerator()</h4>
<div class="markdown level1 summary"><p>Returns an enumerator that iterates through the collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public LurchTable&lt;TKey, TValue&gt;.Enumerator GetEnumerator()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Support.LurchTable-2.Enumerator.html">LurchTable.Enumerator</a>&lt;&gt;</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_LurchTable_2_GetOrAdd__0__1_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.GetOrAdd(%600%2C%601)%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/LurchTable.cs/#L298">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_GetOrAdd_" data-uid="Lucene.Net.Support.LurchTable`2.GetOrAdd*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_GetOrAdd__0__1_" data-uid="Lucene.Net.Support.LurchTable`2.GetOrAdd(`0,`1)">GetOrAdd(TKey, TValue)</h4>
<div class="markdown level1 summary"><p>Adds a key/value pair to the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span> if the key does not already exist.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public TValue GetOrAdd(TKey key, TValue value)</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">TKey</span></td>
<td><span class="parametername">key</span></td>
<td><p>The key of the element to add.</p>
</td>
</tr>
<tr>
<td><span class="xref">TValue</span></td>
<td><span class="parametername">value</span></td>
<td><p>The value to be added, if the key does not already exist.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">TValue</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_LurchTable_2_GetOrAdd__0_System_Func__0__1__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.GetOrAdd(%600%2CSystem.Func%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/LurchTable.cs/#L371">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_GetOrAdd_" data-uid="Lucene.Net.Support.LurchTable`2.GetOrAdd*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_GetOrAdd__0_System_Func__0__1__" data-uid="Lucene.Net.Support.LurchTable`2.GetOrAdd(`0,System.Func{`0,`1})">GetOrAdd(TKey, Func&lt;TKey, TValue&gt;)</h4>
<div class="markdown level1 summary"><p>Adds a key/value pair to the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span> if the key does not already exist.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public TValue GetOrAdd(TKey key, Func&lt;TKey, TValue&gt; fnCreate)</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">TKey</span></td>
<td><span class="parametername">key</span></td>
<td><p>The key of the element to add.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Func</span>&lt;TKey, TValue&gt;</td>
<td><span class="parametername">fnCreate</span></td>
<td><p>Constructs a new value for the key.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">TValue</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_LurchTable_2_Initialize.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.Initialize%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/LurchTable.cs/#L188">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_Initialize_" data-uid="Lucene.Net.Support.LurchTable`2.Initialize*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_Initialize" data-uid="Lucene.Net.Support.LurchTable`2.Initialize">Initialize()</h4>
<div class="markdown level1 summary"><p>WARNING: not thread-safe, reinitializes all internal structures. Use Clear() for a thread-safe
delete all. If you have externally provided exclusive access this method may be used to more
efficiently clear the collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Initialize()</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_LurchTable_2_Peek_System_Collections_Generic_KeyValuePair__0__1___.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.Peek(System.Collections.Generic.KeyValuePair%7B%600%2C%601%7D%40)%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/LurchTable.cs/#L913">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_Peek_" data-uid="Lucene.Net.Support.LurchTable`2.Peek*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_Peek_System_Collections_Generic_KeyValuePair__0__1___" data-uid="Lucene.Net.Support.LurchTable`2.Peek(System.Collections.Generic.KeyValuePair{`0,`1}@)">Peek(out KeyValuePair&lt;TKey, TValue&gt;)</h4>
<div class="markdown level1 summary"><p>Retrieves the oldest entry in the collection based on the ordering supplied to the constructor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool Peek(out KeyValuePair&lt;TKey, TValue&gt; value)</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.KeyValuePair</span>&lt;TKey, TValue&gt;</td>
<td><span class="parametername">value</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><p>True if the out parameter value was set.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.InvalidOperationException</span></td>
<td><p>Raised if the table is unordered</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_LurchTable_2_Remove__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.Remove(%600)%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/LurchTable.cs/#L283">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_Remove_" data-uid="Lucene.Net.Support.LurchTable`2.Remove*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_Remove__0_" data-uid="Lucene.Net.Support.LurchTable`2.Remove(`0)">Remove(TKey)</h4>
<div class="markdown level1 summary"><p>Removes the element with the specified key from the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool Remove(TKey key)</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">TKey</span></td>
<td><span class="parametername">key</span></td>
<td><p>The key of the element to remove.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><p>true if the element is successfully removed; otherwise, false. This method also returns false if <code data-dev-comment-type="paramref" class="paramref">key</code> was not found in the original <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span>.</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_LurchTable_2_TryAdd__0__1_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.TryAdd(%600%2C%601)%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/LurchTable.cs/#L311">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_TryAdd_" data-uid="Lucene.Net.Support.LurchTable`2.TryAdd*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_TryAdd__0__1_" data-uid="Lucene.Net.Support.LurchTable`2.TryAdd(`0,`1)">TryAdd(TKey, TValue)</h4>
<div class="markdown level1 summary"><p>Adds an element with the provided key and value to the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool TryAdd(TKey key, TValue value)</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">TKey</span></td>
<td><span class="parametername">key</span></td>
<td><p>The object to use as the key of the element to add.</p>
</td>
</tr>
<tr>
<td><span class="xref">TValue</span></td>
<td><span class="parametername">value</span></td>
<td><p>The object to use as the value of the element to add.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</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_LurchTable_2_TryAdd__0_System_Func__0__1__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.TryAdd(%600%2CSystem.Func%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/LurchTable.cs/#L419">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_TryAdd_" data-uid="Lucene.Net.Support.LurchTable`2.TryAdd*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_TryAdd__0_System_Func__0__1__" data-uid="Lucene.Net.Support.LurchTable`2.TryAdd(`0,System.Func{`0,`1})">TryAdd(TKey, Func&lt;TKey, TValue&gt;)</h4>
<div class="markdown level1 summary"><p>Adds an element with the provided key and value to the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span>
by calling the provided factory method to construct the value if the key is not already present in the collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool TryAdd(TKey key, Func&lt;TKey, TValue&gt; fnCreate)</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">TKey</span></td>
<td><span class="parametername">key</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Func</span>&lt;TKey, TValue&gt;</td>
<td><span class="parametername">fnCreate</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</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_LurchTable_2_TryDequeue_System_Collections_Generic_KeyValuePair__0__1___.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.TryDequeue(System.Collections.Generic.KeyValuePair%7B%600%2C%601%7D%40)%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/LurchTable.cs/#L976">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_TryDequeue_" data-uid="Lucene.Net.Support.LurchTable`2.TryDequeue*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_TryDequeue_System_Collections_Generic_KeyValuePair__0__1___" data-uid="Lucene.Net.Support.LurchTable`2.TryDequeue(System.Collections.Generic.KeyValuePair{`0,`1}@)">TryDequeue(out KeyValuePair&lt;TKey, TValue&gt;)</h4>
<div class="markdown level1 summary"><p>Removes the oldest entry in the collection based on the ordering supplied to the constructor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool TryDequeue(out KeyValuePair&lt;TKey, TValue&gt; value)</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.KeyValuePair</span>&lt;TKey, TValue&gt;</td>
<td><span class="parametername">value</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><p>False if no item was available</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.InvalidOperationException</span></td>
<td><p>Raised if the table is unordered</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_LurchTable_2_TryDequeue_System_Predicate_System_Collections_Generic_KeyValuePair__0__1___System_Collections_Generic_KeyValuePair__0__1___.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.TryDequeue(System.Predicate%7BSystem.Collections.Generic.KeyValuePair%7B%600%2C%601%7D%7D%2CSystem.Collections.Generic.KeyValuePair%7B%600%2C%601%7D%40)%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/LurchTable.cs/#L986">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_TryDequeue_" data-uid="Lucene.Net.Support.LurchTable`2.TryDequeue*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_TryDequeue_System_Predicate_System_Collections_Generic_KeyValuePair__0__1___System_Collections_Generic_KeyValuePair__0__1___" data-uid="Lucene.Net.Support.LurchTable`2.TryDequeue(System.Predicate{System.Collections.Generic.KeyValuePair{`0,`1}},System.Collections.Generic.KeyValuePair{`0,`1}@)">TryDequeue(Predicate&lt;KeyValuePair&lt;TKey, TValue&gt;&gt;, out KeyValuePair&lt;TKey, TValue&gt;)</h4>
<div class="markdown level1 summary"><p>Removes the oldest entry in the collection based on the ordering supplied to the constructor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool TryDequeue(Predicate&lt;KeyValuePair&lt;TKey, TValue&gt;&gt; predicate, out KeyValuePair&lt;TKey, TValue&gt; value)</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.Predicate</span>&lt;<span class="xref">System.Collections.Generic.KeyValuePair</span>&lt;TKey, TValue&gt;&gt;</td>
<td><span class="parametername">predicate</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Collections.Generic.KeyValuePair</span>&lt;TKey, TValue&gt;</td>
<td><span class="parametername">value</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><p>False if no item was available</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.InvalidOperationException</span></td>
<td><p>Raised if the table is unordered</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_LurchTable_2_TryGetValue__0__1__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.TryGetValue(%600%2C%601%40)%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/LurchTable.cs/#L260">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_TryGetValue_" data-uid="Lucene.Net.Support.LurchTable`2.TryGetValue*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_TryGetValue__0__1__" data-uid="Lucene.Net.Support.LurchTable`2.TryGetValue(`0,`1@)">TryGetValue(TKey, out TValue)</h4>
<div class="markdown level1 summary"><p>Gets the value associated with the specified key.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool TryGetValue(TKey key, out TValue value)</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">TKey</span></td>
<td><span class="parametername">key</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">TValue</span></td>
<td><span class="parametername">value</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><p>true if the object that implements <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span> contains an element with the specified key; otherwise, false.</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_LurchTable_2_TryRemove__0__1__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.TryRemove(%600%2C%601%40)%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/LurchTable.cs/#L350">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_TryRemove_" data-uid="Lucene.Net.Support.LurchTable`2.TryRemove*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_TryRemove__0__1__" data-uid="Lucene.Net.Support.LurchTable`2.TryRemove(`0,`1@)">TryRemove(TKey, out TValue)</h4>
<div class="markdown level1 summary"><p>Removes the element with the specified key from the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool TryRemove(TKey key, out TValue value)</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">TKey</span></td>
<td><span class="parametername">key</span></td>
<td><p>The key of the element to remove.</p>
</td>
</tr>
<tr>
<td><span class="xref">TValue</span></td>
<td><span class="parametername">value</span></td>
<td><p>The value that was removed.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><p>true if the element is successfully removed; otherwise, false. This method also returns false if <code data-dev-comment-type="paramref" class="paramref">key</code> was not found in the original <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span>.</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_LurchTable_2_TryRemove__0_Lucene_Net_Support_KeyValuePredicate__0__1__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.TryRemove(%600%2CLucene.Net.Support.KeyValuePredicate%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/LurchTable.cs/#L440">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_TryRemove_" data-uid="Lucene.Net.Support.LurchTable`2.TryRemove*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_TryRemove__0_Lucene_Net_Support_KeyValuePredicate__0__1__" data-uid="Lucene.Net.Support.LurchTable`2.TryRemove(`0,Lucene.Net.Support.KeyValuePredicate{`0,`1})">TryRemove(TKey, KeyValuePredicate&lt;TKey, TValue&gt;)</h4>
<div class="markdown level1 summary"><p>Removes the element with the specified key from the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span>
if the fnCondition predicate is null or returns true.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool TryRemove(TKey key, KeyValuePredicate&lt;TKey, TValue&gt; fnCondition)</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">TKey</span></td>
<td><span class="parametername">key</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="Lucene.Net.Support.KeyValuePredicate-2.html">KeyValuePredicate</a>&lt;TKey, TValue&gt;</td>
<td><span class="parametername">fnCondition</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</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_LurchTable_2_TryRemove__1__0___0__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.TryRemove%60%601(%600%2C%60%600%40)%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/LurchTable.cs/#L450">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_TryRemove_" data-uid="Lucene.Net.Support.LurchTable`2.TryRemove*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_TryRemove__1__0___0__" data-uid="Lucene.Net.Support.LurchTable`2.TryRemove``1(`0,``0@)">TryRemove&lt;T&gt;(TKey, ref T)</h4>
<div class="markdown level1 summary"><p>Conditionally removes a key/value pair from the dictionary via an implementation of the
<span class="xref">CSharpTest.Net.Collections.IRemoveValue`2</span> interface.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool TryRemove&lt;T&gt;(TKey key, ref T removeValue)
where T : IRemoveValue&lt;TKey, TValue&gt;</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">TKey</span></td>
<td><span class="parametername">key</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">removeValue</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<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">T</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_LurchTable_2_TryUpdate__0__1_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.TryUpdate(%600%2C%601)%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/LurchTable.cs/#L323">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_TryUpdate_" data-uid="Lucene.Net.Support.LurchTable`2.TryUpdate*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_TryUpdate__0__1_" data-uid="Lucene.Net.Support.LurchTable`2.TryUpdate(`0,`1)">TryUpdate(TKey, TValue)</h4>
<div class="markdown level1 summary"><p>Updates an element with the provided key to the value if it exists.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool TryUpdate(TKey key, TValue value)</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">TKey</span></td>
<td><span class="parametername">key</span></td>
<td><p>The object to use as the key of the element to update.</p>
</td>
</tr>
<tr>
<td><span class="xref">TValue</span></td>
<td><span class="parametername">value</span></td>
<td><p>The new value for the key if found.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><p>Returns true if the key provided was found and updated to the value.</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_LurchTable_2_TryUpdate__0__1__1_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.TryUpdate(%600%2C%601%2C%601)%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/LurchTable.cs/#L336">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_TryUpdate_" data-uid="Lucene.Net.Support.LurchTable`2.TryUpdate*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_TryUpdate__0__1__1_" data-uid="Lucene.Net.Support.LurchTable`2.TryUpdate(`0,`1,`1)">TryUpdate(TKey, TValue, TValue)</h4>
<div class="markdown level1 summary"><p>Updates an element with the provided key to the value if it exists.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool TryUpdate(TKey key, TValue value, TValue comparisonValue)</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">TKey</span></td>
<td><span class="parametername">key</span></td>
<td><p>The object to use as the key of the element to update.</p>
</td>
</tr>
<tr>
<td><span class="xref">TValue</span></td>
<td><span class="parametername">value</span></td>
<td><p>The new value for the key if found.</p>
</td>
</tr>
<tr>
<td><span class="xref">TValue</span></td>
<td><span class="parametername">comparisonValue</span></td>
<td><p>The value that is compared to the value of the element with key.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><p>Returns true if the key provided was found and updated to the value.</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_LurchTable_2_TryUpdate__0_Lucene_Net_Support_KeyValueUpdate__0__1__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.TryUpdate(%600%2CLucene.Net.Support.KeyValueUpdate%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/LurchTable.cs/#L430">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_TryUpdate_" data-uid="Lucene.Net.Support.LurchTable`2.TryUpdate*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_TryUpdate__0_Lucene_Net_Support_KeyValueUpdate__0__1__" data-uid="Lucene.Net.Support.LurchTable`2.TryUpdate(`0,Lucene.Net.Support.KeyValueUpdate{`0,`1})">TryUpdate(TKey, KeyValueUpdate&lt;TKey, TValue&gt;)</h4>
<div class="markdown level1 summary"><p>Modify the value associated with the result of the provided update method
as an atomic operation, Allows for reading/writing a single record within
the syncronization lock.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool TryUpdate(TKey key, KeyValueUpdate&lt;TKey, TValue&gt; fnUpdate)</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">TKey</span></td>
<td><span class="parametername">key</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="Lucene.Net.Support.KeyValueUpdate-2.html">KeyValueUpdate</a>&lt;TKey, TValue&gt;</td>
<td><span class="parametername">fnUpdate</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="events">Events
</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_LurchTable_2_ItemAdded.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.ItemAdded%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/LurchTable.cs/#L60">View Source</a>
</span>
<h4 id="Lucene_Net_Support_LurchTable_2_ItemAdded" data-uid="Lucene.Net.Support.LurchTable`2.ItemAdded">ItemAdded</h4>
<div class="markdown level1 summary"><p>Event raised after an item is added to the collection </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Action&lt;KeyValuePair&lt;TKey, TValue&gt;&gt; ItemAdded</code></pre>
</div>
<h5 class="eventType">Event Type</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Action</span>&lt;<span class="xref">System.Collections.Generic.KeyValuePair</span>&lt;TKey, TValue&gt;&gt;</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_LurchTable_2_ItemRemoved.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.ItemRemoved%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/LurchTable.cs/#L56">View Source</a>
</span>
<h4 id="Lucene_Net_Support_LurchTable_2_ItemRemoved" data-uid="Lucene.Net.Support.LurchTable`2.ItemRemoved">ItemRemoved</h4>
<div class="markdown level1 summary"><p>Event raised after an item is removed from the collection </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Action&lt;KeyValuePair&lt;TKey, TValue&gt;&gt; ItemRemoved</code></pre>
</div>
<h5 class="eventType">Event Type</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Action</span>&lt;<span class="xref">System.Collections.Generic.KeyValuePair</span>&lt;TKey, TValue&gt;&gt;</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_LurchTable_2_ItemUpdated.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.ItemUpdated%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/LurchTable.cs/#L58">View Source</a>
</span>
<h4 id="Lucene_Net_Support_LurchTable_2_ItemUpdated" data-uid="Lucene.Net.Support.LurchTable`2.ItemUpdated">ItemUpdated</h4>
<div class="markdown level1 summary"><p>Event raised after an item is updated in the collection </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event LurchTable&lt;TKey, TValue&gt;.ItemUpdatedMethod ItemUpdated</code></pre>
</div>
<h5 class="eventType">Event Type</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Support.LurchTable-2.ItemUpdatedMethod.html">LurchTable.ItemUpdatedMethod</a>&lt;&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="eii">Explicit Interface Implementations
</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_LurchTable_2_System_Collections_Generic_ICollection_System_Collections_Generic_KeyValuePair_TKey_TValue___Add_System_Collections_Generic_KeyValuePair__0__1__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.System%23Collections%23Generic%23ICollection%7BSystem%23Collections%23Generic%23KeyValuePair%7BTKey%2CTValue%7D%7D%23Add(System.Collections.Generic.KeyValuePair%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/LurchTable.cs/#L464">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_System_Collections_Generic_ICollection_System_Collections_Generic_KeyValuePair_TKey_TValue___Add_" data-uid="Lucene.Net.Support.LurchTable`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey,TValue}}#Add*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_System_Collections_Generic_ICollection_System_Collections_Generic_KeyValuePair_TKey_TValue___Add_System_Collections_Generic_KeyValuePair__0__1__" data-uid="Lucene.Net.Support.LurchTable`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey,TValue}}#Add(System.Collections.Generic.KeyValuePair{`0,`1})">ICollection&lt;KeyValuePair&lt;TKey, TValue&gt;&gt;.Add(KeyValuePair&lt;TKey, TValue&gt;)</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">void ICollection&lt;KeyValuePair&lt;TKey, TValue&gt;&gt;.Add(KeyValuePair&lt;TKey, TValue&gt; item)</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.KeyValuePair</span>&lt;TKey, TValue&gt;</td>
<td><span class="parametername">item</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_LurchTable_2_System_Collections_Generic_ICollection_System_Collections_Generic_KeyValuePair_TKey_TValue___Contains_System_Collections_Generic_KeyValuePair__0__1__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.System%23Collections%23Generic%23ICollection%7BSystem%23Collections%23Generic%23KeyValuePair%7BTKey%2CTValue%7D%7D%23Contains(System.Collections.Generic.KeyValuePair%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/LurchTable.cs/#L469">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_System_Collections_Generic_ICollection_System_Collections_Generic_KeyValuePair_TKey_TValue___Contains_" data-uid="Lucene.Net.Support.LurchTable`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey,TValue}}#Contains*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_System_Collections_Generic_ICollection_System_Collections_Generic_KeyValuePair_TKey_TValue___Contains_System_Collections_Generic_KeyValuePair__0__1__" data-uid="Lucene.Net.Support.LurchTable`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey,TValue}}#Contains(System.Collections.Generic.KeyValuePair{`0,`1})">ICollection&lt;KeyValuePair&lt;TKey, TValue&gt;&gt;.Contains(KeyValuePair&lt;TKey, TValue&gt;)</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">bool ICollection&lt;KeyValuePair&lt;TKey, TValue&gt;&gt;.Contains(KeyValuePair&lt;TKey, TValue&gt; item)</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.KeyValuePair</span>&lt;TKey, TValue&gt;</td>
<td><span class="parametername">item</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</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_LurchTable_2_System_Collections_Generic_ICollection_System_Collections_Generic_KeyValuePair_TKey_TValue___CopyTo_System_Collections_Generic_KeyValuePair__0__1____System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.System%23Collections%23Generic%23ICollection%7BSystem%23Collections%23Generic%23KeyValuePair%7BTKey%2CTValue%7D%7D%23CopyTo(System.Collections.Generic.KeyValuePair%7B%600%2C%601%7D%5B%5D%2CSystem.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/LurchTable.cs/#L477">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_System_Collections_Generic_ICollection_System_Collections_Generic_KeyValuePair_TKey_TValue___CopyTo_" data-uid="Lucene.Net.Support.LurchTable`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey,TValue}}#CopyTo*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_System_Collections_Generic_ICollection_System_Collections_Generic_KeyValuePair_TKey_TValue___CopyTo_System_Collections_Generic_KeyValuePair__0__1____System_Int32_" data-uid="Lucene.Net.Support.LurchTable`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey,TValue}}#CopyTo(System.Collections.Generic.KeyValuePair{`0,`1}[],System.Int32)">ICollection&lt;KeyValuePair&lt;TKey, TValue&gt;&gt;.CopyTo(KeyValuePair&lt;TKey, TValue&gt;[], 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">void ICollection&lt;KeyValuePair&lt;TKey, TValue&gt;&gt;.CopyTo(KeyValuePair&lt;TKey, TValue&gt;[] array, int arrayIndex)</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.KeyValuePair</span>&lt;TKey, TValue&gt;[]</td>
<td><span class="parametername">array</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">arrayIndex</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_LurchTable_2_System_Collections_Generic_ICollection_System_Collections_Generic_KeyValuePair_TKey_TValue___IsReadOnly.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.System%23Collections%23Generic%23ICollection%7BSystem%23Collections%23Generic%23KeyValuePair%7BTKey%2CTValue%7D%7D%23IsReadOnly%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/LurchTable.cs/#L459">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_System_Collections_Generic_ICollection_System_Collections_Generic_KeyValuePair_TKey_TValue___IsReadOnly_" data-uid="Lucene.Net.Support.LurchTable`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey,TValue}}#IsReadOnly*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_System_Collections_Generic_ICollection_System_Collections_Generic_KeyValuePair_TKey_TValue___IsReadOnly" data-uid="Lucene.Net.Support.LurchTable`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey,TValue}}#IsReadOnly">ICollection&lt;KeyValuePair&lt;TKey, TValue&gt;&gt;.IsReadOnly</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">bool ICollection&lt;KeyValuePair&lt;TKey, TValue&gt;&gt;.IsReadOnly { get; }</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</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_LurchTable_2_System_Collections_Generic_ICollection_System_Collections_Generic_KeyValuePair_TKey_TValue___Remove_System_Collections_Generic_KeyValuePair__0__1__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.System%23Collections%23Generic%23ICollection%7BSystem%23Collections%23Generic%23KeyValuePair%7BTKey%2CTValue%7D%7D%23Remove(System.Collections.Generic.KeyValuePair%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/LurchTable.cs/#L483">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_System_Collections_Generic_ICollection_System_Collections_Generic_KeyValuePair_TKey_TValue___Remove_" data-uid="Lucene.Net.Support.LurchTable`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey,TValue}}#Remove*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_System_Collections_Generic_ICollection_System_Collections_Generic_KeyValuePair_TKey_TValue___Remove_System_Collections_Generic_KeyValuePair__0__1__" data-uid="Lucene.Net.Support.LurchTable`2.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{TKey,TValue}}#Remove(System.Collections.Generic.KeyValuePair{`0,`1})">ICollection&lt;KeyValuePair&lt;TKey, TValue&gt;&gt;.Remove(KeyValuePair&lt;TKey, TValue&gt;)</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">bool ICollection&lt;KeyValuePair&lt;TKey, TValue&gt;&gt;.Remove(KeyValuePair&lt;TKey, TValue&gt; item)</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.KeyValuePair</span>&lt;TKey, TValue&gt;</td>
<td><span class="parametername">item</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</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_LurchTable_2_System_Collections_Generic_IDictionary_TKey_TValue__Keys.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.System%23Collections%23Generic%23IDictionary%7BTKey%2CTValue%7D%23Keys%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/LurchTable.cs/#L746">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_System_Collections_Generic_IDictionary_TKey_TValue__Keys_" data-uid="Lucene.Net.Support.LurchTable`2.System#Collections#Generic#IDictionary{TKey,TValue}#Keys*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_System_Collections_Generic_IDictionary_TKey_TValue__Keys" data-uid="Lucene.Net.Support.LurchTable`2.System#Collections#Generic#IDictionary{TKey,TValue}#Keys">IDictionary&lt;TKey, TValue&gt;.Keys</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">[Obsolete]
ICollection&lt;TKey&gt; IDictionary&lt;TKey, TValue&gt;.Keys { get; }</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.ICollection</span>&lt;TKey&gt;</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_LurchTable_2_System_Collections_Generic_IDictionary_TKey_TValue__Values.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.System%23Collections%23Generic%23IDictionary%7BTKey%2CTValue%7D%23Values%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/LurchTable.cs/#L901">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_System_Collections_Generic_IDictionary_TKey_TValue__Values_" data-uid="Lucene.Net.Support.LurchTable`2.System#Collections#Generic#IDictionary{TKey,TValue}#Values*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_System_Collections_Generic_IDictionary_TKey_TValue__Values" data-uid="Lucene.Net.Support.LurchTable`2.System#Collections#Generic#IDictionary{TKey,TValue}#Values">IDictionary&lt;TKey, TValue&gt;.Values</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">[Obsolete]
ICollection&lt;TValue&gt; IDictionary&lt;TKey, TValue&gt;.Values { get; }</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.ICollection</span>&lt;TValue&gt;</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_LurchTable_2_System_Collections_Generic_IEnumerable_System_Collections_Generic_KeyValuePair_TKey_TValue___GetEnumerator.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.System%23Collections%23Generic%23IEnumerable%7BSystem%23Collections%23Generic%23KeyValuePair%7BTKey%2CTValue%7D%7D%23GetEnumerator%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/LurchTable.cs/#L595">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_System_Collections_Generic_IEnumerable_System_Collections_Generic_KeyValuePair_TKey_TValue___GetEnumerator_" data-uid="Lucene.Net.Support.LurchTable`2.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey,TValue}}#GetEnumerator*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_System_Collections_Generic_IEnumerable_System_Collections_Generic_KeyValuePair_TKey_TValue___GetEnumerator" data-uid="Lucene.Net.Support.LurchTable`2.System#Collections#Generic#IEnumerable{System#Collections#Generic#KeyValuePair{TKey,TValue}}#GetEnumerator">IEnumerable&lt;KeyValuePair&lt;TKey, TValue&gt;&gt;.GetEnumerator()</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">IEnumerator&lt;KeyValuePair&lt;TKey, TValue&gt;&gt; IEnumerable&lt;KeyValuePair&lt;TKey, TValue&gt;&gt;.GetEnumerator()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.IEnumerator</span>&lt;<span class="xref">System.Collections.Generic.KeyValuePair</span>&lt;TKey, TValue&gt;&gt;</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_LurchTable_2_System_Collections_IEnumerable_GetEnumerator.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%602.System%23Collections%23IEnumerable%23GetEnumerator%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/LurchTable.cs/#L597">View Source</a>
</span>
<a id="Lucene_Net_Support_LurchTable_2_System_Collections_IEnumerable_GetEnumerator_" data-uid="Lucene.Net.Support.LurchTable`2.System#Collections#IEnumerable#GetEnumerator*"></a>
<h4 id="Lucene_Net_Support_LurchTable_2_System_Collections_IEnumerable_GetEnumerator" data-uid="Lucene.Net.Support.LurchTable`2.System#Collections#IEnumerable#GetEnumerator">IEnumerable.GetEnumerator()</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">IEnumerator IEnumerable.GetEnumerator()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.IEnumerator</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="implements">Implements</h3>
<div>
<span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span>
</div>
<div>
<span class="xref">System.Collections.Generic.ICollection&lt;T&gt;</span>
</div>
<div>
<span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span>
</div>
<div>
<span class="xref">System.Collections.IEnumerable</span>
</div>
<div>
<span class="xref">System.IDisposable</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&lt;TKey, TValue&gt;(IDictionary&lt;TKey, TValue&gt;, IEnumerable&lt;KeyValuePair&lt;TKey, TValue&gt;&gt;)</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&lt;TKey, TValue&gt;(IDictionary&lt;TKey, TValue&gt;, 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&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>
<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&lt;T&gt;(ICollection&lt;T&gt;, IEnumerable&lt;T&gt;)</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_LurchTable_2.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.LurchTable%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/LurchTable.cs/#L50" 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>