blob: 041c20472146d2dc03b148d3f993b3a6c2b160ff [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 BitArrayExtensions
| Apache Lucene.NET 4.8.0 Documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class BitArrayExtensions
| 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.BitArrayExtensions">
<h1 id="Lucene_Net_Support_BitArrayExtensions" data-uid="Lucene.Net.Support.BitArrayExtensions" class="text-break">Class BitArrayExtensions
</h1>
<div class="markdown level0 summary"><p>This class provides supporting methods of java.util.BitSet
that are not present in System.Collections.BitArray.</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
<div class="level0"><span class="xref">System.Object</span></div>
<div class="level1"><span class="xref">BitArrayExtensions</span></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<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>
<span class="xref">System.Object.ToString()</span>
</div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="../Lucene.Net.Benchmarks/Lucene.Net.Support.html">Lucene.Net.Support</a></h6>
<h6><strong>Assembly</strong>: Lucene.Net.dll</h6>
<h5 id="Lucene_Net_Support_BitArrayExtensions_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static class BitArrayExtensions</code></pre>
</div>
<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_BitArrayExtensions_And_UnequalLengths_System_Collections_BitArray_System_Collections_BitArray_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.And_UnequalLengths(System.Collections.BitArray%2CSystem.Collections.BitArray)%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/BitArrayExtensions.cs/#L70">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_And_UnequalLengths_" data-uid="Lucene.Net.Support.BitArrayExtensions.And_UnequalLengths*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_And_UnequalLengths_System_Collections_BitArray_System_Collections_BitArray_" data-uid="Lucene.Net.Support.BitArrayExtensions.And_UnequalLengths(System.Collections.BitArray,System.Collections.BitArray)">And_UnequalLengths(BitArray, BitArray)</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 static BitArray And_UnequalLengths(this BitArray bitsA, BitArray bitsB)</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.BitArray</span></td>
<td><span class="parametername">bitsA</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Collections.BitArray</span></td>
<td><span class="parametername">bitsB</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.Collections.BitArray</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_BitArrayExtensions_AndNot_System_Collections_BitArray_System_Collections_BitArray_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.AndNot(System.Collections.BitArray%2CSystem.Collections.BitArray)%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/BitArrayExtensions.cs/#L279">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_AndNot_" data-uid="Lucene.Net.Support.BitArrayExtensions.AndNot*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_AndNot_System_Collections_BitArray_System_Collections_BitArray_" data-uid="Lucene.Net.Support.BitArrayExtensions.AndNot(System.Collections.BitArray,System.Collections.BitArray)">AndNot(BitArray, BitArray)</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 static void AndNot(this BitArray bitsA, BitArray bitsB)</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.BitArray</span></td>
<td><span class="parametername">bitsA</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Collections.BitArray</span></td>
<td><span class="parametername">bitsB</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_BitArrayExtensions_BitWiseEquals_System_Collections_BitArray_System_Collections_BitArray_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.BitWiseEquals(System.Collections.BitArray%2CSystem.Collections.BitArray)%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/BitArrayExtensions.cs/#L297">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_BitWiseEquals_" data-uid="Lucene.Net.Support.BitArrayExtensions.BitWiseEquals*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_BitWiseEquals_System_Collections_BitArray_System_Collections_BitArray_" data-uid="Lucene.Net.Support.BitArrayExtensions.BitWiseEquals(System.Collections.BitArray,System.Collections.BitArray)">BitWiseEquals(BitArray, BitArray)</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 static bool BitWiseEquals(this BitArray bitsA, BitArray bitsB)</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.BitArray</span></td>
<td><span class="parametername">bitsA</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Collections.BitArray</span></td>
<td><span class="parametername">bitsB</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-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_BitArrayExtensions_Cardinality_System_Collections_BitArray_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.Cardinality(System.Collections.BitArray)%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/BitArrayExtensions.cs/#L150">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_Cardinality_" data-uid="Lucene.Net.Support.BitArrayExtensions.Cardinality*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_Cardinality_System_Collections_BitArray_" data-uid="Lucene.Net.Support.BitArrayExtensions.Cardinality(System.Collections.BitArray)">Cardinality(BitArray)</h4>
<div class="markdown level1 summary"><p>Returns the number of bits set to <code>true</code> in this <span class="xref">System.Collections.BitArray</span>.</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 Cardinality(this BitArray bits)</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.BitArray</span></td>
<td><span class="parametername">bits</span></td>
<td><p>This <span class="xref">System.Collections.BitArray</span>.</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 number of bits set to true in this <span class="xref">System.Collections.BitArray</span>.</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_BitArrayExtensions_Clear_System_Collections_BitArray_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.Clear(System.Collections.BitArray)%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/BitArrayExtensions.cs/#L230">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_Clear_" data-uid="Lucene.Net.Support.BitArrayExtensions.Clear*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_Clear_System_Collections_BitArray_" data-uid="Lucene.Net.Support.BitArrayExtensions.Clear(System.Collections.BitArray)">Clear(BitArray)</h4>
<div class="markdown level1 summary"><p>Sets all bits to false</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static void Clear(this BitArray bits)</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.BitArray</span></td>
<td><span class="parametername">bits</span></td>
<td><p>The BitArray object.</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_BitArrayExtensions_Clear_System_Collections_BitArray_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.Clear(System.Collections.BitArray%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/BitArrayExtensions.cs/#L221">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_Clear_" data-uid="Lucene.Net.Support.BitArrayExtensions.Clear*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_Clear_System_Collections_BitArray_System_Int32_" data-uid="Lucene.Net.Support.BitArrayExtensions.Clear(System.Collections.BitArray,System.Int32)">Clear(BitArray, Int32)</h4>
<div class="markdown level1 summary"><p>Sets the bit at the given <code data-dev-comment-type="paramref" class="paramref">index</code> to false.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static void Clear(this BitArray bits, 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.Collections.BitArray</span></td>
<td><span class="parametername">bits</span></td>
<td><p>The BitArray object.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">index</span></td>
<td><p>The position to set to false.</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_BitArrayExtensions_Clear_System_Collections_BitArray_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.Clear(System.Collections.BitArray%2CSystem.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/BitArrayExtensions.cs/#L245">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_Clear_" data-uid="Lucene.Net.Support.BitArrayExtensions.Clear*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_Clear_System_Collections_BitArray_System_Int32_System_Int32_" data-uid="Lucene.Net.Support.BitArrayExtensions.Clear(System.Collections.BitArray,System.Int32,System.Int32)">Clear(BitArray, Int32, 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 static void Clear(this BitArray bits, int startIdx, int endIdx)</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.BitArray</span></td>
<td><span class="parametername">bits</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">startIdx</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">endIdx</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_BitArrayExtensions_Equal_System_Collections_BitArray_Lucene_Net_Util_OpenBitSet_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.Equal(System.Collections.BitArray%2CLucene.Net.Util.OpenBitSet)%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/BitArrayExtensions.cs/#L314">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_Equal_" data-uid="Lucene.Net.Support.BitArrayExtensions.Equal*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_Equal_System_Collections_BitArray_Lucene_Net_Util_OpenBitSet_" data-uid="Lucene.Net.Support.BitArrayExtensions.Equal(System.Collections.BitArray,Lucene.Net.Util.OpenBitSet)">Equal(BitArray, OpenBitSet)</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 static bool Equal(this BitArray a, OpenBitSet 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><span class="xref">System.Collections.BitArray</span></td>
<td><span class="parametername">a</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="Lucene.Net.Util.OpenBitSet.html">OpenBitSet</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.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_BitArrayExtensions_Flip_System_Collections_BitArray_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.Flip(System.Collections.BitArray%2CSystem.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/BitArrayExtensions.cs/#L236">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_Flip_" data-uid="Lucene.Net.Support.BitArrayExtensions.Flip*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_Flip_System_Collections_BitArray_System_Int32_System_Int32_" data-uid="Lucene.Net.Support.BitArrayExtensions.Flip(System.Collections.BitArray,System.Int32,System.Int32)">Flip(BitArray, Int32, 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 static void Flip(this BitArray bits, int startIdx, int endIdx)</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.BitArray</span></td>
<td><span class="parametername">bits</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">startIdx</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">endIdx</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_BitArrayExtensions_NextClearBit_System_Collections_BitArray_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.NextClearBit(System.Collections.BitArray%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/BitArrayExtensions.cs/#L130">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_NextClearBit_" data-uid="Lucene.Net.Support.BitArrayExtensions.NextClearBit*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_NextClearBit_System_Collections_BitArray_System_Int32_" data-uid="Lucene.Net.Support.BitArrayExtensions.NextClearBit(System.Collections.BitArray,System.Int32)">NextClearBit(BitArray, Int32)</h4>
<div class="markdown level1 summary"><p>Returns the next un-set bit at or after index, or -1 if no such bit exists.</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 NextClearBit(this BitArray bitArray, 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.Collections.BitArray</span></td>
<td><span class="parametername">bitArray</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">index</span></td>
<td><p>the index of bit array at which to start checking</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 next set bit or -1</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_BitArrayExtensions_NextSetBit_System_Collections_BitArray_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.NextSetBit(System.Collections.BitArray%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/BitArrayExtensions.cs/#L40">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_NextSetBit_" data-uid="Lucene.Net.Support.BitArrayExtensions.NextSetBit*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_NextSetBit_System_Collections_BitArray_System_Int32_" data-uid="Lucene.Net.Support.BitArrayExtensions.NextSetBit(System.Collections.BitArray,System.Int32)">NextSetBit(BitArray, Int32)</h4>
<div class="markdown level1 summary"><p>Returns the next set bit at or after index, or -1 if no such bit exists.</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 NextSetBit(this BitArray bitArray, 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.Collections.BitArray</span></td>
<td><span class="parametername">bitArray</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">index</span></td>
<td><p>the index of bit array at which to start checking</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 next set bit or -1</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs-4.8.0-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_BitArrayExtensions_Or_UnequalLengths_System_Collections_BitArray_System_Collections_BitArray_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.Or_UnequalLengths(System.Collections.BitArray%2CSystem.Collections.BitArray)%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/BitArrayExtensions.cs/#L83">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_Or_UnequalLengths_" data-uid="Lucene.Net.Support.BitArrayExtensions.Or_UnequalLengths*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_Or_UnequalLengths_System_Collections_BitArray_System_Collections_BitArray_" data-uid="Lucene.Net.Support.BitArrayExtensions.Or_UnequalLengths(System.Collections.BitArray,System.Collections.BitArray)">Or_UnequalLengths(BitArray, BitArray)</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 static BitArray Or_UnequalLengths(this BitArray bitsA, BitArray bitsB)</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.BitArray</span></td>
<td><span class="parametername">bitsA</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Collections.BitArray</span></td>
<td><span class="parametername">bitsB</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.Collections.BitArray</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_BitArrayExtensions_PrevSetBit_System_Collections_BitArray_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.PrevSetBit(System.Collections.BitArray%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/BitArrayExtensions.cs/#L55">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_PrevSetBit_" data-uid="Lucene.Net.Support.BitArrayExtensions.PrevSetBit*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_PrevSetBit_System_Collections_BitArray_System_Int32_" data-uid="Lucene.Net.Support.BitArrayExtensions.PrevSetBit(System.Collections.BitArray,System.Int32)">PrevSetBit(BitArray, 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 static int PrevSetBit(this BitArray bitArray, 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.Collections.BitArray</span></td>
<td><span class="parametername">bitArray</span></td>
<td></td>
</tr>
<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-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_BitArrayExtensions_SafeGet_System_Collections_BitArray_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.SafeGet(System.Collections.BitArray%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/BitArrayExtensions.cs/#L264">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_SafeGet_" data-uid="Lucene.Net.Support.BitArrayExtensions.SafeGet*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_SafeGet_System_Collections_BitArray_System_Int32_" data-uid="Lucene.Net.Support.BitArrayExtensions.SafeGet(System.Collections.BitArray,System.Int32)">SafeGet(BitArray, 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 static bool SafeGet(this BitArray a, int loc)</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.BitArray</span></td>
<td><span class="parametername">a</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">loc</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-beta00007/websites/apidocs/apiSpec/new?filename=Lucene_Net_Support_BitArrayExtensions_SafeSet_System_Collections_BitArray_System_Int32_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.SafeSet(System.Collections.BitArray%2CSystem.Int32%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/BitArrayExtensions.cs/#L270">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_SafeSet_" data-uid="Lucene.Net.Support.BitArrayExtensions.SafeSet*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_SafeSet_System_Collections_BitArray_System_Int32_System_Boolean_" data-uid="Lucene.Net.Support.BitArrayExtensions.SafeSet(System.Collections.BitArray,System.Int32,System.Boolean)">SafeSet(BitArray, Int32, Boolean)</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 static void SafeSet(this BitArray a, int loc, bool value)</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.BitArray</span></td>
<td><span class="parametername">a</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">loc</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">value</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_BitArrayExtensions_Set_System_Collections_BitArray_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.Set(System.Collections.BitArray%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/BitArrayExtensions.cs/#L196">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_Set_" data-uid="Lucene.Net.Support.BitArrayExtensions.Set*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_Set_System_Collections_BitArray_System_Int32_" data-uid="Lucene.Net.Support.BitArrayExtensions.Set(System.Collections.BitArray,System.Int32)">Set(BitArray, Int32)</h4>
<div class="markdown level1 summary"><p>Sets the bit at the given <code data-dev-comment-type="paramref" class="paramref">index</code> to true.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static void Set(this BitArray bits, 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.Collections.BitArray</span></td>
<td><span class="parametername">bits</span></td>
<td><p>The BitArray object.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">index</span></td>
<td><p>The position to set to true.</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_BitArrayExtensions_Set_System_Collections_BitArray_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.Set(System.Collections.BitArray%2CSystem.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/BitArrayExtensions.cs/#L254">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_Set_" data-uid="Lucene.Net.Support.BitArrayExtensions.Set*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_Set_System_Collections_BitArray_System_Int32_System_Int32_" data-uid="Lucene.Net.Support.BitArrayExtensions.Set(System.Collections.BitArray,System.Int32,System.Int32)">Set(BitArray, Int32, 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 static void Set(this BitArray bits, int startIdx, int endIdx)</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.BitArray</span></td>
<td><span class="parametername">bits</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">startIdx</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">endIdx</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_BitArrayExtensions_Set_System_Collections_BitArray_System_Int32_System_Int32_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.Set(System.Collections.BitArray%2CSystem.Int32%2CSystem.Int32%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/Shazwazza/lucenenet/blob/docs-update-jan2020/src/Lucene.Net/Support/BitArrayExtensions.cs/#L208">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_Set_" data-uid="Lucene.Net.Support.BitArrayExtensions.Set*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_Set_System_Collections_BitArray_System_Int32_System_Int32_System_Boolean_" data-uid="Lucene.Net.Support.BitArrayExtensions.Set(System.Collections.BitArray,System.Int32,System.Int32,System.Boolean)">Set(BitArray, Int32, Int32, Boolean)</h4>
<div class="markdown level1 summary"><p>Sets the bit at the given index range to true.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static void Set(this BitArray bits, int fromIndex, int toIndex, bool value)</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.BitArray</span></td>
<td><span class="parametername">bits</span></td>
<td><p>The BitArray object.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">fromIndex</span></td>
<td><p>The start of the range to set(inclusive)</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">toIndex</span></td>
<td><p>The end of the range to set(exclusive)</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">value</span></td>
<td><p>the value to set to the range</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_BitArrayExtensions_Xor_UnequalLengths_System_Collections_BitArray_System_Collections_BitArray_.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions.Xor_UnequalLengths(System.Collections.BitArray%2CSystem.Collections.BitArray)%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/BitArrayExtensions.cs/#L104">View Source</a>
</span>
<a id="Lucene_Net_Support_BitArrayExtensions_Xor_UnequalLengths_" data-uid="Lucene.Net.Support.BitArrayExtensions.Xor_UnequalLengths*"></a>
<h4 id="Lucene_Net_Support_BitArrayExtensions_Xor_UnequalLengths_System_Collections_BitArray_System_Collections_BitArray_" data-uid="Lucene.Net.Support.BitArrayExtensions.Xor_UnequalLengths(System.Collections.BitArray,System.Collections.BitArray)">Xor_UnequalLengths(BitArray, BitArray)</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 static BitArray Xor_UnequalLengths(this BitArray bitsA, BitArray bitsB)</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.BitArray</span></td>
<td><span class="parametername">bitsA</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Collections.BitArray</span></td>
<td><span class="parametername">bitsB</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.Collections.BitArray</span></td>
<td></td>
</tr>
</tbody>
</table>
</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_BitArrayExtensions.md&amp;value=---%0Auid%3A%20Lucene.Net.Support.BitArrayExtensions%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/BitArrayExtensions.cs/#L32" 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>