| <!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<T> |
| | Apache Lucene.NET 4.8.0 Documentation </title> |
| <meta name="viewport" content="width=device-width"> |
| <meta name="title" content="Class EquatableList<T> |
| | Apache Lucene.NET 4.8.0 Documentation "> |
| <meta name="generator" content="docfx 2.47.0.0"> |
| |
| <link rel="shortcut icon" href="../../logo/favicon.ico"> |
| <link rel="stylesheet" href="../../styles/docfx.vendor.css"> |
| <link rel="stylesheet" href="../../styles/docfx.css"> |
| <link rel="stylesheet" href="../../styles/main.css"> |
| <meta property="docfx:navrel" content="../../toc.html"> |
| <meta property="docfx:tocrel" content="../toc.html"> |
| |
| <meta property="docfx:rel" content="../../"> |
| |
| </head> |
| <body data-spy="scroll" data-target="#affix" data-offset="120"> |
| <div id="wrapper"> |
| <header> |
| |
| <nav id="autocollapse" class="navbar ng-scope" role="navigation"> |
| <div class="container"> |
| <div class="navbar-header"> |
| <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar"> |
| <span class="sr-only">Toggle navigation</span> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| </button> |
| |
| <a class="navbar-brand" href="../../index.html"> |
| <img id="logo" class="svg" src="../../logo/lucene-net-color.png" alt=""> |
| </a> |
| </div> |
| <div class="collapse navbar-collapse" id="navbar"> |
| <form class="navbar-form navbar-right" role="search" id="search"> |
| <div class="form-group"> |
| <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off"> |
| </div> |
| </form> |
| </div> |
| </div> |
| </nav> |
| |
| <div class="subnav navbar navbar-default"> |
| <div class="container hide-when-search" id="breadcrumb"> |
| <ul class="breadcrumb"> |
| <li></li> |
| </ul> |
| </div> |
| </div> |
| </header> |
| <div class="container body-content"> |
| |
| <div id="search-results"> |
| <div class="search-list"></div> |
| <div class="sr-items"> |
| <p><i class="glyphicon glyphicon-refresh index-loading"></i></p> |
| </div> |
| <ul id="pagination"></ul> |
| </div> |
| </div> |
| <div role="main" class="container body-content hide-when-search"> |
| |
| <div class="sidenav hide-when-search"> |
| <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a> |
| <div class="sidetoggle collapse" id="sidetoggle"> |
| <div id="sidetoc"></div> |
| </div> |
| </div> |
| <div class="article row grid-right"> |
| <div class="col-md-10"> |
| <article class="content wrap" id="_content" data-uid="Lucene.Net.Support.EquatableList`1"> |
| |
| |
| <h1 id="Lucene_Net_Support_EquatableList_1" data-uid="Lucene.Net.Support.EquatableList`1" class="text-break">Class EquatableList<T> |
| </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<T></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<T></span></div> |
| </div> |
| <div classs="implements"> |
| <h5>Implements</h5> |
| <div><span class="xref">System.Collections.Generic.IList</span><T></div> |
| <div><span class="xref">System.Collections.Generic.ICollection</span><T></div> |
| <div><span class="xref">System.Collections.Generic.IEnumerable</span><T></div> |
| <div><span class="xref">System.Collections.IEnumerable</span></div> |
| <div><span class="xref">System.IEquatable</span><<span class="xref">System.Collections.Generic.IList</span><T>></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<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IEquatable<IList<T>></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&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<T></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&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<T>)</h4> |
| <div class="markdown level1 summary"><p>Initializes a new |
| instance of the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList<T></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<T> 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><T></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&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<T>, Boolean)</h4> |
| <div class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList<T></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<T>)</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<T> 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><T></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<T></span> without copying, |
| or <code>false</code> to copy the collection into a new <span class="xref">System.Collections.Generic.List<T></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&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<T></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&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<T></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&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<T></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&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&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<T></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<T></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&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<T></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&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<T></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<T></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&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<T></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<T></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<T></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&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<T></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<T></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&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<T>)</h4> |
| <div class="markdown level1 summary"><p>Compares this sequence to another <span class="xref">System.Collections.Generic.IList<T></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<T></a> can equal any <span class="xref">System.Collections.Generic.IList<T></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<T> 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><T></td> |
| <td><span class="parametername">other</span></td> |
| <td><p>The other <span class="xref">System.Collections.Generic.IList<T></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&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<T></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<T></a> can equal any <span class="xref">System.Collections.Generic.IList<T></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&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<T></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<T> 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><T></td> |
| <td><p>An <span class="xref">System.Collections.Generic.IEnumerator<T></span> for the <a class="xref" href="Lucene.Net.Support.EquatableList-1.html">EquatableList<T></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&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<T></a> and another |
| <span class="xref">System.Collections.Generic.IList<T></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&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<T></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<T></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&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<T></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<T></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&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<T></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<T></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<T></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<T></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&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<T></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&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's elements in |
| the order they are returned by its enumerator, enclosed in square brackets |
| ("[]"). Adjacent elements are separated by the characters ", " (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&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<T></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<T></a>.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 id="implements">Implements</h3> |
| <div> |
| <span class="xref">System.Collections.Generic.IList<T></span> |
| </div> |
| <div> |
| <span class="xref">System.Collections.Generic.ICollection<T></span> |
| </div> |
| <div> |
| <span class="xref">System.Collections.Generic.IEnumerable<T></span> |
| </div> |
| <div> |
| <span class="xref">System.Collections.IEnumerable</span> |
| </div> |
| <div> |
| <span class="xref">System.IEquatable<T></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<T, TOut>(IEnumerable<T>, Func<T, T, TOut>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.EnumerableExtensions.html#Lucene_Net_Support_EnumerableExtensions_TakeAllButLast__1_System_Collections_Generic_IEnumerable___0__">EnumerableExtensions.TakeAllButLast<T>(IEnumerable<T>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.EnumerableExtensions.html#Lucene_Net_Support_EnumerableExtensions_TakeAllButLast__1_System_Collections_Generic_IEnumerable___0__System_Int32_">EnumerableExtensions.TakeAllButLast<T>(IEnumerable<T>, Int32)</a> |
| </div> |
| <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<T>(IList<T>, IEnumerable<T>)</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<T>(IList<T>)</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<T>(IList<T>, 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<T>(IList<T>, 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<T>(IList<T>, 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<T>(IList<T>)</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<T>(IList<T>, IComparer<T>)</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<T>(IList<T>, Comparison<T>)</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<T>(IList<T>)</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<T>(IList<T>, IComparer<T>)</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<T>(IList<T>)</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<T>(IList<T>, IComparer<T>)</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<T>(ICollection<T>, IEnumerable<T>)</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&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> |