blob: 4201b4d0fd1ff8bb3b04d321d77fbb517021a94f [file] [log] [blame]
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class EquatableList&lt;T&gt;
| Apache Lucene.NET 4.8.0 Documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class EquatableList&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.EquatableList`1">
<h1 id="Lucene_Net_Support_EquatableList_1" data-uid="Lucene.Net.Support.EquatableList`1" class="text-break">Class EquatableList&lt;T&gt;
</h1>
<div class="markdown level0 summary"><p>Represents a strongly typed list of objects that can be accessed by index.
Provides methods to manipulate lists. Also provides functionality
to compare lists against each other through an implementations of
<span class="xref">System.IEquatable&lt;T&gt;</span>, or to wrap an existing list to use
the same comparison logic as this one while not affecting any of its
other functionality.</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
<div class="level0"><span class="xref">System.Object</span></div>
<div class="level1"><span class="xref">EquatableList&lt;T&gt;</span></div>
</div>
<div classs="implements">
<h5>Implements</h5>
<div><span class="xref">System.Collections.Generic.IList</span>&lt;T&gt;</div>
<div><span class="xref">System.Collections.Generic.ICollection</span>&lt;T&gt;</div>
<div><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</div>
<div><span class="xref">System.Collections.IEnumerable</span></div>
<div><span class="xref">System.IEquatable</span>&lt;<span class="xref">System.Collections.Generic.IList</span>&lt;T&gt;&gt;</div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
</div>
<div>
<span class="xref">System.Object.GetType()</span>
</div>
<div>
<span class="xref">System.Object.MemberwiseClone()</span>
</div>
<div>
<span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
</div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="../Lucene.Net.Benchmarks/Lucene.Net.Support.html">Lucene.Net.Support</a></h6>
<h6><strong>Assembly</strong>: Lucene.Net.dll</h6>
<h5 id="Lucene_Net_Support_EquatableList_1_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[Serializable]
public class EquatableList&lt;T&gt; : IList&lt;T&gt;, ICollection&lt;T&gt;, IEnumerable&lt;T&gt;, IEnumerable, IEquatable&lt;IList&lt;T&gt;&gt;</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><p>The type of elements in the list.</p>
</td>
</tr>
</tbody>
</table>
<h3 id="constructors">Constructors
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_EquatableList_1__ctor.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%601.%23ctor%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/EquatableList.cs/#L46">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1__ctor_" data-uid="Lucene.Net.Support.EquatableList`1.#ctor*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1__ctor" data-uid="Lucene.Net.Support.EquatableList`1.#ctor">EquatableList()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the
<a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a> class that is empty and has the
default initial capacity.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public EquatableList()</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_EquatableList_1__ctor_System_Collections_Generic_IEnumerable__0__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%601.%23ctor(System.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/EquatableList.cs/#L91">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1__ctor_" data-uid="Lucene.Net.Support.EquatableList`1.#ctor*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1__ctor_System_Collections_Generic_IEnumerable__0__" data-uid="Lucene.Net.Support.EquatableList`1.#ctor(System.Collections.Generic.IEnumerable{`0})">EquatableList(IEnumerable&lt;T&gt;)</h4>
<div class="markdown level1 summary"><p>Initializes a new
instance of the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>
class that contains elements copied from the specified collection and has
sufficient capacity to accommodate the number of elements copied.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public EquatableList(IEnumerable&lt;T&gt; collection)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;T&gt;</td>
<td><span class="parametername">collection</span></td>
<td><p>The collection whose elements are copied to 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_EquatableList_1__ctor_System_Collections_Generic_IList__0__System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%601.%23ctor(System.Collections.Generic.IList%7B%600%7D%2CSystem.Boolean)%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/EquatableList.cs/#L69">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1__ctor_" data-uid="Lucene.Net.Support.EquatableList`1.#ctor*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1__ctor_System_Collections_Generic_IList__0__System_Boolean_" data-uid="Lucene.Net.Support.EquatableList`1.#ctor(System.Collections.Generic.IList{`0},System.Boolean)">EquatableList(IList&lt;T&gt;, Boolean)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>.
<p>
If the <code data-dev-comment-type="paramref" class="paramref">wrap</code> parameter is <code>true</code>, the
<code data-dev-comment-type="paramref" class="paramref">collection</code> is used as is without doing
a copy operation. Otherwise, the collection is copied
(which is the same operation as the
<a class="xref" href="Lucene.Net.Support.EquatableList-1.html#Lucene_Net_Support_EquatableList_1__ctor_System_Collections_Generic_IEnumerable__0__">EquatableList(IEnumerable&lt;T&gt;)</a> overload).
<p>
The internal <code data-dev-comment-type="paramref" class="paramref">collection</code> is used for
all operations except for <a class="xref" href="Lucene.Net.Support.EquatableList-1.html#Lucene_Net_Support_EquatableList_1_Equals_System_Object_">Equals(Object)</a>, <a class="xref" href="Lucene.Net.Support.EquatableList-1.html#Lucene_Net_Support_EquatableList_1_GetHashCode">GetHashCode()</a>,
and <a class="xref" href="Lucene.Net.Support.EquatableList-1.html#Lucene_Net_Support_EquatableList_1_ToString">ToString()</a>, which are all based on deep analysis
of this collection and any nested collections.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public EquatableList(IList&lt;T&gt; collection, bool wrap)</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.IList</span>&lt;T&gt;</td>
<td><span class="parametername">collection</span></td>
<td><p>The collection that will either be wrapped or copied
depending on the value of <code data-dev-comment-type="paramref" class="paramref">wrap</code>.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">wrap</span></td>
<td><p><code>true</code> to wrap an existing <span class="xref">System.Collections.Generic.IList&lt;T&gt;</span> without copying,
or <code>false</code> to copy the collection into a new <span class="xref">System.Collections.Generic.List&lt;T&gt;</span>.</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_EquatableList_1__ctor_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%601.%23ctor(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/EquatableList.cs/#L99">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1__ctor_" data-uid="Lucene.Net.Support.EquatableList`1.#ctor*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1__ctor_System_Int32_" data-uid="Lucene.Net.Support.EquatableList`1.#ctor(System.Int32)">EquatableList(Int32)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>
class that is empty and has the specified initial capacity.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public EquatableList(int capacity)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">capacity</span></td>
<td><p>The number of elements that the new list can initially store.</p>
</td>
</tr>
</tbody>
</table>
<h3 id="properties">Properties
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_EquatableList_1_Count.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%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/EquatableList.cs/#L119">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1_Count_" data-uid="Lucene.Net.Support.EquatableList`1.Count*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1_Count" data-uid="Lucene.Net.Support.EquatableList`1.Count">Count</h4>
<div class="markdown level1 summary"><p>Gets the number of elements contained in the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual 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_EquatableList_1_IsReadOnly.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%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/EquatableList.cs/#L127">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1_IsReadOnly_" data-uid="Lucene.Net.Support.EquatableList`1.IsReadOnly*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1_IsReadOnly" data-uid="Lucene.Net.Support.EquatableList`1.IsReadOnly">IsReadOnly</h4>
<div class="markdown level1 summary"><p>Gets a value indicating whether the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a> is read-only.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual 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_EquatableList_1_Item_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%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/EquatableList.cs/#L110">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1_Item_" data-uid="Lucene.Net.Support.EquatableList`1.Item*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1_Item_System_Int32_" data-uid="Lucene.Net.Support.EquatableList`1.Item(System.Int32)">Item[Int32]</h4>
<div class="markdown level1 summary"><p>Gets or sets the element at the specified index.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual 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 zero-based index of the element to get or set.</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></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_EquatableList_1_Add__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%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/EquatableList.cs/#L136">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1_Add_" data-uid="Lucene.Net.Support.EquatableList`1.Add*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1_Add__0_" data-uid="Lucene.Net.Support.EquatableList`1.Add(`0)">Add(T)</h4>
<div class="markdown level1 summary"><p>Adds an object to the end of the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void 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><p>The object to be added to the end of the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>. The value can be <code>null</code> for reference types.</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_EquatableList_1_Clear.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%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/EquatableList.cs/#L144">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1_Clear_" data-uid="Lucene.Net.Support.EquatableList`1.Clear*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1_Clear" data-uid="Lucene.Net.Support.EquatableList`1.Clear">Clear()</h4>
<div class="markdown level1 summary"><p>Removes all items from the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual 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_EquatableList_1_Clone.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%601.Clone%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/EquatableList.cs/#L322">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1_Clone_" data-uid="Lucene.Net.Support.EquatableList`1.Clone*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1_Clone" data-uid="Lucene.Net.Support.EquatableList`1.Clone">Clone()</h4>
<div class="markdown level1 summary"><p>Clones the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual object Clone()</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.Object</span></td>
<td><p>A new shallow clone of this
<a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Lucene_Net_Support_EquatableList_1_Clone_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This is a shallow clone.</p>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_EquatableList_1_Contains__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%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/EquatableList.cs/#L154">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1_Contains_" data-uid="Lucene.Net.Support.EquatableList`1.Contains*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1_Contains__0_" data-uid="Lucene.Net.Support.EquatableList`1.Contains(`0)">Contains(T)</h4>
<div class="markdown level1 summary"><p>Determines whether the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a> contains a specific value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual 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><p>The object to locate in the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>.</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><code>true</code> if the Object is found in the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>; otherwise, <code>false</code>.</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_EquatableList_1_CopyTo__0___System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%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/EquatableList.cs/#L167">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1_CopyTo_" data-uid="Lucene.Net.Support.EquatableList`1.CopyTo*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1_CopyTo__0___System_Int32_" data-uid="Lucene.Net.Support.EquatableList`1.CopyTo(`0[],System.Int32)">CopyTo(T[], Int32)</h4>
<div class="markdown level1 summary"><p>Copies the entire <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a> to a compatible one-dimensional array,
starting at the specified index of the target array.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void CopyTo(T[] array, int arrayIndex)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>T[]</td>
<td><span class="parametername">array</span></td>
<td><p>The one-dimensional <span class="xref">System.Array</span> that is the
destination of the elements copied from <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>.
The Array must have zero-based indexing.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">arrayIndex</span></td>
<td><p>The zero-based index in <code data-dev-comment-type="paramref" class="paramref">array</code> at which copying begins.</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_EquatableList_1_Equals_System_Collections_Generic_IList__0__.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%601.Equals(System.Collections.Generic.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/EquatableList.cs/#L309">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1_Equals_" data-uid="Lucene.Net.Support.EquatableList`1.Equals*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1_Equals_System_Collections_Generic_IList__0__" data-uid="Lucene.Net.Support.EquatableList`1.Equals(System.Collections.Generic.IList{`0})">Equals(IList&lt;T&gt;)</h4>
<div class="markdown level1 summary"><p>Compares this sequence to another <span class="xref">System.Collections.Generic.IList&lt;T&gt;</span>
implementation, returning <code>true</code> if they are equal, <code>false</code> otherwise.
<p>
The comparison takes into consideration any values in this collection and values
of any nested collections, but does not take into consideration the data type.
Therefore, <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a> can equal any <span class="xref">System.Collections.Generic.IList&lt;T&gt;</span>
with the exact same values in the same order.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual bool Equals(IList&lt;T&gt; other)</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.IList</span>&lt;T&gt;</td>
<td><span class="parametername">other</span></td>
<td><p>The other <span class="xref">System.Collections.Generic.IList&lt;T&gt;</span> implementation
to compare against.</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><code>true</code> if the sequence in <code data-dev-comment-type="paramref" class="paramref">other</code>
is the same as this one.</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_EquatableList_1_Equals_System_Object_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%601.Equals(System.Object)%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/EquatableList.cs/#L346">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1_Equals_" data-uid="Lucene.Net.Support.EquatableList`1.Equals*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1_Equals_System_Object_" data-uid="Lucene.Net.Support.EquatableList`1.Equals(System.Object)">Equals(Object)</h4>
<div class="markdown level1 summary"><p>If the object passed implements <span class="xref">System.Collections.Generic.IList&lt;T&gt;</span>,
compares this sequence to <code data-dev-comment-type="paramref" class="paramref">other</code>, returning <code>true</code> if they
are equal, <code>false</code> otherwise.
<p>
The comparison takes into consideration any values in this collection and values
of any nested collections, but does not take into consideration the data type.
Therefore, <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a> can equal any <span class="xref">System.Collections.Generic.IList&lt;T&gt;</span>
with the exact same values in the same order.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override bool Equals(object other)</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.Object</span></td>
<td><span class="parametername">other</span></td>
<td><p>The other object
to compare against.</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><code>true</code> if the sequence in <code data-dev-comment-type="paramref" class="paramref">other</code>
is the same as this one.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><span class="xref">System.Object.Equals(System.Object)</span></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_EquatableList_1_GetEnumerator.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%601.GetEnumerator%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/EquatableList.cs/#L176">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1_GetEnumerator_" data-uid="Lucene.Net.Support.EquatableList`1.GetEnumerator*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1_GetEnumerator" data-uid="Lucene.Net.Support.EquatableList`1.GetEnumerator">GetEnumerator()</h4>
<div class="markdown level1 summary"><p>Returns an enumerator that iterates through the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual IEnumerator&lt;T&gt; GetEnumerator()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.IEnumerator</span>&lt;T&gt;</td>
<td><p>An <span class="xref">System.Collections.Generic.IEnumerator&lt;T&gt;</span> for the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>.</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_EquatableList_1_GetHashCode.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%601.GetHashCode%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/EquatableList.cs/#L366">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1_GetHashCode_" data-uid="Lucene.Net.Support.EquatableList`1.GetHashCode*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1_GetHashCode" data-uid="Lucene.Net.Support.EquatableList`1.GetHashCode">GetHashCode()</h4>
<div class="markdown level1 summary"><p>Returns the hash code value for this list.
<p>
The hash code determination takes into consideration any values in
this collection and values of any nested collections, but does not
take into consideration the data type. Therefore, the hash codes will
be exactly the same for this <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a> and another
<span class="xref">System.Collections.Generic.IList&lt;T&gt;</span> (including arrays) with the same values in the
same order.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override int GetHashCode()</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.Int32</span></td>
<td><p>the hash code value for this list</p>
</td>
</tr>
</tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><span class="xref">System.Object.GetHashCode()</span></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_EquatableList_1_IndexOf__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%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/EquatableList.cs/#L186">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1_IndexOf_" data-uid="Lucene.Net.Support.EquatableList`1.IndexOf*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1_IndexOf__0_" data-uid="Lucene.Net.Support.EquatableList`1.IndexOf(`0)">IndexOf(T)</h4>
<div class="markdown level1 summary"><p>Determines the index of a specific <code data-dev-comment-type="paramref" class="paramref">item</code> in the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual 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>The object to locate in the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><p>The index of <code data-dev-comment-type="paramref" class="paramref">item</code> if found in the list; otherwise, -1.</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_EquatableList_1_Insert_System_Int32__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%601.Insert(System.Int32%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/EquatableList.cs/#L196">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1_Insert_" data-uid="Lucene.Net.Support.EquatableList`1.Insert*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1_Insert_System_Int32__0_" data-uid="Lucene.Net.Support.EquatableList`1.Insert(System.Int32,`0)">Insert(Int32, T)</h4>
<div class="markdown level1 summary"><p>Inserts an item to the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a> at the specified index.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void Insert(int index, 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">System.Int32</span></td>
<td><span class="parametername">index</span></td>
<td><p>The zero-based index at which <code data-dev-comment-type="paramref" class="paramref">item</code> should be inserted.</p>
</td>
</tr>
<tr>
<td><span class="xref">T</span></td>
<td><span class="parametername">item</span></td>
<td><p>The object to insert into the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>.</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_EquatableList_1_Remove__0_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%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/EquatableList.cs/#L208">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1_Remove_" data-uid="Lucene.Net.Support.EquatableList`1.Remove*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1_Remove__0_" data-uid="Lucene.Net.Support.EquatableList`1.Remove(`0)">Remove(T)</h4>
<div class="markdown level1 summary"><p>Removes the first occurrence of a specific object from the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual 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><p>The object to remove from the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>.</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><code>true</code> if <code data-dev-comment-type="paramref" class="paramref">item</code> was successfully removed from the
<a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>; otherwise, <code>false</code>. This method also returns
<code>false</code> if item is not found in the original <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>.</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_EquatableList_1_RemoveAt_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%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/EquatableList.cs/#L217">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1_RemoveAt_" data-uid="Lucene.Net.Support.EquatableList`1.RemoveAt*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1_RemoveAt_System_Int32_" data-uid="Lucene.Net.Support.EquatableList`1.RemoveAt(System.Int32)">RemoveAt(Int32)</h4>
<div class="markdown level1 summary"><p>Removes the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a> item at the specified index.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void 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 zero-based index of the item to remove.</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_EquatableList_1_ToString.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%601.ToString%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/EquatableList.cs/#L378">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1_ToString_" data-uid="Lucene.Net.Support.EquatableList`1.ToString*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1_ToString" data-uid="Lucene.Net.Support.EquatableList`1.ToString">ToString()</h4>
<div class="markdown level1 summary"><p>Returns a string representation of this collection (and any nested collections).
The string representation consists of a list of the collection&apos;s elements in
the order they are returned by its enumerator, enclosed in square brackets
(&quot;[]&quot;). Adjacent elements are separated by the characters &quot;, &quot; (comma and space).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override string ToString()</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.String</span></td>
<td><p>a string representation of this collection</p>
</td>
</tr>
</tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><span class="xref">System.Object.ToString()</span></div>
<h3 id="eii">Explicit Interface Implementations
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_EquatableList_1_System_Collections_IEnumerable_GetEnumerator.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%601.System%23Collections%23IEnumerable%23GetEnumerator%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/EquatableList.cs/#L226">View Source</a>
</span>
<a id="Lucene_Net_Support_EquatableList_1_System_Collections_IEnumerable_GetEnumerator_" data-uid="Lucene.Net.Support.EquatableList`1.System#Collections#IEnumerable#GetEnumerator*"></a>
<h4 id="Lucene_Net_Support_EquatableList_1_System_Collections_IEnumerable_GetEnumerator" data-uid="Lucene.Net.Support.EquatableList`1.System#Collections#IEnumerable#GetEnumerator">IEnumerable.GetEnumerator()</h4>
<div class="markdown level1 summary"><p>Returns an enumerator that iterates through the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">IEnumerator IEnumerable.GetEnumerator()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.IEnumerator</span></td>
<td><p>An <span class="xref">System.Collections.IEnumerator</span> for the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList&lt;T&gt;</a>.</p>
</td>
</tr>
</tbody>
</table>
<h3 id="implements">Implements</h3>
<div>
<span class="xref">System.Collections.Generic.IList&lt;T&gt;</span>
</div>
<div>
<span class="xref">System.Collections.Generic.ICollection&lt;T&gt;</span>
</div>
<div>
<span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span>
</div>
<div>
<span class="xref">System.Collections.IEnumerable</span>
</div>
<div>
<span class="xref">System.IEquatable&lt;T&gt;</span>
</div>
<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_EquatableList_1.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.EquatableList%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/EquatableList.cs/#L34" 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>