| <!DOCTYPE html> |
| <!--[if IE]><![endif]--> |
| <html> |
| |
| <head> |
| <meta charset="utf-8"> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| <title>Interface IPriorityQueue<T> |
| | Apache Lucene.NET 4.8.0 Documentation </title> |
| <meta name="viewport" content="width=device-width"> |
| <meta name="title" content="Interface IPriorityQueue<T> |
| | 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.IPriorityQueue`1"> |
| |
| |
| <h1 id="Lucene_Net_Support_C5_IPriorityQueue_1" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1" class="text-break">Interface IPriorityQueue<T> |
| </h1> |
| <div class="markdown level0 summary"><p>A generic collection of items prioritized by a comparison (order) relation. |
| Supports adding items and reporting or removing extremal elements. |
| <p> |
| <p> |
| When adding an item, the user may choose to have a handle allocated for this item in the queue. |
| The resulting handle may be used for deleting the item even if not extremal, and for replacing the item. |
| A priority queue typically only holds numeric priorities associated with some objects |
| maintained separately in other collection objects.</p> |
| </div> |
| <div class="markdown level0 conceptual"></div> |
| <div class="inheritedMembers"> |
| <h5>Inherited Members</h5> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IExtensible-1.html#Lucene_Net_Support_C5_IExtensible_1_IsReadOnly">IExtensible<T>.IsReadOnly</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IExtensible-1.html#Lucene_Net_Support_C5_IExtensible_1_AllowsDuplicates">IExtensible<T>.AllowsDuplicates</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IExtensible-1.html#Lucene_Net_Support_C5_IExtensible_1_EqualityComparer">IExtensible<T>.EqualityComparer</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IExtensible-1.html#Lucene_Net_Support_C5_IExtensible_1_DuplicatesByCounting">IExtensible<T>.DuplicatesByCounting</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IExtensible-1.html#Lucene_Net_Support_C5_IExtensible_1_Add__0_">IExtensible<T>.Add(T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IExtensible-1.html#Lucene_Net_Support_C5_IExtensible_1_AddAll_System_Collections_Generic_IEnumerable__0__">IExtensible<T>.AddAll(IEnumerable<T>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IExtensible-1.html#Lucene_Net_Support_C5_IExtensible_1_Check">IExtensible<T>.Check()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ListenableEvents">ICollectionValue<T>.ListenableEvents</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ActiveEvents">ICollectionValue<T>.ActiveEvents</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_CollectionChanged">ICollectionValue<T>.CollectionChanged</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_CollectionCleared">ICollectionValue<T>.CollectionCleared</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ItemsAdded">ICollectionValue<T>.ItemsAdded</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ItemInserted">ICollectionValue<T>.ItemInserted</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ItemsRemoved">ICollectionValue<T>.ItemsRemoved</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ItemRemovedAt">ICollectionValue<T>.ItemRemovedAt</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_IsEmpty">ICollectionValue<T>.IsEmpty</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_Count">ICollectionValue<T>.Count</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_CountSpeed">ICollectionValue<T>.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<T>.CopyTo(T[], Int32)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ToArray">ICollectionValue<T>.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<T>.Apply(Action<T>)</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<T>.Exists(Func<T, 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<T>.Find(Func<T, Boolean>, T)</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<T>.All(Func<T, Boolean>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_Choose">ICollectionValue<T>.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<T>.Filter(Func<T, Boolean>)</a> |
| </div> |
| <div> |
| <span class="xref">System.Collections.Generic.IEnumerable<T>.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_IPriorityQueue_1_syntax">Syntax</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public interface IPriorityQueue<T> : IExtensible<T>, ICollectionValue<T>, IEnumerable<T>, 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">T</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_IPriorityQueue_1_Comparer.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IPriorityQueue%601.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/#L6892">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IPriorityQueue_1_Comparer_" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.Comparer*"></a> |
| <h4 id="Lucene_Net_Support_C5_IPriorityQueue_1_Comparer" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.Comparer">Comparer</h4> |
| <div class="markdown level1 summary"><p>The comparer object supplied at creation time for this collection</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">IComparer<T> 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><T></td> |
| <td><p>The comparer</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_IPriorityQueue_1_Item_Lucene_Net_Support_C5_IPriorityQueueHandle__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IPriorityQueue%601.Item(Lucene.Net.Support.C5.IPriorityQueueHandle%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/C5.Support.cs/#L6899">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IPriorityQueue_1_Item_" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.Item*"></a> |
| <h4 id="Lucene_Net_Support_C5_IPriorityQueue_1_Item_Lucene_Net_Support_C5_IPriorityQueueHandle__0__" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.Item(Lucene.Net.Support.C5.IPriorityQueueHandle{`0})">Item[IPriorityQueueHandle<T>]</h4> |
| <div class="markdown level1 summary"><p>Get or set the item corresponding to a handle. Throws exceptions on |
| invalid handles.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">T this[IPriorityQueueHandle<T> handle] { 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><a class="xref" href="Lucene.Net.Support.C5.IPriorityQueueHandle-1.html">IPriorityQueueHandle</a><T></td> |
| <td><span class="parametername">handle</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">T</span></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_IPriorityQueue_1_Add_Lucene_Net_Support_C5_IPriorityQueueHandle__0____0_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IPriorityQueue%601.Add(Lucene.Net.Support.C5.IPriorityQueueHandle%7B%600%7D%40%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/#L6921">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IPriorityQueue_1_Add_" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.Add*"></a> |
| <h4 id="Lucene_Net_Support_C5_IPriorityQueue_1_Add_Lucene_Net_Support_C5_IPriorityQueueHandle__0____0_" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.Add(Lucene.Net.Support.C5.IPriorityQueueHandle{`0}@,`0)">Add(ref IPriorityQueueHandle<T>, T)</h4> |
| <div class="markdown level1 summary"><p>Add an item to the priority queue, receiving a |
| handle for the item in the queue, |
| or reusing an existing unused handle.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">bool Add(ref IPriorityQueueHandle<T> handle, T 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><a class="xref" href="Lucene.Net.Support.C5.IPriorityQueueHandle-1.html">IPriorityQueueHandle</a><T></td> |
| <td><span class="parametername">handle</span></td> |
| <td><p>On output: a handle for the added item. |
| On input: null for allocating a new handle, or a currently unused handle for reuse. |
| A handle for reuse must be compatible with this priority queue, |
| by being created by a priority queue of the same runtime type, but not |
| necessarily the same priority queue object.</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">T</span></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_C5_IPriorityQueue_1_Delete_Lucene_Net_Support_C5_IPriorityQueueHandle__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IPriorityQueue%601.Delete(Lucene.Net.Support.C5.IPriorityQueueHandle%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/C5.Support.cs/#L6928">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IPriorityQueue_1_Delete_" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.Delete*"></a> |
| <h4 id="Lucene_Net_Support_C5_IPriorityQueue_1_Delete_Lucene_Net_Support_C5_IPriorityQueueHandle__0__" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.Delete(Lucene.Net.Support.C5.IPriorityQueueHandle{`0})">Delete(IPriorityQueueHandle<T>)</h4> |
| <div class="markdown level1 summary"><p>Delete an item with a handle from a priority queue</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">T Delete(IPriorityQueueHandle<T> handle)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.IPriorityQueueHandle-1.html">IPriorityQueueHandle</a><T></td> |
| <td><span class="parametername">handle</span></td> |
| <td><p>The handle for the item. The handle will be invalidated, but reusable.</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">T</span></td> |
| <td><p>The deleted item</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_IPriorityQueue_1_DeleteMax.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IPriorityQueue%601.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/#L6886">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IPriorityQueue_1_DeleteMax_" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.DeleteMax*"></a> |
| <h4 id="Lucene_Net_Support_C5_IPriorityQueue_1_DeleteMax" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.DeleteMax">DeleteMax()</h4> |
| <div class="markdown level1 summary"><p>Remove the largest item from this priority queue.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">T 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><span class="xref">T</span></td> |
| <td><p>The removed item.</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_IPriorityQueue_1_DeleteMax_Lucene_Net_Support_C5_IPriorityQueueHandle__0___.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IPriorityQueue%601.DeleteMax(Lucene.Net.Support.C5.IPriorityQueueHandle%7B%600%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/#L6967">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IPriorityQueue_1_DeleteMax_" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.DeleteMax*"></a> |
| <h4 id="Lucene_Net_Support_C5_IPriorityQueue_1_DeleteMax_Lucene_Net_Support_C5_IPriorityQueueHandle__0___" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.DeleteMax(Lucene.Net.Support.C5.IPriorityQueueHandle{`0}@)">DeleteMax(out IPriorityQueueHandle<T>)</h4> |
| <div class="markdown level1 summary"><p>Remove the largest item from this priority queue.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">T DeleteMax(out IPriorityQueueHandle<T> handle)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.IPriorityQueueHandle-1.html">IPriorityQueueHandle</a><T></td> |
| <td><span class="parametername">handle</span></td> |
| <td><p>On return: the handle of the removed item.</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">T</span></td> |
| <td><p>The removed item.</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_IPriorityQueue_1_DeleteMin.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IPriorityQueue%601.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/#L6872">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IPriorityQueue_1_DeleteMin_" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.DeleteMin*"></a> |
| <h4 id="Lucene_Net_Support_C5_IPriorityQueue_1_DeleteMin" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.DeleteMin">DeleteMin()</h4> |
| <div class="markdown level1 summary"><p>Remove the least item from this priority queue.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">T 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><span class="xref">T</span></td> |
| <td><p>The removed item.</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_IPriorityQueue_1_DeleteMin_Lucene_Net_Support_C5_IPriorityQueueHandle__0___.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IPriorityQueue%601.DeleteMin(Lucene.Net.Support.C5.IPriorityQueueHandle%7B%600%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/#L6960">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IPriorityQueue_1_DeleteMin_" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.DeleteMin*"></a> |
| <h4 id="Lucene_Net_Support_C5_IPriorityQueue_1_DeleteMin_Lucene_Net_Support_C5_IPriorityQueueHandle__0___" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.DeleteMin(Lucene.Net.Support.C5.IPriorityQueueHandle{`0}@)">DeleteMin(out IPriorityQueueHandle<T>)</h4> |
| <div class="markdown level1 summary"><p>Remove the least item from this priority queue.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">T DeleteMin(out IPriorityQueueHandle<T> handle)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.IPriorityQueueHandle-1.html">IPriorityQueueHandle</a><T></td> |
| <td><span class="parametername">handle</span></td> |
| <td><p>On return: the handle of the removed item.</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">T</span></td> |
| <td><p>The removed item.</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_IPriorityQueue_1_Find_Lucene_Net_Support_C5_IPriorityQueueHandle__0___0__.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IPriorityQueue%601.Find(Lucene.Net.Support.C5.IPriorityQueueHandle%7B%600%7D%2C%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/C5.Support.cs/#L6907">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IPriorityQueue_1_Find_" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.Find*"></a> |
| <h4 id="Lucene_Net_Support_C5_IPriorityQueue_1_Find_Lucene_Net_Support_C5_IPriorityQueueHandle__0___0__" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.Find(Lucene.Net.Support.C5.IPriorityQueueHandle{`0},`0@)">Find(IPriorityQueueHandle<T>, out T)</h4> |
| <div class="markdown level1 summary"><p>Check if the entry corresponding to a handle is in the priority queue.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">bool Find(IPriorityQueueHandle<T> handle, out T 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><a class="xref" href="Lucene.Net.Support.C5.IPriorityQueueHandle-1.html">IPriorityQueueHandle</a><T></td> |
| <td><span class="parametername">handle</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">T</span></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_C5_IPriorityQueue_1_FindMax.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IPriorityQueue%601.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/#L6879">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IPriorityQueue_1_FindMax_" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.FindMax*"></a> |
| <h4 id="Lucene_Net_Support_C5_IPriorityQueue_1_FindMax" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.FindMax">FindMax()</h4> |
| <div class="markdown level1 summary"><p>Find the current largest item of this priority queue.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">T 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><span class="xref">T</span></td> |
| <td><p>The largest item.</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_IPriorityQueue_1_FindMax_Lucene_Net_Support_C5_IPriorityQueueHandle__0___.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IPriorityQueue%601.FindMax(Lucene.Net.Support.C5.IPriorityQueueHandle%7B%600%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/#L6952">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IPriorityQueue_1_FindMax_" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.FindMax*"></a> |
| <h4 id="Lucene_Net_Support_C5_IPriorityQueue_1_FindMax_Lucene_Net_Support_C5_IPriorityQueueHandle__0___" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.FindMax(Lucene.Net.Support.C5.IPriorityQueueHandle{`0}@)">FindMax(out IPriorityQueueHandle<T>)</h4> |
| <div class="markdown level1 summary"><p>Find the current largest item of this priority queue.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">T FindMax(out IPriorityQueueHandle<T> handle)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.IPriorityQueueHandle-1.html">IPriorityQueueHandle</a><T></td> |
| <td><span class="parametername">handle</span></td> |
| <td><p>On return: the handle of the item.</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">T</span></td> |
| <td><p>The largest item.</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_IPriorityQueue_1_FindMin.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IPriorityQueue%601.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/#L6865">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IPriorityQueue_1_FindMin_" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.FindMin*"></a> |
| <h4 id="Lucene_Net_Support_C5_IPriorityQueue_1_FindMin" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.FindMin">FindMin()</h4> |
| <div class="markdown level1 summary"><p>Find the current least item of this priority queue.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">T 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><span class="xref">T</span></td> |
| <td><p>The least item.</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_IPriorityQueue_1_FindMin_Lucene_Net_Support_C5_IPriorityQueueHandle__0___.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IPriorityQueue%601.FindMin(Lucene.Net.Support.C5.IPriorityQueueHandle%7B%600%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/#L6944">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IPriorityQueue_1_FindMin_" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.FindMin*"></a> |
| <h4 id="Lucene_Net_Support_C5_IPriorityQueue_1_FindMin_Lucene_Net_Support_C5_IPriorityQueueHandle__0___" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.FindMin(Lucene.Net.Support.C5.IPriorityQueueHandle{`0}@)">FindMin(out IPriorityQueueHandle<T>)</h4> |
| <div class="markdown level1 summary"><p>Find the current least item of this priority queue.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">T FindMin(out IPriorityQueueHandle<T> handle)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.IPriorityQueueHandle-1.html">IPriorityQueueHandle</a><T></td> |
| <td><span class="parametername">handle</span></td> |
| <td><p>On return: the handle of the item.</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">T</span></td> |
| <td><p>The least item.</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_IPriorityQueue_1_Replace_Lucene_Net_Support_C5_IPriorityQueueHandle__0___0_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IPriorityQueue%601.Replace(Lucene.Net.Support.C5.IPriorityQueueHandle%7B%600%7D%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/#L6937">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IPriorityQueue_1_Replace_" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.Replace*"></a> |
| <h4 id="Lucene_Net_Support_C5_IPriorityQueue_1_Replace_Lucene_Net_Support_C5_IPriorityQueueHandle__0___0_" data-uid="Lucene.Net.Support.C5.IPriorityQueue`1.Replace(Lucene.Net.Support.C5.IPriorityQueueHandle{`0},`0)">Replace(IPriorityQueueHandle<T>, T)</h4> |
| <div class="markdown level1 summary"><p>Replace an item with a handle in a priority queue with a new item. |
| Typically used for changing the priority of some queued object.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">T Replace(IPriorityQueueHandle<T> handle, T 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><a class="xref" href="Lucene.Net.Support.C5.IPriorityQueueHandle-1.html">IPriorityQueueHandle</a><T></td> |
| <td><span class="parametername">handle</span></td> |
| <td><p>The handle for the old item</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">T</span></td> |
| <td><span class="parametername">item</span></td> |
| <td><p>The new item</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">T</span></td> |
| <td><p>The old item</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_IPriorityQueue_1.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IPriorityQueue%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" 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/#L6859" 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> |