blob: 0789099db420643d2988926b70836bed4b820cd7 [file] [log] [blame]
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class FixedBitSet
| Apache Lucene.NET 4.8.0-beta00013 Documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class FixedBitSet
| Apache Lucene.NET 4.8.0-beta00013 Documentation ">
<meta name="generator" content="docfx 2.56.2.0">
<link rel="shortcut icon" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/logo/favicon.ico">
<link rel="stylesheet" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.vendor.css">
<link rel="stylesheet" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.css">
<link rel="stylesheet" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/main.css">
<meta property="docfx:navrel" content="toc.html">
<meta property="docfx:tocrel" content="core/toc.html">
<meta property="docfx:rel" content="https://lucenenet.apache.org/docs/4.8.0-beta00009/">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<span id="forkongithub"><a href="https://github.com/apache/lucenenet" target="_blank">Fork me on GitHub</a></span>
<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="/">
<img id="logo" class="svg" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/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">
<ul class="level0 breadcrumb">
<li>
<a href="https://lucenenet.apache.org/docs/4.8.0-beta00009/">API</a>
<span id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</span>
</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.Util.FixedBitSet">
<h1 id="Lucene_Net_Util_FixedBitSet" data-uid="Lucene.Net.Util.FixedBitSet" class="text-break">Class FixedBitSet
</h1>
<div class="markdown level0 summary"><p>BitSet of fixed length (numBits), backed by accessible (<a class="xref" href="Lucene.Net.Util.FixedBitSet.html#Lucene_Net_Util_FixedBitSet_GetBits">GetBits()</a>)
long[], accessed with an int index, implementing <a class="xref" href="Lucene.Net.Util.FixedBitSet.html#Lucene_Net_Util_FixedBitSet_GetBits">GetBits()</a> and
<a class="xref" href="Lucene.Net.Search.DocIdSet.html">DocIdSet</a>. If you need to manage more than 2.1B bits, use
<a class="xref" href="Lucene.Net.Util.Int64BitSet.html">Int64BitSet</a>.
<p>
<div class="lucene-block lucene-internal">This is a Lucene.NET INTERNAL API, use at your own risk</div></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.Search.DocIdSet.html">DocIdSet</a></div>
<div class="level2"><span class="xref">FixedBitSet</span></div>
</div>
<div classs="implements">
<h5>Implements</h5>
<div><a class="xref" href="Lucene.Net.Util.IBits.html">IBits</a></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<a class="xref" href="Lucene.Net.Search.DocIdSet.html#Lucene_Net_Search_DocIdSet_NewAnonymous_System_Func_Lucene_Net_Search_DocIdSetIterator__">DocIdSet.NewAnonymous(Func&lt;DocIdSetIterator&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Search.DocIdSet.html#Lucene_Net_Search_DocIdSet_NewAnonymous_System_Func_Lucene_Net_Search_DocIdSetIterator__System_Func_Lucene_Net_Util_IBits__">DocIdSet.NewAnonymous(Func&lt;DocIdSetIterator&gt;, Func&lt;IBits&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Search.DocIdSet.html#Lucene_Net_Search_DocIdSet_NewAnonymous_System_Func_Lucene_Net_Search_DocIdSetIterator__System_Func_System_Boolean__">DocIdSet.NewAnonymous(Func&lt;DocIdSetIterator&gt;, Func&lt;Boolean&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Search.DocIdSet.html#Lucene_Net_Search_DocIdSet_NewAnonymous_System_Func_Lucene_Net_Search_DocIdSetIterator__System_Func_Lucene_Net_Util_IBits__System_Func_System_Boolean__">DocIdSet.NewAnonymous(Func&lt;DocIdSetIterator&gt;, Func&lt;IBits&gt;, Func&lt;Boolean&gt;)</a>
</div>
<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>
<span class="xref">System.Object.ToString()</span>
</div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="Lucene.Net.Util.html">Lucene.Net.Util</a></h6>
<h6><strong>Assembly</strong>: Lucene.Net.dll</h6>
<h5 id="Lucene_Net_Util_FixedBitSet_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public sealed class FixedBitSet : DocIdSet, IBits</code></pre>
</div>
<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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet__ctor_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.%23ctor(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L214">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet__ctor_" data-uid="Lucene.Net.Util.FixedBitSet.#ctor*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet__ctor_System_Int32_" data-uid="Lucene.Net.Util.FixedBitSet.#ctor(System.Int32)">FixedBitSet(Int32)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public FixedBitSet(int numBits)</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">numBits</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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet__ctor_System_Int64___System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.%23ctor(System.Int64%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L221">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet__ctor_" data-uid="Lucene.Net.Util.FixedBitSet.#ctor*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet__ctor_System_Int64___System_Int32_" data-uid="Lucene.Net.Util.FixedBitSet.#ctor(System.Int64[],System.Int32)">FixedBitSet(Int64[], Int32)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public FixedBitSet(long[] storedBits, int numBits)</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.Int64</span>[]</td>
<td><span class="parametername">storedBits</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">numBits</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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_Bits.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.Bits%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L237">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_Bits_" data-uid="Lucene.Net.Util.FixedBitSet.Bits*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_Bits" data-uid="Lucene.Net.Util.FixedBitSet.Bits">Bits</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 IBits Bits { 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.Util.IBits.html">IBits</a></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="Lucene.Net.Search.DocIdSet.html#Lucene_Net_Search_DocIdSet_Bits">DocIdSet.Bits</a></div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_IsCacheable.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.IsCacheable%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L243">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_IsCacheable_" data-uid="Lucene.Net.Util.FixedBitSet.IsCacheable*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_IsCacheable" data-uid="Lucene.Net.Util.FixedBitSet.IsCacheable">IsCacheable</h4>
<div class="markdown level1 summary"><p>This DocIdSet implementation is cacheable. </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 IsCacheable { 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>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="Lucene.Net.Search.DocIdSet.html#Lucene_Net_Search_DocIdSet_IsCacheable">DocIdSet.IsCacheable</a></div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_Length.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.Length%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L239">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_Length_" data-uid="Lucene.Net.Util.FixedBitSet.Length*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_Length" data-uid="Lucene.Net.Util.FixedBitSet.Length">Length</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 int Length { 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>
<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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_And_Lucene_Net_Search_DocIdSetIterator_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.And(Lucene.Net.Search.DocIdSetIterator)%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L450">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_And_" data-uid="Lucene.Net.Util.FixedBitSet.And*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_And_Lucene_Net_Search_DocIdSetIterator_" data-uid="Lucene.Net.Util.FixedBitSet.And(Lucene.Net.Search.DocIdSetIterator)">And(DocIdSetIterator)</h4>
<div class="markdown level1 summary"><p>Does in-place AND of the bits provided by the
iterator.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void And(DocIdSetIterator iter)</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.Search.DocIdSetIterator.html">DocIdSetIterator</a></td>
<td><span class="parametername">iter</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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_And_Lucene_Net_Util_FixedBitSet_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.And(Lucene.Net.Util.FixedBitSet)%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L503">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_And_" data-uid="Lucene.Net.Util.FixedBitSet.And*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_And_Lucene_Net_Util_FixedBitSet_" data-uid="Lucene.Net.Util.FixedBitSet.And(Lucene.Net.Util.FixedBitSet)">And(FixedBitSet)</h4>
<div class="markdown level1 summary"><p>this = this AND other </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void And(FixedBitSet 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><a class="xref" href="Lucene.Net.Util.FixedBitSet.html">FixedBitSet</a></td>
<td><span class="parametername">other</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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_AndNot_Lucene_Net_Search_DocIdSetIterator_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.AndNot(Lucene.Net.Search.DocIdSetIterator)%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L527">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_AndNot_" data-uid="Lucene.Net.Util.FixedBitSet.AndNot*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_AndNot_Lucene_Net_Search_DocIdSetIterator_" data-uid="Lucene.Net.Util.FixedBitSet.AndNot(Lucene.Net.Search.DocIdSetIterator)">AndNot(DocIdSetIterator)</h4>
<div class="markdown level1 summary"><p>Does in-place AND NOT of the bits provided by the
iterator.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void AndNot(DocIdSetIterator iter)</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.Search.DocIdSetIterator.html">DocIdSetIterator</a></td>
<td><span class="parametername">iter</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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_AndNot_Lucene_Net_Util_FixedBitSet_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.AndNot(Lucene.Net.Util.FixedBitSet)%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L555">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_AndNot_" data-uid="Lucene.Net.Util.FixedBitSet.AndNot*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_AndNot_Lucene_Net_Util_FixedBitSet_" data-uid="Lucene.Net.Util.FixedBitSet.AndNot(Lucene.Net.Util.FixedBitSet)">AndNot(FixedBitSet)</h4>
<div class="markdown level1 summary"><p>this = this AND NOT other </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void AndNot(FixedBitSet 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><a class="xref" href="Lucene.Net.Util.FixedBitSet.html">FixedBitSet</a></td>
<td><span class="parametername">other</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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_AndNotCount_Lucene_Net_Util_FixedBitSet_Lucene_Net_Util_FixedBitSet_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.AndNotCount(Lucene.Net.Util.FixedBitSet%2CLucene.Net.Util.FixedBitSet)%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L200">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_AndNotCount_" data-uid="Lucene.Net.Util.FixedBitSet.AndNotCount*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_AndNotCount_Lucene_Net_Util_FixedBitSet_Lucene_Net_Util_FixedBitSet_" data-uid="Lucene.Net.Util.FixedBitSet.AndNotCount(Lucene.Net.Util.FixedBitSet,Lucene.Net.Util.FixedBitSet)">AndNotCount(FixedBitSet, FixedBitSet)</h4>
<div class="markdown level1 summary"><p>Returns the popcount or cardinality of &quot;a and not b&quot; or
&quot;intersection(a, not(b))&quot;. Neither set is modified.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static long AndNotCount(FixedBitSet a, FixedBitSet b)</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.Util.FixedBitSet.html">FixedBitSet</a></td>
<td><span class="parametername">a</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="Lucene.Net.Util.FixedBitSet.html">FixedBitSet</a></td>
<td><span class="parametername">b</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int64</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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_Bits2words_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.Bits2words(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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L158">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_Bits2words_" data-uid="Lucene.Net.Util.FixedBitSet.Bits2words*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_Bits2words_System_Int32_" data-uid="Lucene.Net.Util.FixedBitSet.Bits2words(System.Int32)">Bits2words(Int32)</h4>
<div class="markdown level1 summary"><p>Returns the number of 64 bit words it would take to hold <code data-dev-comment-type="paramref" class="paramref">numBits</code> </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 Bits2words(int numBits)</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">numBits</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_Cardinality.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.Cardinality%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L259">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_Cardinality_" data-uid="Lucene.Net.Util.FixedBitSet.Cardinality*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_Cardinality" data-uid="Lucene.Net.Util.FixedBitSet.Cardinality">Cardinality()</h4>
<div class="markdown level1 summary"><p>Returns number of set bits. NOTE: this visits every
<span class="xref">System.Int64</span> in the backing bits array, and the result is not
internally cached!</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int Cardinality()</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></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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_Clear_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.Clear(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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L296">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_Clear_" data-uid="Lucene.Net.Util.FixedBitSet.Clear*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_Clear_System_Int32_" data-uid="Lucene.Net.Util.FixedBitSet.Clear(System.Int32)">Clear(Int32)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Clear(int index)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">index</span></td>
<td></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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_Clear_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.Clear(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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L664">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_Clear_" data-uid="Lucene.Net.Util.FixedBitSet.Clear*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_Clear_System_Int32_System_Int32_" data-uid="Lucene.Net.Util.FixedBitSet.Clear(System.Int32,System.Int32)">Clear(Int32, Int32)</h4>
<div class="markdown level1 summary"><p>Clears a range of bits.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Clear(int startIndex, int endIndex)</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">startIndex</span></td>
<td><p>Lower index </p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">endIndex</span></td>
<td><p>One-past the last bit to clear </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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_Clone.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L699">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_Clone_" data-uid="Lucene.Net.Util.FixedBitSet.Clone*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_Clone" data-uid="Lucene.Net.Util.FixedBitSet.Clone">Clone()</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 FixedBitSet 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><a class="xref" href="Lucene.Net.Util.FixedBitSet.html">FixedBitSet</a></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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_EnsureCapacity_Lucene_Net_Util_FixedBitSet_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.EnsureCapacity(Lucene.Net.Util.FixedBitSet%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L138">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_EnsureCapacity_" data-uid="Lucene.Net.Util.FixedBitSet.EnsureCapacity*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_EnsureCapacity_Lucene_Net_Util_FixedBitSet_System_Int32_" data-uid="Lucene.Net.Util.FixedBitSet.EnsureCapacity(Lucene.Net.Util.FixedBitSet,System.Int32)">EnsureCapacity(FixedBitSet, Int32)</h4>
<div class="markdown level1 summary"><p>If the given <a class="xref" href="Lucene.Net.Util.FixedBitSet.html">FixedBitSet</a> is large enough to hold <code data-dev-comment-type="paramref" class="paramref">numBits</code>,
returns the given bits, otherwise returns a new <a class="xref" href="Lucene.Net.Util.FixedBitSet.html">FixedBitSet</a> which
can hold the requested number of bits.</p>
<p><p>
<strong>NOTE:</strong> the returned bitset reuses the underlying <span class="xref">long[]</span> of
the given <code data-dev-comment-type="paramref" class="paramref">bits</code> if possible. Also, calling <a class="xref" href="Lucene.Net.Util.FixedBitSet.html#Lucene_Net_Util_FixedBitSet_Length">Length</a> on the
returned bits may return a value greater than <code data-dev-comment-type="paramref" class="paramref">numBits</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static FixedBitSet EnsureCapacity(FixedBitSet bits, int numBits)</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.Util.FixedBitSet.html">FixedBitSet</a></td>
<td><span class="parametername">bits</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">numBits</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.Util.FixedBitSet.html">FixedBitSet</a></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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_Equals_System_Object_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L709">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_Equals_" data-uid="Lucene.Net.Util.FixedBitSet.Equals*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_Equals_System_Object_" data-uid="Lucene.Net.Util.FixedBitSet.Equals(System.Object)">Equals(Object)</h4>
<div class="markdown level1 summary"><p>Returns <code>true</code> if both sets have the same bits set </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 o)</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">o</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_Flip_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.Flip(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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L580">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_Flip_" data-uid="Lucene.Net.Util.FixedBitSet.Flip*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_Flip_System_Int32_System_Int32_" data-uid="Lucene.Net.Util.FixedBitSet.Flip(System.Int32,System.Int32)">Flip(Int32, Int32)</h4>
<div class="markdown level1 summary"><p>Flips a range of bits</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Flip(int startIndex, int endIndex)</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">startIndex</span></td>
<td><p>Lower index </p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">endIndex</span></td>
<td><p>One-past the last bit to flip </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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_Get_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.Get(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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L265">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_Get_" data-uid="Lucene.Net.Util.FixedBitSet.Get*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_Get_System_Int32_" data-uid="Lucene.Net.Util.FixedBitSet.Get(System.Int32)">Get(Int32)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool Get(int index)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">index</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_GetAndClear_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.GetAndClear(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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L305">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_GetAndClear_" data-uid="Lucene.Net.Util.FixedBitSet.GetAndClear*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_GetAndClear_System_Int32_" data-uid="Lucene.Net.Util.FixedBitSet.GetAndClear(System.Int32)">GetAndClear(Int32)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool GetAndClear(int index)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">index</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_GetAndSet_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.GetAndSet(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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L285">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_GetAndSet_" data-uid="Lucene.Net.Util.FixedBitSet.GetAndSet*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_GetAndSet_System_Int32_" data-uid="Lucene.Net.Util.FixedBitSet.GetAndSet(System.Int32)">GetAndSet(Int32)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool GetAndSet(int index)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">index</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_GetBits.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.GetBits%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L247">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_GetBits_" data-uid="Lucene.Net.Util.FixedBitSet.GetBits*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_GetBits" data-uid="Lucene.Net.Util.FixedBitSet.GetBits">GetBits()</h4>
<div class="markdown level1 summary"><p>Expert. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public long[] GetBits()</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.Int64</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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_GetHashCode.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L727">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_GetHashCode_" data-uid="Lucene.Net.Util.FixedBitSet.GetHashCode*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_GetHashCode" data-uid="Lucene.Net.Util.FixedBitSet.GetHashCode">GetHashCode()</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 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></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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_GetIterator.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.GetIterator%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L232">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_GetIterator_" data-uid="Lucene.Net.Util.FixedBitSet.GetIterator*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_GetIterator" data-uid="Lucene.Net.Util.FixedBitSet.GetIterator">GetIterator()</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 DocIdSetIterator GetIterator()</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><a class="xref" href="Lucene.Net.Search.DocIdSetIterator.html">DocIdSetIterator</a></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="Lucene.Net.Search.DocIdSet.html#Lucene_Net_Search_DocIdSet_GetIterator">DocIdSet.GetIterator()</a></div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_IntersectionCount_Lucene_Net_Util_FixedBitSet_Lucene_Net_Util_FixedBitSet_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.IntersectionCount(Lucene.Net.Util.FixedBitSet%2CLucene.Net.Util.FixedBitSet)%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L172">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_IntersectionCount_" data-uid="Lucene.Net.Util.FixedBitSet.IntersectionCount*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_IntersectionCount_Lucene_Net_Util_FixedBitSet_Lucene_Net_Util_FixedBitSet_" data-uid="Lucene.Net.Util.FixedBitSet.IntersectionCount(Lucene.Net.Util.FixedBitSet,Lucene.Net.Util.FixedBitSet)">IntersectionCount(FixedBitSet, FixedBitSet)</h4>
<div class="markdown level1 summary"><p>Returns the popcount or cardinality of the intersection of the two sets.
Neither set is modified.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static long IntersectionCount(FixedBitSet a, FixedBitSet b)</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.Util.FixedBitSet.html">FixedBitSet</a></td>
<td><span class="parametername">a</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="Lucene.Net.Util.FixedBitSet.html">FixedBitSet</a></td>
<td><span class="parametername">b</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int64</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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_Intersects_Lucene_Net_Util_FixedBitSet_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.Intersects(Lucene.Net.Util.FixedBitSet)%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L488">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_Intersects_" data-uid="Lucene.Net.Util.FixedBitSet.Intersects*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_Intersects_Lucene_Net_Util_FixedBitSet_" data-uid="Lucene.Net.Util.FixedBitSet.Intersects(Lucene.Net.Util.FixedBitSet)">Intersects(FixedBitSet)</h4>
<div class="markdown level1 summary"><p>Returns true if the sets have any elements in common </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool Intersects(FixedBitSet 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><a class="xref" href="Lucene.Net.Util.FixedBitSet.html">FixedBitSet</a></td>
<td><span class="parametername">other</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_NextSetBit_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.NextSetBit(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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L320">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_NextSetBit_" data-uid="Lucene.Net.Util.FixedBitSet.NextSetBit*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_NextSetBit_System_Int32_" data-uid="Lucene.Net.Util.FixedBitSet.NextSetBit(System.Int32)">NextSetBit(Int32)</h4>
<div class="markdown level1 summary"><p>Returns the index of the first set bit starting at the index specified.
-1 is returned if there are no more set bits.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int NextSetBit(int index)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">index</span></td>
<td></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></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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_Or_Lucene_Net_Search_DocIdSetIterator_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.Or(Lucene.Net.Search.DocIdSetIterator)%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L376">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_Or_" data-uid="Lucene.Net.Util.FixedBitSet.Or*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_Or_Lucene_Net_Search_DocIdSetIterator_" data-uid="Lucene.Net.Util.FixedBitSet.Or(Lucene.Net.Search.DocIdSetIterator)">Or(DocIdSetIterator)</h4>
<div class="markdown level1 summary"><p>Does in-place OR of the bits provided by the
iterator.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Or(DocIdSetIterator iter)</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.Search.DocIdSetIterator.html">DocIdSetIterator</a></td>
<td><span class="parametername">iter</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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_Or_Lucene_Net_Util_FixedBitSet_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.Or(Lucene.Net.Util.FixedBitSet)%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L404">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_Or_" data-uid="Lucene.Net.Util.FixedBitSet.Or*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_Or_Lucene_Net_Util_FixedBitSet_" data-uid="Lucene.Net.Util.FixedBitSet.Or(Lucene.Net.Util.FixedBitSet)">Or(FixedBitSet)</h4>
<div class="markdown level1 summary"><p>this = this OR other </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Or(FixedBitSet 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><a class="xref" href="Lucene.Net.Util.FixedBitSet.html">FixedBitSet</a></td>
<td><span class="parametername">other</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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_PrevSetBit_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.PrevSetBit(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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L348">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_PrevSetBit_" data-uid="Lucene.Net.Util.FixedBitSet.PrevSetBit*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_PrevSetBit_System_Int32_" data-uid="Lucene.Net.Util.FixedBitSet.PrevSetBit(System.Int32)">PrevSetBit(Int32)</h4>
<div class="markdown level1 summary"><p>Returns the index of the last set bit before or on the index specified.
-1 is returned if there are no more set bits.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int PrevSetBit(int index)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">index</span></td>
<td></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></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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_Set_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.Set(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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L276">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_Set_" data-uid="Lucene.Net.Util.FixedBitSet.Set*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_Set_System_Int32_" data-uid="Lucene.Net.Util.FixedBitSet.Set(System.Int32)">Set(Int32)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Set(int index)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">index</span></td>
<td></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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_Set_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.Set(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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L629">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_Set_" data-uid="Lucene.Net.Util.FixedBitSet.Set*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_Set_System_Int32_System_Int32_" data-uid="Lucene.Net.Util.FixedBitSet.Set(System.Int32,System.Int32)">Set(Int32, Int32)</h4>
<div class="markdown level1 summary"><p>Sets a range of bits</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Set(int startIndex, int endIndex)</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">startIndex</span></td>
<td><p>Lower index </p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">endIndex</span></td>
<td><p>One-past the last bit to 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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_UnionCount_Lucene_Net_Util_FixedBitSet_Lucene_Net_Util_FixedBitSet_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.UnionCount(Lucene.Net.Util.FixedBitSet%2CLucene.Net.Util.FixedBitSet)%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L182">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_UnionCount_" data-uid="Lucene.Net.Util.FixedBitSet.UnionCount*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_UnionCount_Lucene_Net_Util_FixedBitSet_Lucene_Net_Util_FixedBitSet_" data-uid="Lucene.Net.Util.FixedBitSet.UnionCount(Lucene.Net.Util.FixedBitSet,Lucene.Net.Util.FixedBitSet)">UnionCount(FixedBitSet, FixedBitSet)</h4>
<div class="markdown level1 summary"><p>Returns the popcount or cardinality of the union of the two sets. Neither
set is modified.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static long UnionCount(FixedBitSet a, FixedBitSet b)</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.Util.FixedBitSet.html">FixedBitSet</a></td>
<td><span class="parametername">a</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="Lucene.Net.Util.FixedBitSet.html">FixedBitSet</a></td>
<td><span class="parametername">b</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int64</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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_Xor_Lucene_Net_Search_DocIdSetIterator_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.Xor(Lucene.Net.Search.DocIdSetIterator)%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L437">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_Xor_" data-uid="Lucene.Net.Util.FixedBitSet.Xor*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_Xor_Lucene_Net_Search_DocIdSetIterator_" data-uid="Lucene.Net.Util.FixedBitSet.Xor(Lucene.Net.Search.DocIdSetIterator)">Xor(DocIdSetIterator)</h4>
<div class="markdown level1 summary"><p>Does in-place XOR of the bits provided by the iterator. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Xor(DocIdSetIterator iter)</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.Search.DocIdSetIterator.html">DocIdSetIterator</a></td>
<td><span class="parametername">iter</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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet_Xor_Lucene_Net_Util_FixedBitSet_.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet.Xor(Lucene.Net.Util.FixedBitSet)%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/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L423">View Source</a>
</span>
<a id="Lucene_Net_Util_FixedBitSet_Xor_" data-uid="Lucene.Net.Util.FixedBitSet.Xor*"></a>
<h4 id="Lucene_Net_Util_FixedBitSet_Xor_Lucene_Net_Util_FixedBitSet_" data-uid="Lucene.Net.Util.FixedBitSet.Xor(Lucene.Net.Util.FixedBitSet)">Xor(FixedBitSet)</h4>
<div class="markdown level1 summary"><p>this = this XOR other </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Xor(FixedBitSet 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><a class="xref" href="Lucene.Net.Util.FixedBitSet.html">FixedBitSet</a></td>
<td><span class="parametername">other</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="implements">Implements</h3>
<div>
<a class="xref" href="Lucene.Net.Util.IBits.html">IBits</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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Util_FixedBitSet.md&amp;value=---%0Auid%3A%20Lucene.Net.Util.FixedBitSet%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/apache/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Util/FixedBitSet.cs/#L37" 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 The Apache Software Foundation, Licensed under the <a href='http://www.apache.org/licenses/LICENSE-2.0' target='_blank'>Apache License, Version 2.0</a><br> <small>Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation. <br>All other marks mentioned may be trademarks or registered trademarks of their respective owners.</small>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.vendor.js"></script>
<script type="text/javascript" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.js"></script>
<script type="text/javascript" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/main.js"></script>
</body>
</html>