| <!DOCTYPE html> |
| <!--[if IE]><![endif]--> |
| <html> |
| |
| <head> |
| <meta charset="utf-8"> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| <title>Interface ISortedDictionary<K, V> |
| | Apache Lucene.NET 4.8.0 Documentation </title> |
| <meta name="viewport" content="width=device-width"> |
| <meta name="title" content="Interface ISortedDictionary<K, V> |
| | Apache Lucene.NET 4.8.0 Documentation "> |
| <meta name="generator" content="docfx 2.47.0.0"> |
| |
| <link rel="shortcut icon" href="../../logo/favicon.ico"> |
| <link rel="stylesheet" href="../../styles/docfx.vendor.css"> |
| <link rel="stylesheet" href="../../styles/docfx.css"> |
| <link rel="stylesheet" href="../../styles/main.css"> |
| <meta property="docfx:navrel" content="../../toc.html"> |
| <meta property="docfx:tocrel" content="../toc.html"> |
| |
| <meta property="docfx:rel" content="../../"> |
| |
| </head> |
| <body data-spy="scroll" data-target="#affix" data-offset="120"> |
| <div id="wrapper"> |
| <header> |
| |
| <nav id="autocollapse" class="navbar ng-scope" role="navigation"> |
| <div class="container"> |
| <div class="navbar-header"> |
| <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar"> |
| <span class="sr-only">Toggle navigation</span> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| </button> |
| |
| <a class="navbar-brand" href="../../index.html"> |
| <img id="logo" class="svg" src="../../logo/lucene-net-color.png" alt=""> |
| </a> |
| </div> |
| <div class="collapse navbar-collapse" id="navbar"> |
| <form class="navbar-form navbar-right" role="search" id="search"> |
| <div class="form-group"> |
| <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off"> |
| </div> |
| </form> |
| </div> |
| </div> |
| </nav> |
| |
| <div class="subnav navbar navbar-default"> |
| <div class="container hide-when-search" id="breadcrumb"> |
| <ul class="breadcrumb"> |
| <li></li> |
| </ul> |
| </div> |
| </div> |
| </header> |
| <div class="container body-content"> |
| |
| <div id="search-results"> |
| <div class="search-list"></div> |
| <div class="sr-items"> |
| <p><i class="glyphicon glyphicon-refresh index-loading"></i></p> |
| </div> |
| <ul id="pagination"></ul> |
| </div> |
| </div> |
| <div role="main" class="container body-content hide-when-search"> |
| |
| <div class="sidenav hide-when-search"> |
| <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a> |
| <div class="sidetoggle collapse" id="sidetoggle"> |
| <div id="sidetoc"></div> |
| </div> |
| </div> |
| <div class="article row grid-right"> |
| <div class="col-md-10"> |
| <article class="content wrap" id="_content" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2"> |
| |
| |
| <h1 id="Lucene_Net_Support_C5_ISortedDictionary_2" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2" class="text-break">Interface ISortedDictionary<K, V> |
| </h1> |
| <div class="markdown level0 summary"><p>A dictionary with sorted keys.</p> |
| </div> |
| <div class="markdown level0 conceptual"></div> |
| <div class="inheritedMembers"> |
| <h5>Inherited Members</h5> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_EqualityComparer">IDictionary<K, V>.EqualityComparer</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_Item__0_">IDictionary<K, V>.Item[K]</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_IsReadOnly">IDictionary<K, V>.IsReadOnly</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_Keys">IDictionary<K, V>.Keys</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_Values">IDictionary<K, V>.Values</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_Func">IDictionary<K, V>.Func</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_Add__0__1_">IDictionary<K, V>.Add(K, V)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_AddAll__2_System_Collections_Generic_IEnumerable_Lucene_Net_Support_C5_KeyValuePair___0___1___">IDictionary<K, V>.AddAll<U, W>(IEnumerable<KeyValuePair<U, W>>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_ContainsSpeed">IDictionary<K, V>.ContainsSpeed</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_ContainsAll__1_System_Collections_Generic_IEnumerable___0__">IDictionary<K, V>.ContainsAll<H>(IEnumerable<H>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_Remove__0_">IDictionary<K, V>.Remove(K)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_Remove__0__1__">IDictionary<K, V>.Remove(K, V)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_Clear">IDictionary<K, V>.Clear()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_Contains__0_">IDictionary<K, V>.Contains(K)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_Find__0___1__">IDictionary<K, V>.Find(K, V)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_Update__0__1_">IDictionary<K, V>.Update(K, V)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_Update__0__1__1__">IDictionary<K, V>.Update(K, V, V)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_FindOrAdd__0__1__">IDictionary<K, V>.FindOrAdd(K, V)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_UpdateOrAdd__0__1_">IDictionary<K, V>.UpdateOrAdd(K, V)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_UpdateOrAdd__0__1__1__">IDictionary<K, V>.UpdateOrAdd(K, V, V)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDictionary-2.html#Lucene_Net_Support_C5_IDictionary_2_Check">IDictionary<K, V>.Check()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ListenableEvents">ICollectionValue<KeyValuePair<K, V>>.ListenableEvents</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ActiveEvents">ICollectionValue<KeyValuePair<K, V>>.ActiveEvents</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_CollectionChanged">ICollectionValue<KeyValuePair<K, V>>.CollectionChanged</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_CollectionCleared">ICollectionValue<KeyValuePair<K, V>>.CollectionCleared</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ItemsAdded">ICollectionValue<KeyValuePair<K, V>>.ItemsAdded</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ItemInserted">ICollectionValue<KeyValuePair<K, V>>.ItemInserted</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ItemsRemoved">ICollectionValue<KeyValuePair<K, V>>.ItemsRemoved</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ItemRemovedAt">ICollectionValue<KeyValuePair<K, V>>.ItemRemovedAt</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_IsEmpty">ICollectionValue<KeyValuePair<K, V>>.IsEmpty</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_Count">ICollectionValue<KeyValuePair<K, V>>.Count</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_CountSpeed">ICollectionValue<KeyValuePair<K, V>>.CountSpeed</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_CopyTo__0___System_Int32_">ICollectionValue<KeyValuePair<K, V>>.CopyTo(KeyValuePair<K, V>[], Int32)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ToArray">ICollectionValue<KeyValuePair<K, V>>.ToArray()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_Apply_System_Action__0__">ICollectionValue<KeyValuePair<K, V>>.Apply(Action<KeyValuePair<K, V>>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_Exists_System_Func__0_System_Boolean__">ICollectionValue<KeyValuePair<K, V>>.Exists(Func<KeyValuePair<K, V>, Boolean>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_Find_System_Func__0_System_Boolean___0__">ICollectionValue<KeyValuePair<K, V>>.Find(Func<KeyValuePair<K, V>, Boolean>, KeyValuePair<K, V>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_All_System_Func__0_System_Boolean__">ICollectionValue<KeyValuePair<K, V>>.All(Func<KeyValuePair<K, V>, Boolean>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_Choose">ICollectionValue<KeyValuePair<K, V>>.Choose()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_Filter_System_Func__0_System_Boolean__">ICollectionValue<KeyValuePair<K, V>>.Filter(Func<KeyValuePair<K, V>, Boolean>)</a> |
| </div> |
| <div> |
| <span class="xref">System.Collections.Generic.IEnumerable<Lucene.Net.Support.C5.KeyValuePair<K, V>>.GetEnumerator()</span> |
| </div> |
| <div> |
| <span class="xref">System.Collections.IEnumerable.GetEnumerator()</span> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IShowable.html#Lucene_Net_Support_C5_IShowable_Show_System_Text_StringBuilder_System_Int32__System_IFormatProvider_">IShowable.Show(StringBuilder, Int32, IFormatProvider)</a> |
| </div> |
| <div> |
| <span class="xref">System.IFormattable.ToString(System.String, System.IFormatProvider)</span> |
| </div> |
| </div> |
| <h6><strong>Namespace</strong>: <a class="xref" href="Lucene.Net.Support.C5.html">Lucene.Net.Support.C5</a></h6> |
| <h6><strong>Assembly</strong>: Lucene.Net.dll</h6> |
| <h5 id="Lucene_Net_Support_C5_ISortedDictionary_2_syntax">Syntax</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public interface ISortedDictionary<K, V> : IDictionary<K, V>, ICollectionValue<KeyValuePair<K, V>>, IEnumerable<KeyValuePair<K, V>>, IEnumerable, IShowable, IFormattable</code></pre> |
| </div> |
| <h5 class="typeParameters">Type Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="parametername">K</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="parametername">V</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 id="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_C5_ISortedDictionary_2_Comparer.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%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/C5.Support.cs/#L5236">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_Comparer_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.Comparer*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_Comparer" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.Comparer">Comparer</h4> |
| <div class="markdown level1 summary"><p>The key comparer used by this dictionary.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">IComparer<K> 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.IComparer</span><K></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_Keys.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%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/C5.Support.cs/#L5199">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_Keys_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.Keys*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_Keys" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.Keys">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">ISorted<K> 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.C5.ISorted-1.html">ISorted</a><K></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_C5_ISortedDictionary_2_AddSorted_System_Collections_Generic_IEnumerable_Lucene_Net_Support_C5_KeyValuePair__0__1___.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.AddSorted(System.Collections.Generic.IEnumerable%7BLucene.Net.Support.C5.KeyValuePair%7B%600%2C%601%7D%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/C5.Support.cs/#L5400">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_AddSorted_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.AddSorted*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_AddSorted_System_Collections_Generic_IEnumerable_Lucene_Net_Support_C5_KeyValuePair__0__1___" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.AddSorted(System.Collections.Generic.IEnumerable{Lucene.Net.Support.C5.KeyValuePair{`0,`1}})">AddSorted(IEnumerable<KeyValuePair<K, V>>)</h4> |
| <div class="markdown level1 summary"><p>Add all the items from another collection with an enumeration order that |
| is increasing in the items.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">void AddSorted(IEnumerable<KeyValuePair<K, V>> items)</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.IEnumerable</span><<a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a><K, V>></td> |
| <td><span class="parametername">items</span></td> |
| <td><p>The collection to add.</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.ArgumentException</span></td> |
| <td><p>if the enumerated items turns out |
| not to be in increasing order.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_Cut_System_IComparable__0__Lucene_Net_Support_C5_KeyValuePair__0__1___System_Boolean__Lucene_Net_Support_C5_KeyValuePair__0__1___System_Boolean__.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.Cut(System.IComparable%7B%600%7D%2CLucene.Net.Support.C5.KeyValuePair%7B%600%2C%601%7D%40%2CSystem.Boolean%40%2CLucene.Net.Support.C5.KeyValuePair%7B%600%2C%601%7D%40%2CSystem.Boolean%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/C5.Support.cs/#L5346">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_Cut_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.Cut*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_Cut_System_IComparable__0__Lucene_Net_Support_C5_KeyValuePair__0__1___System_Boolean__Lucene_Net_Support_C5_KeyValuePair__0__1___System_Boolean__" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.Cut(System.IComparable{`0},Lucene.Net.Support.C5.KeyValuePair{`0,`1}@,System.Boolean@,Lucene.Net.Support.C5.KeyValuePair{`0,`1}@,System.Boolean@)">Cut(IComparable<K>, out KeyValuePair<K, V>, out Boolean, out KeyValuePair<K, V>, out Boolean)</h4> |
| <div class="markdown level1 summary"><p>Given a "cut" function from the items of the sorted collection to <pre><code>int</code></pre> |
| whose only sign changes when going through items in increasing order |
| can be </p> |
| <p>The "cut" function is supplied as the <pre><code>CompareTo</code></pre> method |
| of an object <pre><code>c</code></pre> implementing </p> |
| <pre><code>IComparable<K></code></pre>. |
| <p>A typical example is the case where <pre><code>K</code></pre> is comparable and </p> |
| <pre><code>c</code></pre> is itself of type <pre><code>K</code></pre>. |
| <p>This method performs a search in the sorted collection for the ranges in which the |
| "cut" function is negative, zero respectively positive. If <pre><code>K</code></pre> is comparable |
| and <pre><code>c</code></pre> is of type <pre><code>K</code></pre>, this is a safe way (no exceptions thrown) |
| to find predecessor and successor of <pre><code>c</code></pre>. |
| </p> |
| <p> If the supplied cut function does not satisfy the sign-change condition, |
| the result of this call is undefined. |
| </p> |
| |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">bool Cut(IComparable<K> cutFunction, out KeyValuePair<K, V> lowEntry, out bool lowIsValid, out KeyValuePair<K, V> highEntry, out bool highIsValid)</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.IComparable</span><K></td> |
| <td><span class="parametername">cutFunction</span></td> |
| <td><p>The cut function <pre><code>K</code></pre> to <pre><code>int</code></pre>, given |
| by the <pre><code>CompareTo</code></pre> method of an object implementing </p> |
| <pre><code>IComparable<K></code></pre>.</td> |
| </tr> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a><K, V></td> |
| <td><span class="parametername">lowEntry</span></td> |
| <td><p>Returns the largest item in the collection, where the |
| cut function is positive (if any).</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td><span class="parametername">lowIsValid</span></td> |
| <td><p>Returns true if the cut function is positive somewhere |
| on this collection.</p> |
| </td> |
| </tr> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a><K, V></td> |
| <td><span class="parametername">highEntry</span></td> |
| <td><p>Returns the least item in the collection, where the |
| cut function is negative (if any).</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td><span class="parametername">highIsValid</span></td> |
| <td><p>Returns true if the cut function is negative somewhere |
| on this collection.</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 cut function is zero somewhere |
| on this collection.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_DeleteMax.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.DeleteMax%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L5230">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_DeleteMax_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.DeleteMax*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_DeleteMax" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.DeleteMax">DeleteMax()</h4> |
| <div class="markdown level1 summary"><p>Remove the largest item from this sorted collection.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">KeyValuePair<K, V> DeleteMax()</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.C5.KeyValuePair-2.html">KeyValuePair</a><K, V></td> |
| <td><p>The removed item.</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><a class="xref" href="Lucene.Net.Support.C5.NoSuchItemException.html">NoSuchItemException</a></td> |
| <td><p>if the collection is empty.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_DeleteMin.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.DeleteMin%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L5214">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_DeleteMin_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.DeleteMin*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_DeleteMin" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.DeleteMin">DeleteMin()</h4> |
| <div class="markdown level1 summary"><p>Remove the least item from this sorted collection.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">KeyValuePair<K, V> DeleteMin()</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.C5.KeyValuePair-2.html">KeyValuePair</a><K, V></td> |
| <td><p>The removed item.</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><a class="xref" href="Lucene.Net.Support.C5.NoSuchItemException.html">NoSuchItemException</a></td> |
| <td><p>if the collection is empty.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_FindMax.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.FindMax%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L5222">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_FindMax_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.FindMax*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_FindMax" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.FindMax">FindMax()</h4> |
| <div class="markdown level1 summary"><p>Find the current largest item of this sorted collection.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">KeyValuePair<K, V> FindMax()</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.C5.KeyValuePair-2.html">KeyValuePair</a><K, V></td> |
| <td><p>The largest item.</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><a class="xref" href="Lucene.Net.Support.C5.NoSuchItemException.html">NoSuchItemException</a></td> |
| <td><p>if the collection is empty.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_FindMin.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.FindMin%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L5206">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_FindMin_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.FindMin*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_FindMin" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.FindMin">FindMin()</h4> |
| <div class="markdown level1 summary"><p>Find the current least item of this sorted collection.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">KeyValuePair<K, V> FindMin()</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.C5.KeyValuePair-2.html">KeyValuePair</a><K, V></td> |
| <td><p>The least item.</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><a class="xref" href="Lucene.Net.Support.C5.NoSuchItemException.html">NoSuchItemException</a></td> |
| <td><p>if the collection is empty.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_Predecessor__0_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.Predecessor(%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/C5.Support.cs/#L5280">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_Predecessor_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.Predecessor*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_Predecessor__0_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.Predecessor(`0)">Predecessor(K)</h4> |
| <div class="markdown level1 summary"><p>Find the entry with the largest key less than a given key.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">KeyValuePair<K, V> Predecessor(K 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">K</span></td> |
| <td><span class="parametername">key</span></td> |
| <td><p>The key to compare to</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><a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a><K, V></td> |
| <td><p>The entry</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><a class="xref" href="Lucene.Net.Support.C5.NoSuchItemException.html">NoSuchItemException</a></td> |
| <td><p>if there is no such entry. </p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_RangeAll.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.RangeAll%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L5389">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_RangeAll_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.RangeAll*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_RangeAll" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.RangeAll">RangeAll()</h4> |
| <div class="markdown level1 summary"><p>Create a directed collection with the same items as this collection. |
| <p>The returned collection is not a copy but a view into the collection.</p> |
| <p>The view is fragile in the sense that changes to the underlying collection will |
| invalidate the view so that further operations on the view throws InvalidView exceptions.</p></p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">IDirectedCollectionValue<KeyValuePair<K, V>> RangeAll()</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.C5.IDirectedCollectionValue-1.html">IDirectedCollectionValue</a><<a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a><K, V>></td> |
| <td><p>The result directed collection.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_RangeFrom__0_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.RangeFrom(%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/C5.Support.cs/#L5356">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_RangeFrom_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.RangeFrom*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_RangeFrom__0_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.RangeFrom(`0)">RangeFrom(K)</h4> |
| <div class="markdown level1 summary"><p>Query this sorted collection for items greater than or equal to a supplied value. |
| <p>The returned collection is not a copy but a view into the collection.</p> |
| <p>The view is fragile in the sense that changes to the underlying collection will |
| invalidate the view so that further operations on the view throws InvalidView exceptions.</p></p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">IDirectedEnumerable<KeyValuePair<K, V>> RangeFrom(K bot)</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">K</span></td> |
| <td><span class="parametername">bot</span></td> |
| <td><p>The lower bound (inclusive).</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><a class="xref" href="Lucene.Net.Support.C5.IDirectedEnumerable-1.html">IDirectedEnumerable</a><<a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a><K, V>></td> |
| <td><p>The result directed collection.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_RangeFromTo__0__0_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.RangeFromTo(%600%2C%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/C5.Support.cs/#L5368">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_RangeFromTo_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.RangeFromTo*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_RangeFromTo__0__0_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.RangeFromTo(`0,`0)">RangeFromTo(K, K)</h4> |
| <div class="markdown level1 summary"><p>Query this sorted collection for items between two supplied values. |
| <p>The returned collection is not a copy but a view into the collection.</p> |
| <p>The view is fragile in the sense that changes to the underlying collection will |
| invalidate the view so that further operations on the view throws InvalidView exceptions.</p></p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">IDirectedEnumerable<KeyValuePair<K, V>> RangeFromTo(K lowerBound, K upperBound)</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">K</span></td> |
| <td><span class="parametername">lowerBound</span></td> |
| <td><p>The lower bound (inclusive).</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">K</span></td> |
| <td><span class="parametername">upperBound</span></td> |
| <td><p>The upper bound (exclusive).</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><a class="xref" href="Lucene.Net.Support.C5.IDirectedEnumerable-1.html">IDirectedEnumerable</a><<a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a><K, V>></td> |
| <td><p>The result directed collection.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_RangeTo__0_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.RangeTo(%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/C5.Support.cs/#L5379">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_RangeTo_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.RangeTo*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_RangeTo__0_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.RangeTo(`0)">RangeTo(K)</h4> |
| <div class="markdown level1 summary"><p>Query this sorted collection for items less than a supplied value. |
| <p>The returned collection is not a copy but a view into the collection.</p> |
| <p>The view is fragile in the sense that changes to the underlying collection will |
| invalidate the view so that further operations on the view throws InvalidView exceptions.</p></p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">IDirectedEnumerable<KeyValuePair<K, V>> RangeTo(K top)</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">K</span></td> |
| <td><span class="parametername">top</span></td> |
| <td><p>The upper bound (exclusive).</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><a class="xref" href="Lucene.Net.Support.C5.IDirectedEnumerable-1.html">IDirectedEnumerable</a><<a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a><K, V>></td> |
| <td><p>The result directed collection.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_RemoveRangeFrom__0_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.RemoveRangeFrom(%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/C5.Support.cs/#L5407">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_RemoveRangeFrom_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.RemoveRangeFrom*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_RemoveRangeFrom__0_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.RemoveRangeFrom(`0)">RemoveRangeFrom(K)</h4> |
| <div class="markdown level1 summary"><p>Remove all items of this collection above or at a supplied threshold.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">void RemoveRangeFrom(K low)</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">K</span></td> |
| <td><span class="parametername">low</span></td> |
| <td><p>The lower threshold (inclusive).</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_RemoveRangeFromTo__0__0_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.RemoveRangeFromTo(%600%2C%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/C5.Support.cs/#L5415">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_RemoveRangeFromTo_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.RemoveRangeFromTo*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_RemoveRangeFromTo__0__0_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.RemoveRangeFromTo(`0,`0)">RemoveRangeFromTo(K, K)</h4> |
| <div class="markdown level1 summary"><p>Remove all items of this collection between two supplied thresholds.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">void RemoveRangeFromTo(K low, K hi)</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">K</span></td> |
| <td><span class="parametername">low</span></td> |
| <td><p>The lower threshold (inclusive).</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">K</span></td> |
| <td><span class="parametername">hi</span></td> |
| <td><p>The upper threshold (exclusive).</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_RemoveRangeTo__0_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.RemoveRangeTo(%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/C5.Support.cs/#L5422">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_RemoveRangeTo_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.RemoveRangeTo*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_RemoveRangeTo__0_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.RemoveRangeTo(`0)">RemoveRangeTo(K)</h4> |
| <div class="markdown level1 summary"><p>Remove all items of this collection below a supplied threshold.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">void RemoveRangeTo(K hi)</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">K</span></td> |
| <td><span class="parametername">hi</span></td> |
| <td><p>The upper threshold (exclusive).</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_Successor__0_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.Successor(%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/C5.Support.cs/#L5289">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_Successor_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.Successor*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_Successor__0_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.Successor(`0)">Successor(K)</h4> |
| <div class="markdown level1 summary"><p>Find the entry with the least key greater than a given key.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">KeyValuePair<K, V> Successor(K 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">K</span></td> |
| <td><span class="parametername">key</span></td> |
| <td><p>The key to compare to</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><a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a><K, V></td> |
| <td><p>The entry</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><a class="xref" href="Lucene.Net.Support.C5.NoSuchItemException.html">NoSuchItemException</a></td> |
| <td><p>if there is no such entry. </p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_TryPredecessor__0_Lucene_Net_Support_C5_KeyValuePair__0__1___.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.TryPredecessor(%600%2CLucene.Net.Support.C5.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/C5.Support.cs/#L5245">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_TryPredecessor_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.TryPredecessor*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_TryPredecessor__0_Lucene_Net_Support_C5_KeyValuePair__0__1___" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.TryPredecessor(`0,Lucene.Net.Support.C5.KeyValuePair{`0,`1}@)">TryPredecessor(K, out KeyValuePair<K, V>)</h4> |
| <div class="markdown level1 summary"><p>Find the entry in the dictionary whose key is the |
| predecessor of 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">bool TryPredecessor(K key, out KeyValuePair<K, V> res)</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">K</span></td> |
| <td><span class="parametername">key</span></td> |
| <td><p>The key</p> |
| </td> |
| </tr> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a><K, V></td> |
| <td><span class="parametername">res</span></td> |
| <td><p>The predecessor, if any</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 key has a predecessor</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_TrySuccessor__0_Lucene_Net_Support_C5_KeyValuePair__0__1___.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.TrySuccessor(%600%2CLucene.Net.Support.C5.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/C5.Support.cs/#L5254">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_TrySuccessor_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.TrySuccessor*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_TrySuccessor__0_Lucene_Net_Support_C5_KeyValuePair__0__1___" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.TrySuccessor(`0,Lucene.Net.Support.C5.KeyValuePair{`0,`1}@)">TrySuccessor(K, out KeyValuePair<K, V>)</h4> |
| <div class="markdown level1 summary"><p>Find the entry in the dictionary whose key is the |
| successor of 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">bool TrySuccessor(K key, out KeyValuePair<K, V> res)</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">K</span></td> |
| <td><span class="parametername">key</span></td> |
| <td><p>The key</p> |
| </td> |
| </tr> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a><K, V></td> |
| <td><span class="parametername">res</span></td> |
| <td><p>The successor, if any</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 key has a successor</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_TryWeakPredecessor__0_Lucene_Net_Support_C5_KeyValuePair__0__1___.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.TryWeakPredecessor(%600%2CLucene.Net.Support.C5.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/C5.Support.cs/#L5263">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_TryWeakPredecessor_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.TryWeakPredecessor*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_TryWeakPredecessor__0_Lucene_Net_Support_C5_KeyValuePair__0__1___" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.TryWeakPredecessor(`0,Lucene.Net.Support.C5.KeyValuePair{`0,`1}@)">TryWeakPredecessor(K, out KeyValuePair<K, V>)</h4> |
| <div class="markdown level1 summary"><p>Find the entry in the dictionary whose key is the |
| weak predecessor of 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">bool TryWeakPredecessor(K key, out KeyValuePair<K, V> res)</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">K</span></td> |
| <td><span class="parametername">key</span></td> |
| <td><p>The key</p> |
| </td> |
| </tr> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a><K, V></td> |
| <td><span class="parametername">res</span></td> |
| <td><p>The predecessor, if any</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 key has a weak predecessor</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_TryWeakSuccessor__0_Lucene_Net_Support_C5_KeyValuePair__0__1___.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.TryWeakSuccessor(%600%2CLucene.Net.Support.C5.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/C5.Support.cs/#L5272">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_TryWeakSuccessor_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.TryWeakSuccessor*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_TryWeakSuccessor__0_Lucene_Net_Support_C5_KeyValuePair__0__1___" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.TryWeakSuccessor(`0,Lucene.Net.Support.C5.KeyValuePair{`0,`1}@)">TryWeakSuccessor(K, out KeyValuePair<K, V>)</h4> |
| <div class="markdown level1 summary"><p>Find the entry in the dictionary whose key is the |
| weak successor of 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">bool TryWeakSuccessor(K key, out KeyValuePair<K, V> res)</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">K</span></td> |
| <td><span class="parametername">key</span></td> |
| <td><p>The key</p> |
| </td> |
| </tr> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a><K, V></td> |
| <td><span class="parametername">res</span></td> |
| <td><p>The weak successor, if any</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 key has a weak successor</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_WeakPredecessor__0_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.WeakPredecessor(%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/C5.Support.cs/#L5298">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_WeakPredecessor_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.WeakPredecessor*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_WeakPredecessor__0_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.WeakPredecessor(`0)">WeakPredecessor(K)</h4> |
| <div class="markdown level1 summary"><p>Find the entry with the largest key less than or equal to a given key.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">KeyValuePair<K, V> WeakPredecessor(K 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">K</span></td> |
| <td><span class="parametername">key</span></td> |
| <td><p>The key to compare to</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><a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a><K, V></td> |
| <td><p>The entry</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><a class="xref" href="Lucene.Net.Support.C5.NoSuchItemException.html">NoSuchItemException</a></td> |
| <td><p>if there is no such entry. </p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2_WeakSuccessor__0_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602.WeakSuccessor(%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/C5.Support.cs/#L5307">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_ISortedDictionary_2_WeakSuccessor_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.WeakSuccessor*"></a> |
| <h4 id="Lucene_Net_Support_C5_ISortedDictionary_2_WeakSuccessor__0_" data-uid="Lucene.Net.Support.C5.ISortedDictionary`2.WeakSuccessor(`0)">WeakSuccessor(K)</h4> |
| <div class="markdown level1 summary"><p>Find the entry with the least key greater than or equal to a given key.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">KeyValuePair<K, V> WeakSuccessor(K 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">K</span></td> |
| <td><span class="parametername">key</span></td> |
| <td><p>The key to compare to</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><a class="xref" href="Lucene.Net.Support.C5.KeyValuePair-2.html">KeyValuePair</a><K, V></td> |
| <td><p>The entry</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><a class="xref" href="Lucene.Net.Support.C5.NoSuchItemException.html">NoSuchItemException</a></td> |
| <td><p>if there is no such entry. </p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 id="extensionmethods">Extension Methods</h3> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.EnumerableExtensions.html#Lucene_Net_Support_EnumerableExtensions_InPairs__2_System_Collections_Generic_IEnumerable___0__System_Func___0___0___1__">EnumerableExtensions.InPairs<T, TOut>(IEnumerable<T>, Func<T, T, TOut>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.EnumerableExtensions.html#Lucene_Net_Support_EnumerableExtensions_TakeAllButLast__1_System_Collections_Generic_IEnumerable___0__">EnumerableExtensions.TakeAllButLast<T>(IEnumerable<T>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.EnumerableExtensions.html#Lucene_Net_Support_EnumerableExtensions_TakeAllButLast__1_System_Collections_Generic_IEnumerable___0__System_Int32_">EnumerableExtensions.TakeAllButLast<T>(IEnumerable<T>, Int32)</a> |
| </div> |
| </article> |
| </div> |
| |
| <div class="hidden-sm col-md-2" role="complementary"> |
| <div class="sideaffix"> |
| <div class="contribution"> |
| <ul class="nav"> |
| <li> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_ISortedDictionary_2.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.ISortedDictionary%602%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a> |
| </li> |
| <li> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L5193" 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> |