| <!DOCTYPE html> |
| <!--[if IE]><![endif]--> |
| <html> |
| |
| <head> |
| <meta charset="utf-8"> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| <title>Interface IIndexed<T> |
| | Apache Lucene.NET 4.8.0 Documentation </title> |
| <meta name="viewport" content="width=device-width"> |
| <meta name="title" content="Interface IIndexed<T> |
| | Apache Lucene.NET 4.8.0 Documentation "> |
| <meta name="generator" content="docfx 2.50.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.IIndexed`1"> |
| |
| |
| <h1 id="Lucene_Net_Support_C5_IIndexed_1" data-uid="Lucene.Net.Support.C5.IIndexed`1" class="text-break">Interface IIndexed<T> |
| </h1> |
| <div class="markdown level0 summary"><p>A sequenced collection, where indices of items in the order are maintained</p> |
| </div> |
| <div class="markdown level0 conceptual"></div> |
| <div class="inheritedMembers"> |
| <h5>Inherited Members</h5> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ISequenced-1.html#Lucene_Net_Support_C5_ISequenced_1_GetSequencedHashCode">ISequenced<T>.GetSequencedHashCode()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ISequenced-1.html#Lucene_Net_Support_C5_ISequenced_1_SequencedEquals_Lucene_Net_Support_C5_ISequenced__0__">ISequenced<T>.SequencedEquals(ISequenced<T>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_ContainsSpeed">ICollection<T>.ContainsSpeed</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_Count">ICollection<T>.Count</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_IsReadOnly">ICollection<T>.IsReadOnly</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_Add__0_">ICollection<T>.Add(T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_CopyTo__0___System_Int32_">ICollection<T>.CopyTo(T[], Int32)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_GetUnsequencedHashCode">ICollection<T>.GetUnsequencedHashCode()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_UnsequencedEquals_Lucene_Net_Support_C5_ICollection__0__">ICollection<T>.UnsequencedEquals(ICollection<T>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_Contains__0_">ICollection<T>.Contains(T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_ContainsCount__0_">ICollection<T>.ContainsCount(T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_UniqueItems">ICollection<T>.UniqueItems()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_ItemMultiplicities">ICollection<T>.ItemMultiplicities()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_ContainsAll_System_Collections_Generic_IEnumerable__0__">ICollection<T>.ContainsAll(System.Collections.Generic.IEnumerable<T>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_Find__0__">ICollection<T>.Find(T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_FindOrAdd__0__">ICollection<T>.FindOrAdd(T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_Update__0_">ICollection<T>.Update(T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_Update__0__0__">ICollection<T>.Update(T, T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_UpdateOrAdd__0_">ICollection<T>.UpdateOrAdd(T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_UpdateOrAdd__0__0__">ICollection<T>.UpdateOrAdd(T, T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_Remove__0_">ICollection<T>.Remove(T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_Remove__0__0__">ICollection<T>.Remove(T, T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_RemoveAllCopies__0_">ICollection<T>.RemoveAllCopies(T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_RemoveAll_System_Collections_Generic_IEnumerable__0__">ICollection<T>.RemoveAll(System.Collections.Generic.IEnumerable<T>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_Clear">ICollection<T>.Clear()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_RetainAll_System_Collections_Generic_IEnumerable__0__">ICollection<T>.RetainAll(System.Collections.Generic.IEnumerable<T>)</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_AddAll_System_Collections_Generic_IEnumerable__0__">IExtensible<T>.AddAll(System.Collections.Generic.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.IDirectedCollectionValue-1.html#Lucene_Net_Support_C5_IDirectedCollectionValue_1_Backwards">IDirectedCollectionValue<T>.Backwards()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDirectedCollectionValue-1.html#Lucene_Net_Support_C5_IDirectedCollectionValue_1_FindLast_Func__0_System_Boolean___0__">IDirectedCollectionValue<T>.FindLast(Func<T, Boolean>, T)</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_CountSpeed">ICollectionValue<T>.CountSpeed</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_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_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_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_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_Func__0_System_Boolean__">ICollectionValue<T>.Filter(Func<T, Boolean>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IShowable.html#Lucene_Net_Support_C5_IShowable_Show_System_Text_StringBuilder_System_Int32__IFormatProvider_">IShowable.Show(System.Text.StringBuilder, Int32, IFormatProvider)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IDirectedEnumerable-1.html#Lucene_Net_Support_C5_IDirectedEnumerable_1_Direction">IDirectedEnumerable<T>.Direction</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IReadOnlyList-1.html#Lucene_Net_Support_C5_IReadOnlyList_1_Item_System_Int32_">IReadOnlyList<T>.Item[Int32]</a> |
| </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_IIndexed_1_syntax">Syntax</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public interface IIndexed<T> : ISequenced<T>, ICollection<T>, IExtensible<T>, System.Collections.Generic.ICollection<T>, IDirectedCollectionValue<T>, ICollectionValue<T>, IShowable, IFormattable, IDirectedEnumerable<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.IEnumerable</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_IIndexed_1_IndexingSpeed.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IIndexed%601.IndexingSpeed%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/#L6328">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IIndexed_1_IndexingSpeed_" data-uid="Lucene.Net.Support.C5.IIndexed`1.IndexingSpeed*"></a> |
| <h4 id="Lucene_Net_Support_C5_IIndexed_1_IndexingSpeed" data-uid="Lucene.Net.Support.C5.IIndexed`1.IndexingSpeed">IndexingSpeed</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">Speed IndexingSpeed { 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.Speed.html">Speed</a></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_IIndexed_1_Item_System_Int32_System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IIndexed%601.Item(System.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L6336">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IIndexed_1_Item_" data-uid="Lucene.Net.Support.C5.IIndexed`1.Item*"></a> |
| <h4 id="Lucene_Net_Support_C5_IIndexed_1_Item_System_Int32_System_Int32_" data-uid="Lucene.Net.Support.C5.IIndexed`1.Item(System.Int32,System.Int32)">Item[Int32, Int32]</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">IDirectedCollectionValue<T> this[int start, int count] { get; }</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">start</span></td> |
| <td><p>The low index of the interval (inclusive).</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">count</span></td> |
| <td><p>The size of the range.</p> |
| </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><a class="xref" href="Lucene.Net.Support.C5.IDirectedCollectionValue-1.html">IDirectedCollectionValue</a><T></td> |
| <td><p>The directed collection of items in a specific index interval.</p> |
| </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_IIndexed_1_FindIndex_Func__0_System_Boolean__.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IIndexed%601.FindIndex(Func%7B%600%2CSystem.Boolean%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/#L6363">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IIndexed_1_FindIndex_" data-uid="Lucene.Net.Support.C5.IIndexed`1.FindIndex*"></a> |
| <h4 id="Lucene_Net_Support_C5_IIndexed_1_FindIndex_Func__0_System_Boolean__" data-uid="Lucene.Net.Support.C5.IIndexed`1.FindIndex(Func{`0,System.Boolean})">FindIndex(Func<T, Boolean>)</h4> |
| <div class="markdown level1 summary"><p>Check if there exists an item that satisfies a |
| specific predicate in this collection and return the index of the first one.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">int FindIndex(Func<T, bool> predicate)</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">Func</span><T, <span class="xref">System.Boolean</span>></td> |
| <td><span class="parametername">predicate</span></td> |
| <td><p>A delegate |
| (<span class="xref">Func<, ></span> with <pre><code>R == bool</code></pre>) defining the predicate</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.Int32</span></td> |
| <td><p>the index, if found, a negative value else</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_IIndexed_1_FindLastIndex_Func__0_System_Boolean__.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IIndexed%601.FindLastIndex(Func%7B%600%2CSystem.Boolean%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/#L6372">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IIndexed_1_FindLastIndex_" data-uid="Lucene.Net.Support.C5.IIndexed`1.FindLastIndex*"></a> |
| <h4 id="Lucene_Net_Support_C5_IIndexed_1_FindLastIndex_Func__0_System_Boolean__" data-uid="Lucene.Net.Support.C5.IIndexed`1.FindLastIndex(Func{`0,System.Boolean})">FindLastIndex(Func<T, Boolean>)</h4> |
| <div class="markdown level1 summary"><p>Check if there exists an item that satisfies a |
| specific predicate in this collection and return the index of the last one.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">int FindLastIndex(Func<T, bool> predicate)</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">Func</span><T, <span class="xref">System.Boolean</span>></td> |
| <td><span class="parametername">predicate</span></td> |
| <td><p>A delegate |
| (<span class="xref">Func<, ></span> with <pre><code>R == bool</code></pre>) defining the predicate</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.Int32</span></td> |
| <td><p>the index, if found, a negative value else</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_IIndexed_1_IndexOf__0_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IIndexed%601.IndexOf(%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/#L6345">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IIndexed_1_IndexOf_" data-uid="Lucene.Net.Support.C5.IIndexed`1.IndexOf*"></a> |
| <h4 id="Lucene_Net_Support_C5_IIndexed_1_IndexOf__0_" data-uid="Lucene.Net.Support.C5.IIndexed`1.IndexOf(`0)">IndexOf(T)</h4> |
| <div class="markdown level1 summary"><p>Searches for an item in the list going forwards from the start. </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">int IndexOf(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><span class="xref">T</span></td> |
| <td><span class="parametername">item</span></td> |
| <td><p>Item to search for.</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.Int32</span></td> |
| <td><p>Index of item from start. A negative number if item not found, |
| namely the one's complement of the index at which the Add operation would put the 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_IIndexed_1_LastIndexOf__0_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IIndexed%601.LastIndexOf(%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/#L6354">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IIndexed_1_LastIndexOf_" data-uid="Lucene.Net.Support.C5.IIndexed`1.LastIndexOf*"></a> |
| <h4 id="Lucene_Net_Support_C5_IIndexed_1_LastIndexOf__0_" data-uid="Lucene.Net.Support.C5.IIndexed`1.LastIndexOf(`0)">LastIndexOf(T)</h4> |
| <div class="markdown level1 summary"><p>Searches for an item in the list going backwards from the end.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">int LastIndexOf(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><span class="xref">T</span></td> |
| <td><span class="parametername">item</span></td> |
| <td><p>Item to search for.</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.Int32</span></td> |
| <td><p>Index of of item from the end. A negative number if item not found, |
| namely the two-complement of the index at which the Add operation would put the 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_IIndexed_1_RemoveAt_System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IIndexed%601.RemoveAt(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L6382">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IIndexed_1_RemoveAt_" data-uid="Lucene.Net.Support.C5.IIndexed`1.RemoveAt*"></a> |
| <h4 id="Lucene_Net_Support_C5_IIndexed_1_RemoveAt_System_Int32_" data-uid="Lucene.Net.Support.C5.IIndexed`1.RemoveAt(System.Int32)">RemoveAt(Int32)</h4> |
| <div class="markdown level1 summary"><p>Remove the item at a specific position of the list.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">T RemoveAt(int index)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">index</span></td> |
| <td><p>The index of the item to remove.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">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_IIndexed_1_RemoveInterval_System_Int32_System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IIndexed%601.RemoveInterval(System.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L6392">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_IIndexed_1_RemoveInterval_" data-uid="Lucene.Net.Support.C5.IIndexed`1.RemoveInterval*"></a> |
| <h4 id="Lucene_Net_Support_C5_IIndexed_1_RemoveInterval_System_Int32_System_Int32_" data-uid="Lucene.Net.Support.C5.IIndexed`1.RemoveInterval(System.Int32,System.Int32)">RemoveInterval(Int32, Int32)</h4> |
| <div class="markdown level1 summary"><p>Remove all items in an index interval.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">void RemoveInterval(int start, int count)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">start</span></td> |
| <td><p>The index of the first item to remove.</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">count</span></td> |
| <td><p>The number of items to remove.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </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_IIndexed_1.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.IIndexed%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/#L6322" 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> |