| <!DOCTYPE html> |
| <!--[if IE]><![endif]--> |
| <html> |
| |
| <head> |
| <meta charset="utf-8"> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| <title>Class EquatableSet<T> |
| | Apache Lucene.NET 4.8.0 Documentation </title> |
| <meta name="viewport" content="width=device-width"> |
| <meta name="title" content="Class EquatableSet<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.EquatableSet`1"> |
| |
| |
| <h1 id="Lucene_Net_Support_EquatableSet_1" data-uid="Lucene.Net.Support.EquatableSet`1" class="text-break">Class EquatableSet<T> |
| </h1> |
| <div class="markdown level0 summary"><p>Represents a strongly typed set of objects. |
| Provides methods to manipulate the set. Also provides functionality |
| to compare sets against each other through an implementations of |
| <span class="xref">System.IEquatable<T></span>, or to wrap an existing set 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">EquatableSet<T></span></div> |
| </div> |
| <div classs="implements"> |
| <h5>Implements</h5> |
| <div><span class="xref">System.Collections.Generic.ISet</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.ISet</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_EquatableSet_1_syntax">Syntax</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">[Serializable] |
| public class EquatableSet<T> : ISet<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IEquatable<ISet<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_EquatableSet_1__ctor.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%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/EquatableSet.cs/#L46">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1__ctor_" data-uid="Lucene.Net.Support.EquatableSet`1.#ctor*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1__ctor" data-uid="Lucene.Net.Support.EquatableSet`1.#ctor">EquatableSet()</h4> |
| <div class="markdown level1 summary"><p>Initializes a new instance of the |
| <a class="xref" href="Lucene.Net.Support.EquatableSet-1.html">EquatableSet<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 EquatableSet()</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_EquatableSet_1__ctor_System_Collections_Generic_ICollection__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%601.%23ctor(System.Collections.Generic.ICollection%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/EquatableSet.cs/#L91">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1__ctor_" data-uid="Lucene.Net.Support.EquatableSet`1.#ctor*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1__ctor_System_Collections_Generic_ICollection__0__" data-uid="Lucene.Net.Support.EquatableSet`1.#ctor(System.Collections.Generic.ICollection{`0})">EquatableSet(ICollection<T>)</h4> |
| <div class="markdown level1 summary"><p>Initializes a new |
| instance of the <a class="xref" href="Lucene.Net.Support.EquatableSet-1.html">EquatableSet<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 EquatableSet(ICollection<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.ICollection</span><T></td> |
| <td><span class="parametername">collection</span></td> |
| <td><p>The collection whose elements are copied to the new set.</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_EquatableSet_1__ctor_System_Collections_Generic_IEnumerable__0__System_Collections_Generic_IEqualityComparer__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%601.%23ctor(System.Collections.Generic.IEnumerable%7B%600%7D%2CSystem.Collections.Generic.IEqualityComparer%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/EquatableSet.cs/#L118">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1__ctor_" data-uid="Lucene.Net.Support.EquatableSet`1.#ctor*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1__ctor_System_Collections_Generic_IEnumerable__0__System_Collections_Generic_IEqualityComparer__0__" data-uid="Lucene.Net.Support.EquatableSet`1.#ctor(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})">EquatableSet(IEnumerable<T>, IEqualityComparer<T>)</h4> |
| <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Lucene.Net.Support.EquatableSet-1.html">EquatableSet<T></a> class that uses the |
| specified equality comparer for the set type, 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 EquatableSet(IEnumerable<T> collection, IEqualityComparer<T> comparer)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><T></td> |
| <td><span class="parametername">collection</span></td> |
| <td><p>The collection whose elements are copied to the new set.</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Collections.Generic.IEqualityComparer</span><T></td> |
| <td><span class="parametername">comparer</span></td> |
| <td><p>The <span class="xref">System.Collections.Generic.IEqualityComparer<T></span> implementation to use |
| when comparing values in the set, or <code>null</code> to use the default <span class="xref">System.Collections.Generic.EqualityComparer`1</span> |
| implementation for the set type.</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_EquatableSet_1__ctor_System_Collections_Generic_IEqualityComparer__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%601.%23ctor(System.Collections.Generic.IEqualityComparer%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/EquatableSet.cs/#L103">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1__ctor_" data-uid="Lucene.Net.Support.EquatableSet`1.#ctor*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1__ctor_System_Collections_Generic_IEqualityComparer__0__" data-uid="Lucene.Net.Support.EquatableSet`1.#ctor(System.Collections.Generic.IEqualityComparer{`0})">EquatableSet(IEqualityComparer<T>)</h4> |
| <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Lucene.Net.Support.EquatableSet-1.html">EquatableSet<T></a> class that is |
| empty and uses the specified equality comparer for the set type.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public EquatableSet(IEqualityComparer<T> comparer)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Collections.Generic.IEqualityComparer</span><T></td> |
| <td><span class="parametername">comparer</span></td> |
| <td><p>The <span class="xref">System.Collections.Generic.IEqualityComparer<T></span> implementation |
| to use when comparing values in the set, or null to use the default |
| <span class="xref">System.Collections.Generic.EqualityComparer`1</span> implementation for the set type.</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_EquatableSet_1__ctor_System_Collections_Generic_ISet__0__System_Boolean_.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%601.%23ctor(System.Collections.Generic.ISet%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/EquatableSet.cs/#L69">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1__ctor_" data-uid="Lucene.Net.Support.EquatableSet`1.#ctor*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1__ctor_System_Collections_Generic_ISet__0__System_Boolean_" data-uid="Lucene.Net.Support.EquatableSet`1.#ctor(System.Collections.Generic.ISet{`0},System.Boolean)">EquatableSet(ISet<T>, Boolean)</h4> |
| <div class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="Lucene.Net.Support.EquatableSet-1.html">EquatableSet<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.EquatableSet-1.html#Lucene_Net_Support_EquatableSet_1__ctor_System_Collections_Generic_ICollection__0__">EquatableSet(ICollection<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.EquatableSet-1.html#Lucene_Net_Support_EquatableSet_1_Equals_System_Object_">Equals(Object)</a>, <a class="xref" href="Lucene.Net.Support.EquatableSet-1.html#Lucene_Net_Support_EquatableSet_1_GetHashCode">GetHashCode()</a>, |
| and <a class="xref" href="Lucene.Net.Support.EquatableSet-1.html#Lucene_Net_Support_EquatableSet_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 EquatableSet(ISet<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.ISet</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.ISet<T></span> without copying, |
| or <code>false</code> to copy the collection into a new <span class="xref">System.Collections.Generic.HashSet<T></span>.</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_EquatableSet_1_Count.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%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/EquatableSet.cs/#L129">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_Count_" data-uid="Lucene.Net.Support.EquatableSet`1.Count*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_Count" data-uid="Lucene.Net.Support.EquatableSet`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.EquatableSet-1.html">EquatableSet<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_EquatableSet_1_IsReadOnly.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%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/EquatableSet.cs/#L137">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_IsReadOnly_" data-uid="Lucene.Net.Support.EquatableSet`1.IsReadOnly*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_IsReadOnly" data-uid="Lucene.Net.Support.EquatableSet`1.IsReadOnly">IsReadOnly</h4> |
| <div class="markdown level1 summary"><p>Gets a value indicating whether the <a class="xref" href="Lucene.Net.Support.EquatableSet-1.html">EquatableSet<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> |
| <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_EquatableSet_1_Add__0_.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%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/EquatableSet.cs/#L147">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_Add_" data-uid="Lucene.Net.Support.EquatableSet`1.Add*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_Add__0_" data-uid="Lucene.Net.Support.EquatableSet`1.Add(`0)">Add(T)</h4> |
| <div class="markdown level1 summary"><p>Adds an element to the current set and returns a value to indicate if the element was successfully added.</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 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 element to add to the set.</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 element is added to the set; <code>false</code> if the element is already in the set.</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_EquatableSet_1_Clear.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%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/EquatableSet.cs/#L155">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_Clear_" data-uid="Lucene.Net.Support.EquatableSet`1.Clear*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_Clear" data-uid="Lucene.Net.Support.EquatableSet`1.Clear">Clear()</h4> |
| <div class="markdown level1 summary"><p>Removes all items from the <a class="xref" href="Lucene.Net.Support.EquatableSet-1.html">EquatableSet<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_EquatableSet_1_Clone.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%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/EquatableSet.cs/#L401">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_Clone_" data-uid="Lucene.Net.Support.EquatableSet`1.Clone*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_Clone" data-uid="Lucene.Net.Support.EquatableSet`1.Clone">Clone()</h4> |
| <div class="markdown level1 summary"><p>Clones the <a class="xref" href="Lucene.Net.Support.EquatableSet-1.html">EquatableSet<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.EquatableSet-1.html">EquatableSet<T></a>.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 id="Lucene_Net_Support_EquatableSet_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_EquatableSet_1_Contains__0_.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%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/EquatableSet.cs/#L165">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_Contains_" data-uid="Lucene.Net.Support.EquatableSet`1.Contains*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_Contains__0_" data-uid="Lucene.Net.Support.EquatableSet`1.Contains(`0)">Contains(T)</h4> |
| <div class="markdown level1 summary"><p>Determines whether the <a class="xref" href="Lucene.Net.Support.EquatableSet-1.html">EquatableSet<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.EquatableSet-1.html">EquatableSet<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 item is found in the <a class="xref" href="Lucene.Net.Support.EquatableSet-1.html">EquatableSet<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_EquatableSet_1_CopyTo__0___System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%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/EquatableSet.cs/#L177">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_CopyTo_" data-uid="Lucene.Net.Support.EquatableSet`1.CopyTo*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_CopyTo__0___System_Int32_" data-uid="Lucene.Net.Support.EquatableSet`1.CopyTo(`0[],System.Int32)">CopyTo(T[], Int32)</h4> |
| <div class="markdown level1 summary"><p>Copies the elements of the <a class="xref" href="Lucene.Net.Support.EquatableSet-1.html">EquatableSet<T></a> to an <span class="xref">System.Array</span>, |
| starting at a particular <span class="xref">System.Array</span> 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 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.EquatableSet-1.html">EquatableSet<T></a>. The <span class="xref">System.Array</span> 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 array 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_EquatableSet_1_Equals_System_Collections_Generic_ISet__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%601.Equals(System.Collections.Generic.ISet%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/EquatableSet.cs/#L388">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_Equals_" data-uid="Lucene.Net.Support.EquatableSet`1.Equals*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_Equals_System_Collections_Generic_ISet__0__" data-uid="Lucene.Net.Support.EquatableSet`1.Equals(System.Collections.Generic.ISet{`0})">Equals(ISet<T>)</h4> |
| <div class="markdown level1 summary"><p>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.EquatableSet-1.html">EquatableSet<T></a> can equal any <span class="xref">System.Collections.Generic.ISet<T></span> |
| with the exact same values (in any 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(ISet<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.ISet</span><T></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> |
| <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_EquatableSet_1_Equals_System_Object_.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%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/EquatableSet.cs/#L425">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_Equals_" data-uid="Lucene.Net.Support.EquatableSet`1.Equals*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_Equals_System_Object_" data-uid="Lucene.Net.Support.EquatableSet`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.EquatableSet-1.html">EquatableSet<T></a> can equal any <span class="xref">System.Collections.Generic.ISet<T></span> |
| with the exact same values (in any 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_EquatableSet_1_ExceptWith_System_Collections_Generic_IEnumerable__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%601.ExceptWith(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/EquatableSet.cs/#L186">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_ExceptWith_" data-uid="Lucene.Net.Support.EquatableSet`1.ExceptWith*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_ExceptWith_System_Collections_Generic_IEnumerable__0__" data-uid="Lucene.Net.Support.EquatableSet`1.ExceptWith(System.Collections.Generic.IEnumerable{`0})">ExceptWith(IEnumerable<T>)</h4> |
| <div class="markdown level1 summary"><p>Removes all elements in the specified collection from the current set.</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 ExceptWith(IEnumerable<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.IEnumerable</span><T></td> |
| <td><span class="parametername">other</span></td> |
| <td><p>The collection of items to remove from the set.</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_EquatableSet_1_GetEnumerator.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%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/EquatableSet.cs/#L195">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_GetEnumerator_" data-uid="Lucene.Net.Support.EquatableSet`1.GetEnumerator*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_GetEnumerator" data-uid="Lucene.Net.Support.EquatableSet`1.GetEnumerator">GetEnumerator()</h4> |
| <div class="markdown level1 summary"><p>Returns an enumerator that iterates through the collection.</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 enumerator that can be used to iterate through the collection.</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_EquatableSet_1_GetHashCode.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%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/EquatableSet.cs/#L444">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_GetHashCode_" data-uid="Lucene.Net.Support.EquatableSet`1.GetHashCode*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_GetHashCode" data-uid="Lucene.Net.Support.EquatableSet`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.EquatableSet-1.html">EquatableSet<T></a> and another |
| <span class="xref">System.Collections.Generic.ISet<T></span> with the same values (in any 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_EquatableSet_1_IntersectWith_System_Collections_Generic_IEnumerable__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%601.IntersectWith(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/EquatableSet.cs/#L204">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_IntersectWith_" data-uid="Lucene.Net.Support.EquatableSet`1.IntersectWith*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_IntersectWith_System_Collections_Generic_IEnumerable__0__" data-uid="Lucene.Net.Support.EquatableSet`1.IntersectWith(System.Collections.Generic.IEnumerable{`0})">IntersectWith(IEnumerable<T>)</h4> |
| <div class="markdown level1 summary"><p>Modifies the current set so that it contains only elements that are also in a specified collection.</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 IntersectWith(IEnumerable<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.IEnumerable</span><T></td> |
| <td><span class="parametername">other</span></td> |
| <td><p>The collection to compare to the current set.</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_EquatableSet_1_IsProperSubsetOf_System_Collections_Generic_IEnumerable__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%601.IsProperSubsetOf(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/EquatableSet.cs/#L214">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_IsProperSubsetOf_" data-uid="Lucene.Net.Support.EquatableSet`1.IsProperSubsetOf*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_IsProperSubsetOf_System_Collections_Generic_IEnumerable__0__" data-uid="Lucene.Net.Support.EquatableSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})">IsProperSubsetOf(IEnumerable<T>)</h4> |
| <div class="markdown level1 summary"><p>Determines whether the current set is a proper (strict) subset of a specified collection.</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 IsProperSubsetOf(IEnumerable<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.IEnumerable</span><T></td> |
| <td><span class="parametername">other</span></td> |
| <td><p>The collection to compare to the current set.</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 current set is a proper subset of other; 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_EquatableSet_1_IsProperSupersetOf_System_Collections_Generic_IEnumerable__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%601.IsProperSupersetOf(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/EquatableSet.cs/#L224">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_IsProperSupersetOf_" data-uid="Lucene.Net.Support.EquatableSet`1.IsProperSupersetOf*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_IsProperSupersetOf_System_Collections_Generic_IEnumerable__0__" data-uid="Lucene.Net.Support.EquatableSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})">IsProperSupersetOf(IEnumerable<T>)</h4> |
| <div class="markdown level1 summary"><p>Determines whether the current set is a proper (strict) superset of a specified collection.</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 IsProperSupersetOf(IEnumerable<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.IEnumerable</span><T></td> |
| <td><span class="parametername">other</span></td> |
| <td><p>The collection to compare to the current set.</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 current set is a proper superset of other; 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_EquatableSet_1_IsSubsetOf_System_Collections_Generic_IEnumerable__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%601.IsSubsetOf(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/EquatableSet.cs/#L234">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_IsSubsetOf_" data-uid="Lucene.Net.Support.EquatableSet`1.IsSubsetOf*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_IsSubsetOf_System_Collections_Generic_IEnumerable__0__" data-uid="Lucene.Net.Support.EquatableSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})">IsSubsetOf(IEnumerable<T>)</h4> |
| <div class="markdown level1 summary"><p>Determines whether a set is a subset of a specified collection.</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 IsSubsetOf(IEnumerable<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.IEnumerable</span><T></td> |
| <td><span class="parametername">other</span></td> |
| <td><p>The collection to compare to the current set.</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 current set is a subset of other; 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_EquatableSet_1_IsSupersetOf_System_Collections_Generic_IEnumerable__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%601.IsSupersetOf(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/EquatableSet.cs/#L244">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_IsSupersetOf_" data-uid="Lucene.Net.Support.EquatableSet`1.IsSupersetOf*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_IsSupersetOf_System_Collections_Generic_IEnumerable__0__" data-uid="Lucene.Net.Support.EquatableSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})">IsSupersetOf(IEnumerable<T>)</h4> |
| <div class="markdown level1 summary"><p>Determines whether the current set is a superset of a specified collection.</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 IsSupersetOf(IEnumerable<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.IEnumerable</span><T></td> |
| <td><span class="parametername">other</span></td> |
| <td><p>The collection to compare to the current set.</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 current set is a superset of other; 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_EquatableSet_1_Overlaps_System_Collections_Generic_IEnumerable__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%601.Overlaps(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/EquatableSet.cs/#L254">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_Overlaps_" data-uid="Lucene.Net.Support.EquatableSet`1.Overlaps*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_Overlaps_System_Collections_Generic_IEnumerable__0__" data-uid="Lucene.Net.Support.EquatableSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})">Overlaps(IEnumerable<T>)</h4> |
| <div class="markdown level1 summary"><p>Determines whether the current set overlaps with the specified collection.</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 Overlaps(IEnumerable<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.IEnumerable</span><T></td> |
| <td><span class="parametername">other</span></td> |
| <td><p>The collection to compare to the current set.</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 current set and other share at least one common element; 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_EquatableSet_1_Remove__0_.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%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/EquatableSet.cs/#L265">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_Remove_" data-uid="Lucene.Net.Support.EquatableSet`1.Remove*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_Remove__0_" data-uid="Lucene.Net.Support.EquatableSet`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.EquatableSet-1.html">EquatableSet<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.EquatableSet-1.html">EquatableSet<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 item was successfully removed from the <a class="xref" href="Lucene.Net.Support.EquatableSet-1.html">EquatableSet<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.EquatableSet-1.html">EquatableSet<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_EquatableSet_1_SetEquals_System_Collections_Generic_IEnumerable__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%601.SetEquals(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/EquatableSet.cs/#L275">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_SetEquals_" data-uid="Lucene.Net.Support.EquatableSet`1.SetEquals*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_SetEquals_System_Collections_Generic_IEnumerable__0__" data-uid="Lucene.Net.Support.EquatableSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})">SetEquals(IEnumerable<T>)</h4> |
| <div class="markdown level1 summary"><p>Determines whether the current set and the specified collection contain the same elements.</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 SetEquals(IEnumerable<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.IEnumerable</span><T></td> |
| <td><span class="parametername">other</span></td> |
| <td><p>The collection to compare to the current set.</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 current set is equal to other; 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_EquatableSet_1_SymmetricExceptWith_System_Collections_Generic_IEnumerable__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%601.SymmetricExceptWith(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/EquatableSet.cs/#L285">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_SymmetricExceptWith_" data-uid="Lucene.Net.Support.EquatableSet`1.SymmetricExceptWith*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_SymmetricExceptWith_System_Collections_Generic_IEnumerable__0__" data-uid="Lucene.Net.Support.EquatableSet`1.SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})">SymmetricExceptWith(IEnumerable<T>)</h4> |
| <div class="markdown level1 summary"><p>Modifies the current set so that it contains only elements that are present either in the |
| current set or in the specified collection, but not both.</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 SymmetricExceptWith(IEnumerable<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.IEnumerable</span><T></td> |
| <td><span class="parametername">other</span></td> |
| <td><p>The collection to compare to the current set.</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_EquatableSet_1_ToString.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%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/EquatableSet.cs/#L456">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_ToString_" data-uid="Lucene.Net.Support.EquatableSet`1.ToString*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_ToString" data-uid="Lucene.Net.Support.EquatableSet`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> |
| <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_EquatableSet_1_UnionWith_System_Collections_Generic_IEnumerable__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%601.UnionWith(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/EquatableSet.cs/#L295">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_UnionWith_" data-uid="Lucene.Net.Support.EquatableSet`1.UnionWith*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_UnionWith_System_Collections_Generic_IEnumerable__0__" data-uid="Lucene.Net.Support.EquatableSet`1.UnionWith(System.Collections.Generic.IEnumerable{`0})">UnionWith(IEnumerable<T>)</h4> |
| <div class="markdown level1 summary"><p>Modifies the current set so that it contains all elements that are present in the |
| current set, in the specified collection, or in both.</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 UnionWith(IEnumerable<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.IEnumerable</span><T></td> |
| <td><span class="parametername">other</span></td> |
| <td><p>The collection to compare to the current set.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <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_EquatableSet_1_System_Collections_Generic_ICollection_T__Add__0_.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%601.System%23Collections%23Generic%23ICollection%7BT%7D%23Add(%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/EquatableSet.cs/#L300">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_System_Collections_Generic_ICollection_T__Add_" data-uid="Lucene.Net.Support.EquatableSet`1.System#Collections#Generic#ICollection{T}#Add*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_System_Collections_Generic_ICollection_T__Add__0_" data-uid="Lucene.Net.Support.EquatableSet`1.System#Collections#Generic#ICollection{T}#Add(`0)">ICollection<T>.Add(T)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">void ICollection<T>.Add(T item)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">T</span></td> |
| <td><span class="parametername">item</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <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_EquatableSet_1_System_Collections_IEnumerable_GetEnumerator.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%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/EquatableSet.cs/#L305">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_EquatableSet_1_System_Collections_IEnumerable_GetEnumerator_" data-uid="Lucene.Net.Support.EquatableSet`1.System#Collections#IEnumerable#GetEnumerator*"></a> |
| <h4 id="Lucene_Net_Support_EquatableSet_1_System_Collections_IEnumerable_GetEnumerator" data-uid="Lucene.Net.Support.EquatableSet`1.System#Collections#IEnumerable#GetEnumerator">IEnumerable.GetEnumerator()</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">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></td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 id="implements">Implements</h3> |
| <div> |
| <span class="xref">System.Collections.Generic.ISet<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.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_EquatableSet_1.md&value=---%0Auid%3A%20Lucene.Net.Support.EquatableSet%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/EquatableSet.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> |