blob: 0e7f03e6c096789ddf02dcb262fabfd6648a8137 [file] [log] [blame]
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Interface IList&lt;T&gt;
| Apache Lucene.NET 4.8.0 Documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Interface IList&lt;T&gt;
| Apache Lucene.NET 4.8.0 Documentation ">
<meta name="generator" content="docfx 2.47.0.0">
<link rel="shortcut icon" href="../../logo/favicon.ico">
<link rel="stylesheet" href="../../styles/docfx.vendor.css">
<link rel="stylesheet" href="../../styles/docfx.css">
<link rel="stylesheet" href="../../styles/main.css">
<meta property="docfx:navrel" content="../../toc.html">
<meta property="docfx:tocrel" content="../toc.html">
<meta property="docfx:rel" content="../../">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="../../index.html">
<img id="logo" class="svg" src="../../logo/lucene-net-color.png" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search" id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</div>
</div>
</header>
<div class="container body-content">
<div id="search-results">
<div class="search-list"></div>
<div class="sr-items">
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
</div>
<ul id="pagination"></ul>
</div>
</div>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="Lucene.Net.Support.C5.IList`1">
<h1 id="Lucene_Net_Support_C5_IList_1" data-uid="Lucene.Net.Support.C5.IList`1" class="text-break">Interface IList&lt;T&gt;
</h1>
<div class="markdown level0 summary"><p>This is an indexed collection, where the item order is chosen by
the user at insertion time.</p>
<p>NBNBNB: we need a description of the view functionality here!</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<a class="xref" href="Lucene.Net.Support.C5.IIndexed-1.html#Lucene_Net_Support_C5_IIndexed_1_IndexingSpeed">IIndexed&lt;T&gt;.IndexingSpeed</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.IIndexed-1.html#Lucene_Net_Support_C5_IIndexed_1_Item_System_Int32_System_Int32_">IIndexed&lt;T&gt;.Item[Int32, Int32]</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.IIndexed-1.html#Lucene_Net_Support_C5_IIndexed_1_LastIndexOf__0_">IIndexed&lt;T&gt;.LastIndexOf(T)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.IIndexed-1.html#Lucene_Net_Support_C5_IIndexed_1_FindIndex_System_Func__0_System_Boolean__">IIndexed&lt;T&gt;.FindIndex(Func&lt;T, Boolean&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.IIndexed-1.html#Lucene_Net_Support_C5_IIndexed_1_FindLastIndex_System_Func__0_System_Boolean__">IIndexed&lt;T&gt;.FindLastIndex(Func&lt;T, Boolean&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.IIndexed-1.html#Lucene_Net_Support_C5_IIndexed_1_RemoveInterval_System_Int32_System_Int32_">IIndexed&lt;T&gt;.RemoveInterval(Int32, Int32)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ISequenced-1.html#Lucene_Net_Support_C5_ISequenced_1_GetSequencedHashCode">ISequenced&lt;T&gt;.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&lt;T&gt;.SequencedEquals(ISequenced&lt;T&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_ContainsSpeed">ICollection&lt;T&gt;.ContainsSpeed</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_GetUnsequencedHashCode">ICollection&lt;T&gt;.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&lt;T&gt;.UnsequencedEquals(ICollection&lt;T&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_ContainsCount__0_">ICollection&lt;T&gt;.ContainsCount(T)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_UniqueItems">ICollection&lt;T&gt;.UniqueItems()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_ItemMultiplicities">ICollection&lt;T&gt;.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&lt;T&gt;.ContainsAll(IEnumerable&lt;T&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html#Lucene_Net_Support_C5_ICollection_1_Find__0__">ICollection&lt;T&gt;.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&lt;T&gt;.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&lt;T&gt;.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&lt;T&gt;.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&lt;T&gt;.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&lt;T&gt;.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__0__">ICollection&lt;T&gt;.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&lt;T&gt;.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&lt;T&gt;.RemoveAll(IEnumerable&lt;T&gt;)</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&lt;T&gt;.RetainAll(IEnumerable&lt;T&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.IExtensible-1.html#Lucene_Net_Support_C5_IExtensible_1_AllowsDuplicates">IExtensible&lt;T&gt;.AllowsDuplicates</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.IExtensible-1.html#Lucene_Net_Support_C5_IExtensible_1_EqualityComparer">IExtensible&lt;T&gt;.EqualityComparer</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.IExtensible-1.html#Lucene_Net_Support_C5_IExtensible_1_DuplicatesByCounting">IExtensible&lt;T&gt;.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&lt;T&gt;.AddAll(IEnumerable&lt;T&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.IExtensible-1.html#Lucene_Net_Support_C5_IExtensible_1_Check">IExtensible&lt;T&gt;.Check()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.IDirectedCollectionValue-1.html#Lucene_Net_Support_C5_IDirectedCollectionValue_1_Backwards">IDirectedCollectionValue&lt;T&gt;.Backwards()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.IDirectedCollectionValue-1.html#Lucene_Net_Support_C5_IDirectedCollectionValue_1_FindLast_System_Func__0_System_Boolean___0__">IDirectedCollectionValue&lt;T&gt;.FindLast(Func&lt;T, Boolean&gt;, T)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ListenableEvents">ICollectionValue&lt;T&gt;.ListenableEvents</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ActiveEvents">ICollectionValue&lt;T&gt;.ActiveEvents</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_CollectionChanged">ICollectionValue&lt;T&gt;.CollectionChanged</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_CollectionCleared">ICollectionValue&lt;T&gt;.CollectionCleared</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ItemsAdded">ICollectionValue&lt;T&gt;.ItemsAdded</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ItemInserted">ICollectionValue&lt;T&gt;.ItemInserted</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ItemsRemoved">ICollectionValue&lt;T&gt;.ItemsRemoved</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ItemRemovedAt">ICollectionValue&lt;T&gt;.ItemRemovedAt</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_IsEmpty">ICollectionValue&lt;T&gt;.IsEmpty</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_CountSpeed">ICollectionValue&lt;T&gt;.CountSpeed</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_ToArray">ICollectionValue&lt;T&gt;.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&lt;T&gt;.Apply(Action&lt;T&gt;)</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&lt;T&gt;.Exists(Func&lt;T, Boolean&gt;)</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&lt;T&gt;.Find(Func&lt;T, Boolean&gt;, 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&lt;T&gt;.All(Func&lt;T, Boolean&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html#Lucene_Net_Support_C5_ICollectionValue_1_Choose">ICollectionValue&lt;T&gt;.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&lt;T&gt;.Filter(Func&lt;T, Boolean&gt;)</a>
</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>
<a class="xref" href="Lucene.Net.Support.C5.IDirectedEnumerable-1.html#Lucene_Net_Support_C5_IDirectedEnumerable_1_Direction">IDirectedEnumerable&lt;T&gt;.Direction</a>
</div>
<div>
<span class="xref">System.IDisposable.Dispose()</span>
</div>
<div>
<span class="xref">System.Collections.Generic.IList&lt;T&gt;.Insert(System.Int32, T)</span>
</div>
<div>
<span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;.GetEnumerator()</span>
</div>
<div>
<span class="xref">System.Collections.IList.Add(System.Object)</span>
</div>
<div>
<span class="xref">System.Collections.IList.Contains(System.Object)</span>
</div>
<div>
<span class="xref">System.Collections.IList.IndexOf(System.Object)</span>
</div>
<div>
<span class="xref">System.Collections.IList.Insert(System.Int32, System.Object)</span>
</div>
<div>
<span class="xref">System.Collections.IList.Remove(System.Object)</span>
</div>
<div>
<span class="xref">System.Collections.IList.IsFixedSize</span>
</div>
<div>
<span class="xref">System.Collections.ICollection.CopyTo(System.Array, System.Int32)</span>
</div>
<div>
<span class="xref">System.Collections.ICollection.IsSynchronized</span>
</div>
<div>
<span class="xref">System.Collections.ICollection.SyncRoot</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_IList_1_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public interface IList&lt;T&gt; : IIndexed&lt;T&gt;, ISequenced&lt;T&gt;, ICollection&lt;T&gt;, IExtensible&lt;T&gt;, IDirectedCollectionValue&lt;T&gt;, ICollectionValue&lt;T&gt;, IShowable, IFormattable, IDirectedEnumerable&lt;T&gt;, IReadOnlyList&lt;T&gt;, IReadOnlyCollection&lt;T&gt;, IDisposable, IList&lt;T&gt;, ICollection&lt;T&gt;, IEnumerable&lt;T&gt;, IList, ICollection, 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_IList_1_Count.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Count%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L6521">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Count_" data-uid="Lucene.Net.Support.C5.IList`1.Count*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Count" data-uid="Lucene.Net.Support.C5.IList`1.Count">Count</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">int Count { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_IList_1_FIFO.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.FIFO%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/#L6504">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_FIFO_" data-uid="Lucene.Net.Support.C5.IList`1.FIFO*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_FIFO" data-uid="Lucene.Net.Support.C5.IList`1.FIFO">FIFO</h4>
<div class="markdown level1 summary"><p>Since <pre><code>Add(T item)</code></pre> always add at the end of the list,
this describes if list has FIFO or LIFO semantics.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">bool FIFO { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><p>True if the <pre><code>Remove()</code></pre> operation removes from the
start of the list, false if it removes from the end.</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_IList_1_First.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.First%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/#L6490">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_First_" data-uid="Lucene.Net.Support.C5.IList`1.First*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_First" data-uid="Lucene.Net.Support.C5.IList`1.First">First</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">T First { 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">T</span></td>
<td><p>The first item in this list.</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 this list 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_IList_1_IsReadOnly.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.IsReadOnly%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/#L6526">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_IsReadOnly_" data-uid="Lucene.Net.Support.C5.IList`1.IsReadOnly*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_IsReadOnly" data-uid="Lucene.Net.Support.C5.IList`1.IsReadOnly">IsReadOnly</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">bool IsReadOnly { 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.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_IList_1_IsValid.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.IsValid%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/#L6736">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_IsValid_" data-uid="Lucene.Net.Support.C5.IList`1.IsValid*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_IsValid" data-uid="Lucene.Net.Support.C5.IList`1.IsValid">IsValid</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">bool IsValid { 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.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_IList_1_Item_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Item(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/#L6513">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Item_" data-uid="Lucene.Net.Support.C5.IList`1.Item*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Item_System_Int32_" data-uid="Lucene.Net.Support.C5.IList`1.Item(System.Int32)">Item[Int32]</h4>
<div class="markdown level1 summary"><p>On this list, this indexer is read/write.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">T this[int index] { get; set; }</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">index</span></td>
<td><p>The index of the item to fetch or store.</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><span class="xref">T</span></td>
<td><p>The index&apos;th item of this list.</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.IndexOutOfRangeException</span></td>
<td><p>if index is negative or</p>
<blockquote><p>= the size of the collection.</p>
</blockquote>
</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_IList_1_Last.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Last%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/#L6496">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Last_" data-uid="Lucene.Net.Support.C5.IList`1.Last*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Last" data-uid="Lucene.Net.Support.C5.IList`1.Last">Last</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">T Last { 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">T</span></td>
<td><p>The last item in this list.</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 this list 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_IList_1_Offset.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Offset%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/#L6730">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Offset_" data-uid="Lucene.Net.Support.C5.IList`1.Offset*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Offset" data-uid="Lucene.Net.Support.C5.IList`1.Offset">Offset</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">int Offset { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><p>Offset for this list view or 0 for an underlying list.</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_IList_1_Underlying.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Underlying%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/#L6725">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Underlying_" data-uid="Lucene.Net.Support.C5.IList`1.Underlying*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Underlying" data-uid="Lucene.Net.Support.C5.IList`1.Underlying">Underlying</h4>
<div class="markdown level1 summary"><p>Null if this list is not a view.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">IList&lt;T&gt; Underlying { 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.IList-1.html">IList</a>&lt;T&gt;</td>
<td><p>Underlying list for view.</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_IList_1_Add__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Add(%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/#L6533">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Add_" data-uid="Lucene.Net.Support.C5.IList`1.Add*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Add__0_" data-uid="Lucene.Net.Support.C5.IList`1.Add(`0)">Add(T)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">bool Add(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></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_IList_1_Clear.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Clear%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L6538">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Clear_" data-uid="Lucene.Net.Support.C5.IList`1.Clear*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Clear" data-uid="Lucene.Net.Support.C5.IList`1.Clear">Clear()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void Clear()</code></pre>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_IList_1_Contains__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Contains(%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/#L6545">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Contains_" data-uid="Lucene.Net.Support.C5.IList`1.Contains*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Contains__0_" data-uid="Lucene.Net.Support.C5.IList`1.Contains(`0)">Contains(T)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">bool Contains(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></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_IList_1_CopyTo__0___System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.CopyTo(%600%5B%5D%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L6552">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_CopyTo_" data-uid="Lucene.Net.Support.C5.IList`1.CopyTo*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_CopyTo__0___System_Int32_" data-uid="Lucene.Net.Support.C5.IList`1.CopyTo(`0[],System.Int32)">CopyTo(T[], Int32)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void CopyTo(T[] array, 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>T[]</td>
<td><span class="parametername">array</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">index</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_IList_1_FindAll_System_Func__0_System_Boolean__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.FindAll(System.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/#L6652">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_FindAll_" data-uid="Lucene.Net.Support.C5.IList`1.FindAll*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_FindAll_System_Func__0_System_Boolean__" data-uid="Lucene.Net.Support.C5.IList`1.FindAll(System.Func{`0,System.Boolean})">FindAll(Func&lt;T, Boolean&gt;)</h4>
<div class="markdown level1 summary"><p>Create a new list consisting of the items of this list satisfying a
certain predicate.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">IList&lt;T&gt; FindAll(Func&lt;T, bool&gt; filter)</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.Func</span>&lt;T, <span class="xref">System.Boolean</span>&gt;</td>
<td><span class="parametername">filter</span></td>
<td><p>The filter delegate 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><a class="xref" href="Lucene.Net.Support.C5.IList-1.html">IList</a>&lt;T&gt;</td>
<td><p>The new list.</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_IList_1_IndexOf__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%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/#L6571">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_IndexOf_" data-uid="Lucene.Net.Support.C5.IList`1.IndexOf*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_IndexOf__0_" data-uid="Lucene.Net.Support.C5.IList`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&apos;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_IList_1_Insert_Lucene_Net_Support_C5_IList__0___0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Insert(Lucene.Net.Support.C5.IList%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/#L6613">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Insert_" data-uid="Lucene.Net.Support.C5.IList`1.Insert*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Insert_Lucene_Net_Support_C5_IList__0___0_" data-uid="Lucene.Net.Support.C5.IList`1.Insert(Lucene.Net.Support.C5.IList{`0},`0)">Insert(IList&lt;T&gt;, T)</h4>
<div class="markdown level1 summary"><p>Insert an item at the end of a compatible view, used as a pointer.
<p>The <pre><code>pointer</code></pre> must be a view on the same list as</p>
<pre><code>this</code></pre> and the endpoint of <pre><code>pointer</code></pre> must be
<p>a valid insertion point of <pre><code>this</code></pre></p></p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void Insert(IList&lt;T&gt; pointer, 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.IList-1.html">IList</a>&lt;T&gt;</td>
<td><span class="parametername">pointer</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="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.IncompatibleViewException.html">IncompatibleViewException</a></td>
<td><p>If <pre><code>pointer</code></pre>
is not a view on the same list as <pre><code>this</code></pre></p>
</td>
</tr>
<tr>
<td><span class="xref">System.IndexOutOfRangeException</span></td>
<td><p><strong>??????</strong> if the endpoint of </p>
<pre><code>pointer</code></pre> is not inside <pre><code>this</code></pre></td>
</tr>
<tr>
<td><a class="xref" href="Lucene.Net.Support.C5.DuplicateNotAllowedException.html">DuplicateNotAllowedException</a></td>
<td><p>if the list has</p>
<pre><code>AllowsDuplicates==false</code></pre> and the item is
<p>already in the list.</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_IList_1_InsertAll_System_Int32_System_Collections_Generic_IEnumerable__0__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.InsertAll(System.Int32%2CSystem.Collections.Generic.IEnumerable%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/#L6644">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_InsertAll_" data-uid="Lucene.Net.Support.C5.IList`1.InsertAll*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_InsertAll_System_Int32_System_Collections_Generic_IEnumerable__0__" data-uid="Lucene.Net.Support.C5.IList`1.InsertAll(System.Int32,System.Collections.Generic.IEnumerable{`0})">InsertAll(Int32, IEnumerable&lt;T&gt;)</h4>
<div class="markdown level1 summary"><p>Insert into this list all items from an enumerable collection starting
at a particular index.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void InsertAll(int index, IEnumerable&lt;T&gt; 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.Int32</span></td>
<td><span class="parametername">index</span></td>
<td><p>Index to start inserting at</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
<td><span class="parametername">items</span></td>
<td><p>Items to insert</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.IndexOutOfRangeException</span></td>
<td><p>if <pre><code>index</code></pre> is negative or</p>
<blockquote><p>the size of the collection.</p>
</blockquote>
</td>
</tr>
<tr>
<td><a class="xref" href="Lucene.Net.Support.C5.DuplicateNotAllowedException.html">DuplicateNotAllowedException</a></td>
<td><p>if the list has </p>
<pre><code>AllowsDuplicates==false</code></pre> and one of the items to insert is
<p>already in the list.</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_IList_1_InsertFirst__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.InsertFirst(%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/#L6622">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_InsertFirst_" data-uid="Lucene.Net.Support.C5.IList`1.InsertFirst*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_InsertFirst__0_" data-uid="Lucene.Net.Support.C5.IList`1.InsertFirst(`0)">InsertFirst(T)</h4>
<div class="markdown level1 summary"><p>Insert an item at the front of this list.
<a class="xref" href="Lucene.Net.Support.C5.DuplicateNotAllowedException.html">DuplicateNotAllowedException</a> if the list has</p>
<pre><code>AllowsDuplicates==false</code></pre> and the item is
<p>already in the list.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void InsertFirst(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>The item to insert.</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_IList_1_InsertLast__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.InsertLast(%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/#L6631">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_InsertLast_" data-uid="Lucene.Net.Support.C5.IList`1.InsertLast*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_InsertLast__0_" data-uid="Lucene.Net.Support.C5.IList`1.InsertLast(`0)">InsertLast(T)</h4>
<div class="markdown level1 summary"><p>Insert an item at the back of this list.
<a class="xref" href="Lucene.Net.Support.C5.DuplicateNotAllowedException.html">DuplicateNotAllowedException</a> if the list has</p>
<pre><code>AllowsDuplicates==false</code></pre> and the item is
<p>already in the list.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void InsertLast(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>The item to insert.</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_IList_1_IsSorted.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.IsSorted%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/#L6796">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_IsSorted_" data-uid="Lucene.Net.Support.C5.IList`1.IsSorted*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_IsSorted" data-uid="Lucene.Net.Support.C5.IList`1.IsSorted">IsSorted()</h4>
<div class="markdown level1 summary"><p>Check if this list is sorted according to the default sorting order
for the item type T, as defined by the <span class="xref">C5.Comparer`1</span> class </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">bool IsSorted()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><p>True if the list is sorted, else false.</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.NotComparableException.html">NotComparableException</a></td>
<td><p>if T is not comparable</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_IList_1_IsSorted_System_Collections_Generic_IComparer__0__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.IsSorted(System.Collections.Generic.IComparer%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/#L6803">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_IsSorted_" data-uid="Lucene.Net.Support.C5.IList`1.IsSorted*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_IsSorted_System_Collections_Generic_IComparer__0__" data-uid="Lucene.Net.Support.C5.IList`1.IsSorted(System.Collections.Generic.IComparer{`0})">IsSorted(IComparer&lt;T&gt;)</h4>
<div class="markdown level1 summary"><p>Check if this list is sorted according to a specific sorting order.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">bool IsSorted(IComparer&lt;T&gt; comparer)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.IComparer</span>&lt;T&gt;</td>
<td><span class="parametername">comparer</span></td>
<td><p>The comparer defining the sorting order.</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 list is sorted, else false.</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_IList_1_LastViewOf__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.LastViewOf(%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/#L6719">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_LastViewOf_" data-uid="Lucene.Net.Support.C5.IList`1.LastViewOf*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_LastViewOf__0_" data-uid="Lucene.Net.Support.C5.IList`1.LastViewOf(`0)">LastViewOf(T)</h4>
<div class="markdown level1 summary"><p>Create a list view on this list containing the last occurrence of a particular item.
<a class="xref" href="Lucene.Net.Support.C5.NoSuchItemException.html">NoSuchItemException</a> if the item is not in this list.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">IList&lt;T&gt; LastViewOf(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>The item to find.</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.IList-1.html">IList</a>&lt;T&gt;</td>
<td><p>The new list view.</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_IList_1_Map__1_System_Func__0___0__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Map%60%601(System.Func%7B%600%2C%60%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/#L6661">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Map_" data-uid="Lucene.Net.Support.C5.IList`1.Map*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Map__1_System_Func__0___0__" data-uid="Lucene.Net.Support.C5.IList`1.Map``1(System.Func{`0,``0})">Map&lt;V&gt;(Func&lt;T, V&gt;)</h4>
<div class="markdown level1 summary"><p>Create a new list consisting of the results of mapping all items of this
list. The new list will use the default equalityComparer for the item type V.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">IList&lt;V&gt; Map&lt;V&gt;(Func&lt;T, V&gt; mapper)</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.Func</span>&lt;T, V&gt;</td>
<td><span class="parametername">mapper</span></td>
<td><p>The delegate defining the map.</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.IList-1.html">IList</a>&lt;V&gt;</td>
<td><p>The new list.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">V</span></td>
<td><p>The type of items of the new list</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_IList_1_Map__1_System_Func__0___0__System_Collections_Generic_IEqualityComparer___0__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Map%60%601(System.Func%7B%600%2C%60%600%7D%2CSystem.Collections.Generic.IEqualityComparer%7B%60%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/#L6671">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Map_" data-uid="Lucene.Net.Support.C5.IList`1.Map*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Map__1_System_Func__0___0__System_Collections_Generic_IEqualityComparer___0__" data-uid="Lucene.Net.Support.C5.IList`1.Map``1(System.Func{`0,``0},System.Collections.Generic.IEqualityComparer{``0})">Map&lt;V&gt;(Func&lt;T, V&gt;, IEqualityComparer&lt;V&gt;)</h4>
<div class="markdown level1 summary"><p>Create a new list consisting of the results of mapping all items of this
list. The new list will use a specified equalityComparer for the item type.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">IList&lt;V&gt; Map&lt;V&gt;(Func&lt;T, V&gt; mapper, IEqualityComparer&lt;V&gt; equalityComparer)</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.Func</span>&lt;T, V&gt;</td>
<td><span class="parametername">mapper</span></td>
<td><p>The delegate defining the map.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Collections.Generic.IEqualityComparer</span>&lt;V&gt;</td>
<td><span class="parametername">equalityComparer</span></td>
<td><p>The equalityComparer to use for the new list</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.IList-1.html">IList</a>&lt;V&gt;</td>
<td><p>The new list.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="parametername">V</span></td>
<td><p>The type of items of the new list</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_IList_1_Remove.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Remove%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/#L6679">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Remove_" data-uid="Lucene.Net.Support.C5.IList`1.Remove*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Remove" data-uid="Lucene.Net.Support.C5.IList`1.Remove">Remove()</h4>
<div class="markdown level1 summary"><p>Remove one item from the list: from the front if <pre><code>FIFO</code></pre>
is true, else from the back.
<a class="xref" href="Lucene.Net.Support.C5.NoSuchItemException.html">NoSuchItemException</a> if this list is empty.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">T Remove()</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_IList_1_Remove__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Remove(%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L6559">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Remove_" data-uid="Lucene.Net.Support.C5.IList`1.Remove*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Remove__0_" data-uid="Lucene.Net.Support.C5.IList`1.Remove(`0)">Remove(T)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">bool Remove(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></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_IList_1_RemoveAt_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%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/#L6580">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_RemoveAt_" data-uid="Lucene.Net.Support.C5.IList`1.RemoveAt*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_RemoveAt_System_Int32_" data-uid="Lucene.Net.Support.C5.IList`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>
<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.IndexOutOfRangeException</span></td>
<td><p>if <pre><code>index</code></pre> is negative or</p>
<blockquote><p>= the size of the collection.</p>
</blockquote>
</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_IList_1_RemoveFirst.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.RemoveFirst%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/#L6686">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_RemoveFirst_" data-uid="Lucene.Net.Support.C5.IList`1.RemoveFirst*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_RemoveFirst" data-uid="Lucene.Net.Support.C5.IList`1.RemoveFirst">RemoveFirst()</h4>
<div class="markdown level1 summary"><p>Remove one item from the front of the list.
<a class="xref" href="Lucene.Net.Support.C5.NoSuchItemException.html">NoSuchItemException</a> if this list is empty.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">T RemoveFirst()</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_IList_1_RemoveLast.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.RemoveLast%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/#L6693">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_RemoveLast_" data-uid="Lucene.Net.Support.C5.IList`1.RemoveLast*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_RemoveLast" data-uid="Lucene.Net.Support.C5.IList`1.RemoveLast">RemoveLast()</h4>
<div class="markdown level1 summary"><p>Remove one item from the back of the list.
<a class="xref" href="Lucene.Net.Support.C5.NoSuchItemException.html">NoSuchItemException</a> if this list is empty.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">T RemoveLast()</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_IList_1_Reverse.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Reverse%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/#L6788">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Reverse_" data-uid="Lucene.Net.Support.C5.IList`1.Reverse*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Reverse" data-uid="Lucene.Net.Support.C5.IList`1.Reverse">Reverse()</h4>
<div class="markdown level1 summary"><p>Reverse the list so the items are in the opposite sequence order.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void Reverse()</code></pre>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_IList_1_Shuffle.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Shuffle%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/#L6826">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Shuffle_" data-uid="Lucene.Net.Support.C5.IList`1.Shuffle*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Shuffle" data-uid="Lucene.Net.Support.C5.IList`1.Shuffle">Shuffle()</h4>
<div class="markdown level1 summary"><p>Randomly shuffle the items of this list. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void Shuffle()</code></pre>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_IList_1_Shuffle_System_Random_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Shuffle(System.Random)%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/#L6833">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Shuffle_" data-uid="Lucene.Net.Support.C5.IList`1.Shuffle*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Shuffle_System_Random_" data-uid="Lucene.Net.Support.C5.IList`1.Shuffle(System.Random)">Shuffle(Random)</h4>
<div class="markdown level1 summary"><p>Shuffle the items of this list according to a specific random source.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void Shuffle(Random rnd)</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.Random</span></td>
<td><span class="parametername">rnd</span></td>
<td><p>The random source.</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_IList_1_Slide_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Slide(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/#L6746">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Slide_" data-uid="Lucene.Net.Support.C5.IList`1.Slide*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Slide_System_Int32_" data-uid="Lucene.Net.Support.C5.IList`1.Slide(System.Int32)">Slide(Int32)</h4>
<div class="markdown level1 summary"><p>Slide this list view along the underlying list.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">IList&lt;T&gt; Slide(int offset)</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">offset</span></td>
<td><p>The signed amount to slide: positive to slide
towards the end.</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.IList-1.html">IList</a>&lt;T&gt;</td>
<td></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.NotAViewException.html">NotAViewException</a></td>
<td><p>if this list is not a view.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.ArgumentOutOfRangeException</span></td>
<td><p>if the operation
would bring either end of the view outside the underlying list.</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_IList_1_Slide_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Slide(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/#L6758">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Slide_" data-uid="Lucene.Net.Support.C5.IList`1.Slide*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Slide_System_Int32_System_Int32_" data-uid="Lucene.Net.Support.C5.IList`1.Slide(System.Int32,System.Int32)">Slide(Int32, Int32)</h4>
<div class="markdown level1 summary"><p>Slide this list view along the underlying list, changing its size.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">IList&lt;T&gt; Slide(int offset, int size)</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">offset</span></td>
<td><p>The signed amount to slide: positive to slide
towards the end.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">size</span></td>
<td><p>The new size of the view.</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.IList-1.html">IList</a>&lt;T&gt;</td>
<td></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.NotAViewException.html">NotAViewException</a></td>
<td><p>if this list is not a view.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.ArgumentOutOfRangeException</span></td>
<td><p>if the operation
would bring either end of the view outside the underlying list.</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_IList_1_Sort.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Sort%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/#L6810">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Sort_" data-uid="Lucene.Net.Support.C5.IList`1.Sort*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Sort" data-uid="Lucene.Net.Support.C5.IList`1.Sort">Sort()</h4>
<div class="markdown level1 summary"><p>Sort the items of the list according to the default sorting order
for the item type T, as defined by the <span class="xref">C5.Comparer`1</span> class </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void Sort()</code></pre>
</div>
<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.NotComparableException.html">NotComparableException</a></td>
<td><p>if T is not comparable</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_IList_1_Sort_System_Collections_Generic_IComparer__0__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Sort(System.Collections.Generic.IComparer%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/#L6820">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Sort_" data-uid="Lucene.Net.Support.C5.IList`1.Sort*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Sort_System_Collections_Generic_IComparer__0__" data-uid="Lucene.Net.Support.C5.IList`1.Sort(System.Collections.Generic.IComparer{`0})">Sort(IComparer&lt;T&gt;)</h4>
<div class="markdown level1 summary"><p>Sort the items of the list according to a specified sorting order.
<p>The sorting does not perform duplicate elimination or identify items
according to the comparer or itemequalityComparer. I.e. the list as an
unsequenced collection with binary equality, will not change.
</p></p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void Sort(IComparer&lt;T&gt; comparer)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.IComparer</span>&lt;T&gt;</td>
<td><span class="parametername">comparer</span></td>
<td><p>The comparer defining the sorting 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_IList_1_Span_Lucene_Net_Support_C5_IList__0__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.Span(Lucene.Net.Support.C5.IList%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/#L6783">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_Span_" data-uid="Lucene.Net.Support.C5.IList`1.Span*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_Span_Lucene_Net_Support_C5_IList__0__" data-uid="Lucene.Net.Support.C5.IList`1.Span(Lucene.Net.Support.C5.IList{`0})">Span(IList&lt;T&gt;)</h4>
<div class="markdown level1 summary"><p>Returns null if <pre><code>otherView</code></pre> is strictly to the left of this view</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">IList&lt;T&gt; Span(IList&lt;T&gt; otherView)</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.IList-1.html">IList</a>&lt;T&gt;</td>
<td><span class="parametername">otherView</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><a class="xref" href="Lucene.Net.Support.C5.IList-1.html">IList</a>&lt;T&gt;</td>
<td></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.IncompatibleViewException.html">IncompatibleViewException</a></td>
<td><p>If otherView does not have the same underlying list as this</p>
</td>
</tr>
<tr>
<td><span class="xref">System.ArgumentOutOfRangeException</span></td>
<td><p>If <pre><code>otherView</code></pre> is strictly to the left of this view</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_IList_1_TrySlide_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.TrySlide(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/#L6765">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_TrySlide_" data-uid="Lucene.Net.Support.C5.IList`1.TrySlide*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_TrySlide_System_Int32_" data-uid="Lucene.Net.Support.C5.IList`1.TrySlide(System.Int32)">TrySlide(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">bool TrySlide(int offset)</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">offset</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_IList_1_TrySlide_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.TrySlide(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/#L6773">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_TrySlide_" data-uid="Lucene.Net.Support.C5.IList`1.TrySlide*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_TrySlide_System_Int32_System_Int32_" data-uid="Lucene.Net.Support.C5.IList`1.TrySlide(System.Int32,System.Int32)">TrySlide(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">bool TrySlide(int offset, int size)</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">offset</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">size</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_IList_1_View_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.View(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/#L6703">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_View_" data-uid="Lucene.Net.Support.C5.IList`1.View*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_View_System_Int32_System_Int32_" data-uid="Lucene.Net.Support.C5.IList`1.View(System.Int32,System.Int32)">View(Int32, Int32)</h4>
<div class="markdown level1 summary"><p>Create a list view on this list.
<span class="xref">System.ArgumentOutOfRangeException</span> if the view would not fit into
this list.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">IList&lt;T&gt; View(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 in this list of the start of the view.</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 view.</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.IList-1.html">IList</a>&lt;T&gt;</td>
<td><p>The new list view.</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_IList_1_ViewOf__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%601.ViewOf(%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/#L6711">View Source</a>
</span>
<a id="Lucene_Net_Support_C5_IList_1_ViewOf_" data-uid="Lucene.Net.Support.C5.IList`1.ViewOf*"></a>
<h4 id="Lucene_Net_Support_C5_IList_1_ViewOf__0_" data-uid="Lucene.Net.Support.C5.IList`1.ViewOf(`0)">ViewOf(T)</h4>
<div class="markdown level1 summary"><p>Create a list view on this list containing the (first) occurrence of a particular item.
<a class="xref" href="Lucene.Net.Support.C5.NoSuchItemException.html">NoSuchItemException</a> if the item is not in this list.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">IList&lt;T&gt; ViewOf(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>The item to find.</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.IList-1.html">IList</a>&lt;T&gt;</td>
<td><p>The new list view.</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&lt;T, TOut&gt;(IEnumerable&lt;T&gt;, Func&lt;T, T, TOut&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.EnumerableExtensions.html#Lucene_Net_Support_EnumerableExtensions_TakeAllButLast__1_System_Collections_Generic_IEnumerable___0__">EnumerableExtensions.TakeAllButLast&lt;T&gt;(IEnumerable&lt;T&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.EnumerableExtensions.html#Lucene_Net_Support_EnumerableExtensions_TakeAllButLast__1_System_Collections_Generic_IEnumerable___0__System_Int32_">EnumerableExtensions.TakeAllButLast&lt;T&gt;(IEnumerable&lt;T&gt;, Int32)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.ListExtensions.html#Lucene_Net_Support_ListExtensions_AddRange__1_System_Collections_Generic_IList___0__System_Collections_Generic_IEnumerable___0__">ListExtensions.AddRange&lt;T&gt;(IList&lt;T&gt;, IEnumerable&lt;T&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.ListExtensions.html#Lucene_Net_Support_ListExtensions_Shuffle__1_System_Collections_Generic_IList___0__">ListExtensions.Shuffle&lt;T&gt;(IList&lt;T&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.ListExtensions.html#Lucene_Net_Support_ListExtensions_Shuffle__1_System_Collections_Generic_IList___0__System_Random_">ListExtensions.Shuffle&lt;T&gt;(IList&lt;T&gt;, Random)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.ListExtensions.html#Lucene_Net_Support_ListExtensions_SubList__1_System_Collections_Generic_IList___0__System_Int32_System_Int32_">ListExtensions.SubList&lt;T&gt;(IList&lt;T&gt;, Int32, Int32)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.ListExtensions.html#Lucene_Net_Support_ListExtensions_Swap__1_System_Collections_Generic_IList___0__System_Int32_System_Int32_">ListExtensions.Swap&lt;T&gt;(IList&lt;T&gt;, Int32, Int32)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.ListExtensions.html#Lucene_Net_Support_ListExtensions_Sort__1_System_Collections_Generic_IList___0__">ListExtensions.Sort&lt;T&gt;(IList&lt;T&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.ListExtensions.html#Lucene_Net_Support_ListExtensions_Sort__1_System_Collections_Generic_IList___0__System_Collections_Generic_IComparer___0__">ListExtensions.Sort&lt;T&gt;(IList&lt;T&gt;, IComparer&lt;T&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.ListExtensions.html#Lucene_Net_Support_ListExtensions_Sort__1_System_Collections_Generic_IList___0__System_Comparison___0__">ListExtensions.Sort&lt;T&gt;(IList&lt;T&gt;, Comparison&lt;T&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.ListExtensions.html#Lucene_Net_Support_ListExtensions_TimSort__1_System_Collections_Generic_IList___0__">ListExtensions.TimSort&lt;T&gt;(IList&lt;T&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.ListExtensions.html#Lucene_Net_Support_ListExtensions_TimSort__1_System_Collections_Generic_IList___0__System_Collections_Generic_IComparer___0__">ListExtensions.TimSort&lt;T&gt;(IList&lt;T&gt;, IComparer&lt;T&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.ListExtensions.html#Lucene_Net_Support_ListExtensions_IntroSort__1_System_Collections_Generic_IList___0__">ListExtensions.IntroSort&lt;T&gt;(IList&lt;T&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.ListExtensions.html#Lucene_Net_Support_ListExtensions_IntroSort__1_System_Collections_Generic_IList___0__System_Collections_Generic_IComparer___0__">ListExtensions.IntroSort&lt;T&gt;(IList&lt;T&gt;, IComparer&lt;T&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Support.SetExtensions.html#Lucene_Net_Support_SetExtensions_RemoveAll__1_System_Collections_Generic_ICollection___0__System_Collections_Generic_IEnumerable___0__">SetExtensions.RemoveAll&lt;T&gt;(ICollection&lt;T&gt;, IEnumerable&lt;T&gt;)</a>
</div>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
<li>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_IList_1.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.C5.IList%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/#L6484" 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>