| <!DOCTYPE html> |
| <!--[if IE]><![endif]--> |
| <html> |
| |
| <head> |
| <meta charset="utf-8"> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| <title>Class CollectionBase<T> |
| | Apache Lucene.NET 4.8.0 Documentation </title> |
| <meta name="viewport" content="width=device-width"> |
| <meta name="title" content="Class CollectionBase<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.C5.CollectionBase`1"> |
| |
| |
| <h1 id="Lucene_Net_Support_C5_CollectionBase_1" data-uid="Lucene.Net.Support.C5.CollectionBase`1" class="text-break">Class CollectionBase<T> |
| </h1> |
| <div class="markdown level0 summary"><p>Base class (abstract) for ICollection implementations.</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"><a class="xref" href="Lucene.Net.Support.C5.EnumerableBase-1.html">EnumerableBase</a><T></div> |
| <div class="level2"><a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html">CollectionValueBase</a><T></div> |
| <div class="level3"><span class="xref">CollectionBase<T></span></div> |
| <div class="level4"><a class="xref" href="Lucene.Net.Support.C5.DirectedCollectionBase-1.html">DirectedCollectionBase<T></a></div> |
| <div class="level4"><a class="xref" href="Lucene.Net.Support.C5.HashSet-1.html">HashSet<T></a></div> |
| </div> |
| <div classs="implements"> |
| <h5>Implements</h5> |
| <div><a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html">ICollectionValue</a><T></div> |
| <div><span class="xref">System.Collections.Generic.IEnumerable</span><T></div> |
| <div><span class="xref">System.Collections.IEnumerable</span></div> |
| <div><a class="xref" href="Lucene.Net.Support.C5.IShowable.html">IShowable</a></div> |
| <div><span class="xref">System.IFormattable</span></div> |
| </div> |
| <div class="inheritedMembers"> |
| <h5>Inherited Members</h5> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_ListenableEvents">CollectionValueBase<T>.ListenableEvents</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_ActiveEvents">CollectionValueBase<T>.ActiveEvents</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_CollectionChanged">CollectionValueBase<T>.CollectionChanged</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseCollectionChanged">CollectionValueBase<T>.raiseCollectionChanged()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_CollectionCleared">CollectionValueBase<T>.CollectionCleared</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseCollectionCleared_System_Boolean_System_Int32_">CollectionValueBase<T>.raiseCollectionCleared(Boolean, Int32)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseCollectionCleared_System_Boolean_System_Int32_System_Nullable_System_Int32__">CollectionValueBase<T>.raiseCollectionCleared(Boolean, Int32, Nullable<Int32>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_ItemsAdded">CollectionValueBase<T>.ItemsAdded</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemsAdded__0_System_Int32_">CollectionValueBase<T>.raiseItemsAdded(T, Int32)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_ItemsRemoved">CollectionValueBase<T>.ItemsRemoved</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemsRemoved__0_System_Int32_">CollectionValueBase<T>.raiseItemsRemoved(T, Int32)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_ItemInserted">CollectionValueBase<T>.ItemInserted</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemInserted__0_System_Int32_">CollectionValueBase<T>.raiseItemInserted(T, Int32)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_ItemRemovedAt">CollectionValueBase<T>.ItemRemovedAt</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseItemRemovedAt__0_System_Int32_">CollectionValueBase<T>.raiseItemRemovedAt(T, Int32)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseForSetThis_System_Int32__0__0_">CollectionValueBase<T>.raiseForSetThis(Int32, T, T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseForInsert_System_Int32__0_">CollectionValueBase<T>.raiseForInsert(Int32, T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemove__0_">CollectionValueBase<T>.raiseForRemove(T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemove__0_System_Int32_">CollectionValueBase<T>.raiseForRemove(T, Int32)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemoveAt_System_Int32__0_">CollectionValueBase<T>.raiseForRemoveAt(Int32, T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseForUpdate__0__0_">CollectionValueBase<T>.raiseForUpdate(T, T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseForUpdate__0__0_System_Int32_">CollectionValueBase<T>.raiseForUpdate(T, T, Int32)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseForAdd__0_">CollectionValueBase<T>.raiseForAdd(T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_raiseForRemoveAll_Lucene_Net_Support_C5_ICollectionValue__0__">CollectionValueBase<T>.raiseForRemoveAll(ICollectionValue<T>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_CopyTo__0___System_Int32_">CollectionValueBase<T>.CopyTo(T[], Int32)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_ToArray">CollectionValueBase<T>.ToArray()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_Apply_System_Action__0__">CollectionValueBase<T>.Apply(Action<T>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_Exists_System_Func__0_System_Boolean__">CollectionValueBase<T>.Exists(Func<T, Boolean>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_Find_System_Func__0_System_Boolean___0__">CollectionValueBase<T>.Find(Func<T, Boolean>, T)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_All_System_Func__0_System_Boolean__">CollectionValueBase<T>.All(Func<T, Boolean>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_Filter_System_Func__0_System_Boolean__">CollectionValueBase<T>.Filter(Func<T, Boolean>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_Choose">CollectionValueBase<T>.Choose()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_Show_System_Text_StringBuilder_System_Int32__System_IFormatProvider_">CollectionValueBase<T>.Show(StringBuilder, Int32, IFormatProvider)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_ToString_System_String_System_IFormatProvider_">CollectionValueBase<T>.ToString(String, IFormatProvider)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.CollectionValueBase-1.html#Lucene_Net_Support_C5_CollectionValueBase_1_ToString">CollectionValueBase<T>.ToString()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.EnumerableBase-1.html#Lucene_Net_Support_C5_EnumerableBase_1_GetEnumerator">EnumerableBase<T>.GetEnumerator()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.EnumerableBase-1.html#Lucene_Net_Support_C5_EnumerableBase_1_countItems_System_Collections_Generic_IEnumerable__0__">EnumerableBase<T>.countItems(IEnumerable<T>)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.EnumerableBase-1.html#Lucene_Net_Support_C5_EnumerableBase_1_System_Collections_IEnumerable_GetEnumerator">EnumerableBase<T>.IEnumerable.GetEnumerator()</a> |
| </div> |
| <div> |
| <span class="xref">System.Object.Equals(System.Object)</span> |
| </div> |
| <div> |
| <span class="xref">System.Object.Equals(System.Object, System.Object)</span> |
| </div> |
| <div> |
| <span class="xref">System.Object.GetHashCode()</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.Support.C5.html">Lucene.Net.Support.C5</a></h6> |
| <h6><strong>Assembly</strong>: Lucene.Net.dll</h6> |
| <h5 id="Lucene_Net_Support_C5_CollectionBase_1_syntax">Syntax</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">[Serializable] |
| public abstract class CollectionBase<T> : CollectionValueBase<T>, ICollectionValue<T>, IEnumerable<T>, IEnumerable, IShowable, IFormattable</code></pre> |
| </div> |
| <h5 class="typeParameters">Type Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="parametername">T</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 id="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_C5_CollectionBase_1__ctor_System_Collections_Generic_IEqualityComparer__0__Lucene_Net_Support_C5_MemoryType_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionBase%601.%23ctor(System.Collections.Generic.IEqualityComparer%7B%600%7D%2CLucene.Net.Support.C5.MemoryType)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L2092">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_CollectionBase_1__ctor_" data-uid="Lucene.Net.Support.C5.CollectionBase`1.#ctor*"></a> |
| <h4 id="Lucene_Net_Support_C5_CollectionBase_1__ctor_System_Collections_Generic_IEqualityComparer__0__Lucene_Net_Support_C5_MemoryType_" data-uid="Lucene.Net.Support.C5.CollectionBase`1.#ctor(System.Collections.Generic.IEqualityComparer{`0},Lucene.Net.Support.C5.MemoryType)">CollectionBase(IEqualityComparer<T>, MemoryType)</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">protected CollectionBase(IEqualityComparer<T> itemequalityComparer, MemoryType memoryType)</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">itemequalityComparer</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.MemoryType.html">MemoryType</a></td> |
| <td><span class="parametername">memoryType</span></td> |
| <td><p>The type of memory for the enumerator used to iterate the collection</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 id="fields">Fields |
| </h3> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionBase_1_isReadOnlyBase.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionBase%601.isReadOnlyBase%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L2066">View Source</a> |
| </span> |
| <h4 id="Lucene_Net_Support_C5_CollectionBase_1_isReadOnlyBase" data-uid="Lucene.Net.Support.C5.CollectionBase`1.isReadOnlyBase">isReadOnlyBase</h4> |
| <div class="markdown level1 summary"><p>The underlying field of the ReadOnly property</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected bool isReadOnlyBase</code></pre> |
| </div> |
| <h5 class="fieldValue">Field Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionBase_1_itemequalityComparer.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionBase%601.itemequalityComparer%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L2081">View Source</a> |
| </span> |
| <h4 id="Lucene_Net_Support_C5_CollectionBase_1_itemequalityComparer" data-uid="Lucene.Net.Support.C5.CollectionBase`1.itemequalityComparer">itemequalityComparer</h4> |
| <div class="markdown level1 summary"><p>The item equalityComparer of the collection</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected readonly IEqualityComparer<T> itemequalityComparer</code></pre> |
| </div> |
| <h5 class="fieldValue">Field 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.Collections.Generic.IEqualityComparer</span><T></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionBase_1_size.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionBase%601.size%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L2076">View Source</a> |
| </span> |
| <h4 id="Lucene_Net_Support_C5_CollectionBase_1_size" data-uid="Lucene.Net.Support.C5.CollectionBase`1.size">size</h4> |
| <div class="markdown level1 summary"><p>The number of items in the collection</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected int size</code></pre> |
| </div> |
| <h5 class="fieldValue">Field 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> |
| <h3 id="properties">Properties |
| </h3> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionBase_1_Count.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionBase%601.Count%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L2317">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_CollectionBase_1_Count_" data-uid="Lucene.Net.Support.C5.CollectionBase`1.Count*"></a> |
| <h4 id="Lucene_Net_Support_C5_CollectionBase_1_Count" data-uid="Lucene.Net.Support.C5.CollectionBase`1.Count">Count</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public override 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><p>The size of this collection</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><span class="xref">Lucene.Net.Support.C5.CollectionValueBase<T>.Count</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_C5_CollectionBase_1_CountSpeed.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionBase%601.CountSpeed%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L2326">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_CollectionBase_1_CountSpeed_" data-uid="Lucene.Net.Support.C5.CollectionBase`1.CountSpeed*"></a> |
| <h4 id="Lucene_Net_Support_C5_CollectionBase_1_CountSpeed" data-uid="Lucene.Net.Support.C5.CollectionBase`1.CountSpeed">CountSpeed</h4> |
| <div class="markdown level1 summary"><p>The value is symbolic indicating the type of asymptotic complexity |
| in terms of the size of this collection (worst-case or amortized as |
| relevant).</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public override Speed CountSpeed { get; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.Speed.html">Speed</a></td> |
| <td><p>A characterization of the speed of the </p> |
| <pre><code>Count</code></pre> property in this collection.</td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><span class="xref">Lucene.Net.Support.C5.CollectionValueBase<T>.CountSpeed</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_C5_CollectionBase_1_EqualityComparer.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionBase%601.EqualityComparer%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L2337">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_CollectionBase_1_EqualityComparer_" data-uid="Lucene.Net.Support.C5.CollectionBase`1.EqualityComparer*"></a> |
| <h4 id="Lucene_Net_Support_C5_CollectionBase_1_EqualityComparer" data-uid="Lucene.Net.Support.C5.CollectionBase`1.EqualityComparer">EqualityComparer</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">public virtual IEqualityComparer<T> EqualityComparer { 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.Collections.Generic.IEqualityComparer</span><T></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionBase_1_IsEmpty.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionBase%601.IsEmpty%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L2343">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_CollectionBase_1_IsEmpty_" data-uid="Lucene.Net.Support.C5.CollectionBase`1.IsEmpty*"></a> |
| <h4 id="Lucene_Net_Support_C5_CollectionBase_1_IsEmpty" data-uid="Lucene.Net.Support.C5.CollectionBase`1.IsEmpty">IsEmpty</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">public override bool IsEmpty { 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><p>True if this collection is empty</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><span class="xref">Lucene.Net.Support.C5.CollectionValueBase<T>.IsEmpty</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_C5_CollectionBase_1_IsReadOnly.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionBase%601.IsReadOnly%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L2308">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_CollectionBase_1_IsReadOnly_" data-uid="Lucene.Net.Support.C5.CollectionBase`1.IsReadOnly*"></a> |
| <h4 id="Lucene_Net_Support_C5_CollectionBase_1_IsReadOnly" data-uid="Lucene.Net.Support.C5.CollectionBase`1.IsReadOnly">IsReadOnly</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">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><p>True if this collection is read only</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionBase_1_stamp.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionBase%601.stamp%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L2071">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_CollectionBase_1_stamp_" data-uid="Lucene.Net.Support.C5.CollectionBase`1.stamp*"></a> |
| <h4 id="Lucene_Net_Support_C5_CollectionBase_1_stamp" data-uid="Lucene.Net.Support.C5.CollectionBase`1.stamp">stamp</h4> |
| <div class="markdown level1 summary"><p>The current stamp value</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected int stamp { get; set; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Int32</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_C5_CollectionBase_1_checkRange_System_Int32_System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionBase%601.checkRange(System.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L2110">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_CollectionBase_1_checkRange_" data-uid="Lucene.Net.Support.C5.CollectionBase`1.checkRange*"></a> |
| <h4 id="Lucene_Net_Support_C5_CollectionBase_1_checkRange_System_Int32_System_Int32_" data-uid="Lucene.Net.Support.C5.CollectionBase`1.checkRange(System.Int32,System.Int32)">checkRange(Int32, Int32)</h4> |
| <div class="markdown level1 summary"><p>Utility method for range checking.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected void checkRange(int start, int count)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">start</span></td> |
| <td><p>start of range</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">count</span></td> |
| <td><p>size of range</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="exceptions">Exceptions</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Condition</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.ArgumentOutOfRangeException</span></td> |
| <td><p>if the start or count is negative or |
| if the range does not fit within collection size.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionBase_1_ComputeHashCode_Lucene_Net_Support_C5_ICollectionValue__0__System_Collections_Generic_IEqualityComparer__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionBase%601.ComputeHashCode(Lucene.Net.Support.C5.ICollectionValue%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/C5.Support.cs/#L2123">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_CollectionBase_1_ComputeHashCode_" data-uid="Lucene.Net.Support.C5.CollectionBase`1.ComputeHashCode*"></a> |
| <h4 id="Lucene_Net_Support_C5_CollectionBase_1_ComputeHashCode_Lucene_Net_Support_C5_ICollectionValue__0__System_Collections_Generic_IEqualityComparer__0__" data-uid="Lucene.Net.Support.C5.CollectionBase`1.ComputeHashCode(Lucene.Net.Support.C5.ICollectionValue{`0},System.Collections.Generic.IEqualityComparer{`0})">ComputeHashCode(ICollectionValue<T>, IEqualityComparer<T>)</h4> |
| <div class="markdown level1 summary"><p>Compute the unsequenced hash code of a collection</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public static int ComputeHashCode(ICollectionValue<T> items, IEqualityComparer<T> itemequalityComparer)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html">ICollectionValue</a><T></td> |
| <td><span class="parametername">items</span></td> |
| <td><p>The collection to compute hash code for</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Collections.Generic.IEqualityComparer</span><T></td> |
| <td><span class="parametername">itemequalityComparer</span></td> |
| <td><p>The item equalitySCG.Comparer</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 hash 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_C5_CollectionBase_1_GetUnsequencedHashCode.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionBase%601.GetUnsequencedHashCode%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L2252">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_CollectionBase_1_GetUnsequencedHashCode_" data-uid="Lucene.Net.Support.C5.CollectionBase`1.GetUnsequencedHashCode*"></a> |
| <h4 id="Lucene_Net_Support_C5_CollectionBase_1_GetUnsequencedHashCode" data-uid="Lucene.Net.Support.C5.CollectionBase`1.GetUnsequencedHashCode">GetUnsequencedHashCode()</h4> |
| <div class="markdown level1 summary"><p>Get the unsequenced collection hash code of this collection: from the cached |
| value if present and up to date, else (re)compute.</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 GetUnsequencedHashCode()</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</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionBase_1_modifycheck_System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionBase%601.modifycheck(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L2281">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_CollectionBase_1_modifycheck_" data-uid="Lucene.Net.Support.C5.CollectionBase`1.modifycheck*"></a> |
| <h4 id="Lucene_Net_Support_C5_CollectionBase_1_modifycheck_System_Int32_" data-uid="Lucene.Net.Support.C5.CollectionBase`1.modifycheck(System.Int32)">modifycheck(Int32)</h4> |
| <div class="markdown level1 summary"><p>Check if the collection has been modified since a specified time, expressed as a stamp value.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected virtual void modifycheck(int thestamp)</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">thestamp</span></td> |
| <td><p>The stamp identifying the target time</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="exceptions">Exceptions</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Condition</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.CollectionModifiedException.html">CollectionModifiedException</a></td> |
| <td><p>if this collection has been updated |
| since a target time</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionBase_1_StaticEquals_Lucene_Net_Support_C5_ICollection__0__Lucene_Net_Support_C5_ICollection__0__System_Collections_Generic_IEqualityComparer__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionBase%601.StaticEquals(Lucene.Net.Support.C5.ICollection%7B%600%7D%2CLucene.Net.Support.C5.ICollection%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/C5.Support.cs/#L2170">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_CollectionBase_1_StaticEquals_" data-uid="Lucene.Net.Support.C5.CollectionBase`1.StaticEquals*"></a> |
| <h4 id="Lucene_Net_Support_C5_CollectionBase_1_StaticEquals_Lucene_Net_Support_C5_ICollection__0__Lucene_Net_Support_C5_ICollection__0__System_Collections_Generic_IEqualityComparer__0__" data-uid="Lucene.Net.Support.C5.CollectionBase`1.StaticEquals(Lucene.Net.Support.C5.ICollection{`0},Lucene.Net.Support.C5.ICollection{`0},System.Collections.Generic.IEqualityComparer{`0})">StaticEquals(ICollection<T>, ICollection<T>, IEqualityComparer<T>)</h4> |
| <div class="markdown level1 summary"><p>Examine if collection1 and collection2 are equal as unsequenced collections |
| using the specified item equalityComparer (assumed compatible with the two collections).</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public static bool StaticEquals(ICollection<T> collection1, ICollection<T> collection2, IEqualityComparer<T> itemequalityComparer)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html">ICollection</a><T></td> |
| <td><span class="parametername">collection1</span></td> |
| <td><p>The first collection</p> |
| </td> |
| </tr> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html">ICollection</a><T></td> |
| <td><span class="parametername">collection2</span></td> |
| <td><p>The second collection</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Collections.Generic.IEqualityComparer</span><T></td> |
| <td><span class="parametername">itemequalityComparer</span></td> |
| <td><p>The item equalityComparer to use for comparison</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td><p>True if equal</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionBase_1_UnsequencedEquals_Lucene_Net_Support_C5_ICollection__0__.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionBase%601.UnsequencedEquals(Lucene.Net.Support.C5.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/C5.Support.cs/#L2269">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_CollectionBase_1_UnsequencedEquals_" data-uid="Lucene.Net.Support.C5.CollectionBase`1.UnsequencedEquals*"></a> |
| <h4 id="Lucene_Net_Support_C5_CollectionBase_1_UnsequencedEquals_Lucene_Net_Support_C5_ICollection__0__" data-uid="Lucene.Net.Support.C5.CollectionBase`1.UnsequencedEquals(Lucene.Net.Support.C5.ICollection{`0})">UnsequencedEquals(ICollection<T>)</h4> |
| <div class="markdown level1 summary"><p>Check if the contents of otherCollection is equal to the contents of this |
| in the unsequenced sense. Uses the item equality comparer of this 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 UnsequencedEquals(ICollection<T> otherCollection)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.ICollection-1.html">ICollection</a><T></td> |
| <td><span class="parametername">otherCollection</span></td> |
| <td><p>The collection to compare to.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td><p>True if equal</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionBase_1_updatecheck.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionBase%601.updatecheck%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L2292">View Source</a> |
| </span> |
| <a id="Lucene_Net_Support_C5_CollectionBase_1_updatecheck_" data-uid="Lucene.Net.Support.C5.CollectionBase`1.updatecheck*"></a> |
| <h4 id="Lucene_Net_Support_C5_CollectionBase_1_updatecheck" data-uid="Lucene.Net.Support.C5.CollectionBase`1.updatecheck">updatecheck()</h4> |
| <div class="markdown level1 summary"><p>Check if it is valid to perform update operations, and if so increment stamp.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected virtual void updatecheck()</code></pre> |
| </div> |
| <h5 class="exceptions">Exceptions</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Condition</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Support.C5.ReadOnlyCollectionException.html">ReadOnlyCollectionException</a></td> |
| <td><p>If collection is read-only</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 id="implements">Implements</h3> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.ICollectionValue-1.html">ICollectionValue<T></a> |
| </div> |
| <div> |
| <span class="xref">System.Collections.Generic.IEnumerable<T></span> |
| </div> |
| <div> |
| <span class="xref">System.Collections.IEnumerable</span> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Support.C5.IShowable.html">IShowable</a> |
| </div> |
| <div> |
| <span class="xref">System.IFormattable</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> |
| </article> |
| </div> |
| |
| <div class="hidden-sm col-md-2" role="complementary"> |
| <div class="sideaffix"> |
| <div class="contribution"> |
| <ul class="nav"> |
| <li> |
| <a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_C5_CollectionBase_1.md&value=---%0Auid%3A%20Lucene.Net.Support.C5.CollectionBase%601%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a> |
| </li> |
| <li> |
| <a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/C5.Support.cs/#L2057" 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> |