blob: f7eb2cb25b291380b2948bd37484a830c9b5774e [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ImmutableBitSet (Apache Calcite calcite API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ImmutableBitSet (Apache Calcite calcite API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":9,"i3":41,"i4":10,"i5":10,"i6":10,"i7":9,"i8":10,"i9":10,"i10":10,"i11":10,"i12":9,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":10,"i31":10,"i32":10,"i33":9,"i34":9,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":9,"i49":9,"i50":9};
var tabs = {65535:["t0","所有方法"],1:["t1","静态方法"],2:["t2","实例方法"],8:["t4","具体方法"],32:["t6","已过时的方法"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>您的浏览器已禁用 JavaScript。</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="导航">
<li><a href="../../../../overview-summary.html">概览</a></li>
<li><a href="package-summary.html">程序包</a></li>
<li class="navBarCell1Rev"></li>
<li><a href="package-tree.html"></a></li>
<li><a href="../../../../deprecated-list.html">已过时</a></li>
<li><a href="../../../../index-all.html">索引</a></li>
<li><a href="../../../../help-doc.html">帮助</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/calcite/util/ImmutableBeans.StringDefault.html" title="org.apache.calcite.util中的注释"><span class="typeNameLink">上一个类</span></a></li>
<li><a href="../../../../org/apache/calcite/util/ImmutableBitSet.Builder.html" title="org.apache.calcite.util中的类"><span class="typeNameLink">下一个类</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/calcite/util/ImmutableBitSet.html" target="_top">框架</a></li>
<li><a href="ImmutableBitSet.html" target="_top">无框架</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">所有类</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>概要:&nbsp;</li>
<li><a href="#nested.class.summary">嵌套</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">字段</a>&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li><a href="#method.summary">方法</a></li>
</ul>
<ul class="subNavList">
<li>详细资料:&nbsp;</li>
<li><a href="#field.detail">字段</a>&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li><a href="#method.detail">方法</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.calcite.util</div>
<h2 title="类 ImmutableBitSet" class="title">类 ImmutableBitSet</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.util.ImmutableBitSet</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>所有已实现的接口:</dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="java.io中的类或接口">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="java.lang中的类或接口">Comparable</a>&lt;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt;, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">ImmutableBitSet</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>
implements <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;, <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="java.io中的类或接口">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="java.lang中的类或接口">Comparable</a>&lt;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt;</pre>
<div class="block">An immutable list of bits.</div>
<dl>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../serialized-form.html#org.apache.calcite.util.ImmutableBitSet">序列化表格</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>嵌套类概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="嵌套类概要表, 列表嵌套类和解释">
<caption><span>嵌套类</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">类和说明</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.Builder.html" title="org.apache.calcite.util中的类">ImmutableBitSet.Builder</a></span></code>
<div class="block">Builder.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>字段概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="字段概要表, 列表字段和解释">
<caption><span>字段</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">字段和说明</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="java.util中的类或接口">Comparator</a>&lt;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#COMPARATOR">COMPARATOR</a></span></code>
<div class="block">Compares bit sets topologically, so that enclosing bit sets come first,
using natural ordering to break ties.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static com.google.common.base.Function&lt;? super <a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="java.util中的类或接口">BitSet</a>,<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#FROM_BIT_SET">FROM_BIT_SET</a></span></code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static com.google.common.collect.Ordering&lt;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#ORDERING">ORDERING</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>方法概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">静态方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">已过时的方法</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">方法和说明</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#asList--">asList</a></span>()</code>
<div class="block">Creates a view onto this bit set as a list of integers.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="java.util中的类或接口">Set</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#asSet--">asSet</a></span>()</code>
<div class="block">Creates a view onto this bit set as a set of integers.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/calcite/util/ImmutableBitSet.Builder.html" title="org.apache.calcite.util中的类">ImmutableBitSet.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#builder--">builder</a></span>()</code>
<div class="block">Creates an empty Builder.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/calcite/util/ImmutableBitSet.Builder.html" title="org.apache.calcite.util中的类">ImmutableBitSet.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#builder-org.apache.calcite.util.ImmutableBitSet-">builder</a></span>(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;bitSet)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#cardinality--">cardinality</a></span>()</code>
<div class="block">Returns the number of bits set to <code>true</code> in this
<code>ImmutableBitSet</code>.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#clear-int-">clear</a></span>(int&nbsp;i)</code>
<div class="block">Returns a bit set the same as this but with a given bit cleared.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#clearIf-int-boolean-">clearIf</a></span>(int&nbsp;i,
boolean&nbsp;condition)</code>
<div class="block">Returns a bit set the same as this but with a given bit cleared if
condition is true.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/SortedMap.html?is-external=true" title="java.util中的类或接口">SortedMap</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>,<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#closure-java.util.SortedMap-">closure</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/SortedMap.html?is-external=true" title="java.util中的类或接口">SortedMap</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>,<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt;&nbsp;equivalence)</code>
<div class="block">Computes the closure of a map from integers to bits.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#compareTo-org.apache.calcite.util.ImmutableBitSet-">compareTo</a></span>(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;o)</code>
<div class="block">Compares this ImmutableBitSet with another, using a lexicographic
ordering.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#contains-org.apache.calcite.util.ImmutableBitSet-">contains</a></span>(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;set1)</code>
<div class="block">Returns true if all bits set in the second parameter are also set in the
first.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#equals-java.lang.Object-">equals</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>&nbsp;obj)</code>
<div class="block">Compares this object against the specified object.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#except-org.apache.calcite.util.ImmutableBitSet-">except</a></span>(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;that)</code>
<div class="block">Returns a bit set with all the bits in this set that are not in
another.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#fromBitSet-java.util.BitSet-">fromBitSet</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="java.util中的类或接口">BitSet</a>&nbsp;input)</code>
<div class="block">Returns a new immutable bit set containing all the bits in the given
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="java.util中的类或接口"><code>BitSet</code></a>.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#get-int-">get</a></span>(int&nbsp;bitIndex)</code>
<div class="block">Returns the value of the bit with the specified index.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#get-int-int-">get</a></span>(int&nbsp;fromIndex,
int&nbsp;toIndex)</code>
<div class="block">Returns a new <code>ImmutableBitSet</code>
composed of bits from this <code>ImmutableBitSet</code>
from <code>fromIndex</code> (inclusive) to <code>toIndex</code> (exclusive).</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#hashCode--">hashCode</a></span>()</code>
<div class="block">Returns the hash code value for this bit set.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#indexOf-int-">indexOf</a></span>(int&nbsp;bit)</code>
<div class="block">The ordinal of a given bit, or -1 if it is not set.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#intersect-org.apache.calcite.util.ImmutableBitSet-">intersect</a></span>(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;that)</code>
<div class="block">Returns a bit set with all the bits set in both this set and in
another.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#intersects-org.apache.calcite.util.ImmutableBitSet-">intersects</a></span>(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;set)</code>
<div class="block">Returns true if the specified <code>ImmutableBitSet</code> has any bits set to
<code>true</code> that are also set to <code>true</code> in this
<code>ImmutableBitSet</code>.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#isEmpty--">isEmpty</a></span>()</code>
<div class="block">Returns true if this <code>ImmutableBitSet</code> contains no bits that are set
to <code>true</code>.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="java.util中的类或接口">Iterator</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#iterator--">iterator</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#length--">length</a></span>()</code>
<div class="block">Returns the "logical size" of this <code>ImmutableBitSet</code>: the index of
the highest set bit in the <code>ImmutableBitSet</code> plus one.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#nextClearBit-int-">nextClearBit</a></span>(int&nbsp;fromIndex)</code>
<div class="block">Returns the index of the first bit that is set to <code>false</code>
that occurs on or after the specified starting index.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#nextSetBit-int-">nextSetBit</a></span>(int&nbsp;fromIndex)</code>
<div class="block">Returns the index of the first bit that is set to <code>true</code>
that occurs on or after the specified starting index.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#nth-int-">nth</a></span>(int&nbsp;n)</code>
<div class="block">Returns the <code>n</code>th set bit.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#of--">of</a></span>()</code>
<div class="block">Creates an ImmutableBitSet with no bits.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#of-org.apache.calcite.util.ImmutableIntList-">of</a></span>(<a href="../../../../org/apache/calcite/util/ImmutableIntList.html" title="org.apache.calcite.util中的类">ImmutableIntList</a>&nbsp;bits)</code>
<div class="block">Creates an ImmutableBitSet with given bits set.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#of-int...-">of</a></span>(int...&nbsp;bits)</code>&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#of-java.lang.Iterable-">of</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;&nbsp;bits)</code>&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#permute-java.lang.Iterable-java.util.Map-">permute</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt;&nbsp;bitSets,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;&nbsp;map)</code>
<div class="block">Permutes a collection of bit sets according to a given mapping.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#permute-java.util.Map-">permute</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;&nbsp;map)</code>
<div class="block">Permutes a bit set according to a given mapping.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#powerSet--">powerSet</a></span>()</code>
<div class="block">Computes the power set (set of all sets) of this bit set.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#previousClearBit-int-">previousClearBit</a></span>(int&nbsp;fromIndex)</code>
<div class="block">Returns the index of the nearest bit that is set to <code>false</code>
that occurs on or before the specified starting index.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#range-int-">range</a></span>(int&nbsp;toIndex)</code>
<div class="block">Creates an ImmutableBitSet with bits between 0 and <code>toIndex</code> set.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#range-int-int-">range</a></span>(int&nbsp;fromIndex,
int&nbsp;toIndex)</code>
<div class="block">Creates an ImmutableBitSet with bits from <code>fromIndex</code> (inclusive) to
specified <code>toIndex</code> (exclusive) set to <code>true</code>.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/util/ImmutableBitSet.Builder.html" title="org.apache.calcite.util中的类">ImmutableBitSet.Builder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#rebuild--">rebuild</a></span>()</code>
<div class="block">Creates a Builder whose initial contents are the same as this
ImmutableBitSet.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#set-int-">set</a></span>(int&nbsp;i)</code>
<div class="block">Returns a bit set the same as this but with a given bit set.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#set-int-boolean-">set</a></span>(int&nbsp;i,
boolean&nbsp;b)</code>
<div class="block">Returns a bit set the same as this but with a given bit set (if b is
true) or unset (if b is false).</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#setIf-int-boolean-">setIf</a></span>(int&nbsp;bit,
boolean&nbsp;condition)</code>
<div class="block">Returns a bit set the same as this but with a given bit set if condition
is true.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#shift-int-">shift</a></span>(int&nbsp;offset)</code>
<div class="block">Returns a bit set with every bit moved up <code>offset</code> positions.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#size--">size</a></span>()</code>
<div class="block">Returns the number of bits of space actually in use by this
<code>ImmutableBitSet</code> to represent bit values.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>int[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#toArray--">toArray</a></span>()</code>
<div class="block">Converts this bit set to an array.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="java.util中的类或接口">BitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#toBitSet--">toBitSet</a></span>()</code>
<div class="block">Returns a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="java.util中的类或接口"><code>BitSet</code></a> that has the same contents as this
<code>ImmutableBitSet</code>.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#toList--">toList</a></span>()</code>
<div class="block">Converts this bit set to a list.</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>long[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#toLongArray--">toLongArray</a></span>()</code>
<div class="block">Converts this bit set to an array of little-endian words.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#toString--">toString</a></span>()</code>
<div class="block">Returns a string representation of this bit set.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#union-java.util.BitSet-">union</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="java.util中的类或接口">BitSet</a>&nbsp;other)</code>
<div class="block">Returns the union of this immutable bit set with a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="java.util中的类或接口"><code>BitSet</code></a>.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#union-org.apache.calcite.util.ImmutableBitSet-">union</a></span>(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;other)</code>
<div class="block">Returns the union of this bit set with another.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#union-java.lang.Iterable-">union</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt;&nbsp;sets)</code>
<div class="block">Returns the union of a number of bit sets.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#valueOf-long...-">valueOf</a></span>(long...&nbsp;longs)</code>
<div class="block">Returns a new immutable bit set containing all the bits in the given long
array.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#valueOf-java.nio.LongBuffer-">valueOf</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/LongBuffer.html?is-external=true" title="java.nio中的类或接口">LongBuffer</a>&nbsp;longs)</code>
<div class="block">Returns a new immutable bit set containing all the bits in the given long
buffer.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>从类继承的方法&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="java.lang中的类或接口">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="java.lang中的类或接口">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="java.lang中的类或接口">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="java.lang中的类或接口">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="java.lang中的类或接口">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="java.lang中的类或接口">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="java.lang中的类或接口">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="java.lang中的类或接口">wait</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable">
<!-- -->
</a>
<h3>从接口继承的方法&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach-java.util.function.Consumer-" title="java.lang中的类或接口">forEach</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#spliterator--" title="java.lang中的类或接口">spliterator</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>字段详细资料</h3>
<a name="COMPARATOR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COMPARATOR</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="java.util中的类或接口">Comparator</a>&lt;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt; COMPARATOR</pre>
<div class="block">Compares bit sets topologically, so that enclosing bit sets come first,
using natural ordering to break ties.</div>
</li>
</ul>
<a name="ORDERING">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ORDERING</h4>
<pre>public static final&nbsp;com.google.common.collect.Ordering&lt;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt; ORDERING</pre>
</li>
</ul>
<a name="FROM_BIT_SET">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>FROM_BIT_SET</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static final&nbsp;com.google.common.base.Function&lt;? super <a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="java.util中的类或接口">BitSet</a>,<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt; FROM_BIT_SET</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>方法详细资料</h3>
<a name="of--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>of</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;of()</pre>
<div class="block">Creates an ImmutableBitSet with no bits.</div>
</li>
</ul>
<a name="of-int...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>of</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;of(int...&nbsp;bits)</pre>
</li>
</ul>
<a name="of-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>of</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;of(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;&nbsp;bits)</pre>
</li>
</ul>
<a name="of-org.apache.calcite.util.ImmutableIntList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>of</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;of(<a href="../../../../org/apache/calcite/util/ImmutableIntList.html" title="org.apache.calcite.util中的类">ImmutableIntList</a>&nbsp;bits)</pre>
<div class="block">Creates an ImmutableBitSet with given bits set.
<p>For example, <code>of(ImmutableIntList.of(0, 3))</code> returns a bit
set with bits {0, 3} set.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>bits</code> - Collection of bits to set</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Bit set</dd>
</dl>
</li>
</ul>
<a name="valueOf-long...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueOf</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;valueOf(long...&nbsp;longs)</pre>
<div class="block">Returns a new immutable bit set containing all the bits in the given long
array.
<p>More precisely,
<blockquote><code>ImmutableBitSet.valueOf(longs).get(n)
== ((longs[n/64] &amp; (1L&lt;&lt;(n%64))) != 0)</code></blockquote>
<p>for all <code>n &lt; 64 * longs.length</code>.
<p>This method is equivalent to
<code>ImmutableBitSet.valueOf(LongBuffer.wrap(longs))</code>.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>longs</code> - a long array containing a little-endian representation
of a sequence of bits to be used as the initial bits of the
new bit set</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>a <code>ImmutableBitSet</code> containing all the bits in the long
array</dd>
</dl>
</li>
</ul>
<a name="valueOf-java.nio.LongBuffer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>valueOf</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;valueOf(<a href="https://docs.oracle.com/javase/8/docs/api/java/nio/LongBuffer.html?is-external=true" title="java.nio中的类或接口">LongBuffer</a>&nbsp;longs)</pre>
<div class="block">Returns a new immutable bit set containing all the bits in the given long
buffer.</div>
</li>
</ul>
<a name="fromBitSet-java.util.BitSet-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fromBitSet</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;fromBitSet(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="java.util中的类或接口">BitSet</a>&nbsp;input)</pre>
<div class="block">Returns a new immutable bit set containing all the bits in the given
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="java.util中的类或接口"><code>BitSet</code></a>.</div>
</li>
</ul>
<a name="range-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>range</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;range(int&nbsp;fromIndex,
int&nbsp;toIndex)</pre>
<div class="block">Creates an ImmutableBitSet with bits from <code>fromIndex</code> (inclusive) to
specified <code>toIndex</code> (exclusive) set to <code>true</code>.
<p>For example, <code>range(0, 3)</code> returns a bit set with bits
{0, 1, 2} set.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>fromIndex</code> - Index of the first bit to be set.</dd>
<dd><code>toIndex</code> - Index after the last bit to be set.</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Bit set</dd>
</dl>
</li>
</ul>
<a name="range-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>range</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;range(int&nbsp;toIndex)</pre>
<div class="block">Creates an ImmutableBitSet with bits between 0 and <code>toIndex</code> set.</div>
</li>
</ul>
<a name="powerSet--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>powerSet</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt;&nbsp;powerSet()</pre>
<div class="block">Computes the power set (set of all sets) of this bit set.</div>
</li>
</ul>
<a name="get-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;boolean&nbsp;get(int&nbsp;bitIndex)</pre>
<div class="block">Returns the value of the bit with the specified index. The value
is <code>true</code> if the bit with the index <code>bitIndex</code>
is currently set in this <code>ImmutableBitSet</code>; otherwise, the result
is <code>false</code>.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>bitIndex</code> - the bit index</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>the value of the bit with the specified index</dd>
<dt><span class="throwsLabel">抛出:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="java.lang中的类或接口">IndexOutOfBoundsException</a></code> - if the specified index is negative</dd>
</dl>
</li>
</ul>
<a name="get-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;get(int&nbsp;fromIndex,
int&nbsp;toIndex)</pre>
<div class="block">Returns a new <code>ImmutableBitSet</code>
composed of bits from this <code>ImmutableBitSet</code>
from <code>fromIndex</code> (inclusive) to <code>toIndex</code> (exclusive).</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>fromIndex</code> - index of the first bit to include</dd>
<dd><code>toIndex</code> - index after the last bit to include</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>a new <code>ImmutableBitSet</code> from a range of
this <code>ImmutableBitSet</code></dd>
<dt><span class="throwsLabel">抛出:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="java.lang中的类或接口">IndexOutOfBoundsException</a></code> - if <code>fromIndex</code> is negative,
or <code>toIndex</code> is negative, or <code>fromIndex</code> is
larger than <code>toIndex</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;toString()</pre>
<div class="block">Returns a string representation of this bit set. For every index
for which this <code>BitSet</code> contains a bit in the set
state, the decimal representation of that index is included in
the result. Such indices are listed in order from lowest to
highest, separated by ",&nbsp;" (a comma and a space) and
surrounded by braces, resulting in the usual mathematical
notation for a set of integers.
<p>Example:
<pre>
BitSet drPepper = new BitSet();</pre>
Now <code>drPepper.toString()</code> returns "<code>{}</code>".
<pre>
drPepper.set(2);</pre>
Now <code>drPepper.toString()</code> returns "<code>{2}</code>".
<pre>
drPepper.set(4);
drPepper.set(10);</pre>
Now <code>drPepper.toString()</code> returns "<code>{2, 4, 10}</code>".</div>
<dl>
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="java.lang中的类或接口">toString</a></code>&nbsp;在类中&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></code></dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>a string representation of this bit set</dd>
</dl>
</li>
</ul>
<a name="intersects-org.apache.calcite.util.ImmutableBitSet-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intersects</h4>
<pre>public&nbsp;boolean&nbsp;intersects(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;set)</pre>
<div class="block">Returns true if the specified <code>ImmutableBitSet</code> has any bits set to
<code>true</code> that are also set to <code>true</code> in this
<code>ImmutableBitSet</code>.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>set</code> - <code>ImmutableBitSet</code> to intersect with</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>boolean indicating whether this <code>ImmutableBitSet</code> intersects
the specified <code>ImmutableBitSet</code></dd>
</dl>
</li>
</ul>
<a name="cardinality--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cardinality</h4>
<pre>public&nbsp;int&nbsp;cardinality()</pre>
<div class="block">Returns the number of bits set to <code>true</code> in this
<code>ImmutableBitSet</code>.</div>
<dl>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#size--"><code>size()</code></a></dd>
</dl>
</li>
</ul>
<a name="hashCode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<div class="block">Returns the hash code value for this bit set. The hash code
depends only on which bits are set within this <code>ImmutableBitSet</code>.
<p>The hash code is defined using the same calculation as
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true#hashCode--" title="java.util中的类或接口"><code>BitSet.hashCode()</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="java.lang中的类或接口">hashCode</a></code>&nbsp;在类中&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></code></dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>the hash code value for this bit set</dd>
</dl>
</li>
</ul>
<a name="size--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>size</h4>
<pre>public&nbsp;int&nbsp;size()</pre>
<div class="block">Returns the number of bits of space actually in use by this
<code>ImmutableBitSet</code> to represent bit values.
The maximum element in the set is the size - 1st element.</div>
<dl>
<dt><span class="returnLabel">返回:</span></dt>
<dd>the number of bits currently in this bit set</dd>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#cardinality--"><code>cardinality()</code></a></dd>
</dl>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>&nbsp;obj)</pre>
<div class="block">Compares this object against the specified object.
The result is <code>true</code> if and only if the argument is
not <code>null</code> and is a <code>ImmutableBitSet</code> object that has
exactly the same set of bits set to <code>true</code> as this bit
set.</div>
<dl>
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="java.lang中的类或接口">equals</a></code>&nbsp;在类中&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></code></dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>obj</code> - the object to compare with</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd><code>true</code> if the objects are the same;
<code>false</code> otherwise</dd>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#size--"><code>size()</code></a></dd>
</dl>
</li>
</ul>
<a name="compareTo-org.apache.calcite.util.ImmutableBitSet-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compareTo</h4>
<pre>public&nbsp;int&nbsp;compareTo(<a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nonnull.html?is-external=true" title="javax.annotation中的类或接口">@Nonnull</a>
<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;o)</pre>
<div class="block">Compares this ImmutableBitSet with another, using a lexicographic
ordering.
<p>Bit sets <code>(), (0), (0, 1), (0, 1, 3), (1), (2, 3)</code> are in sorted
order.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true#compareTo-T-" title="java.lang中的类或接口">compareTo</a></code>&nbsp;在接口中&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="java.lang中的类或接口">Comparable</a>&lt;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="nextSetBit-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nextSetBit</h4>
<pre>public&nbsp;int&nbsp;nextSetBit(int&nbsp;fromIndex)</pre>
<div class="block">Returns the index of the first bit that is set to <code>true</code>
that occurs on or after the specified starting index. If no such
bit exists then <code>-1</code> is returned.
<p>Based upon <a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true#nextSetBit-int-" title="java.util中的类或接口"><code>BitSet.nextSetBit(int)</code></a>.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>fromIndex</code> - the index to start checking from (inclusive)</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>the index of the next set bit, or <code>-1</code> if there
is no such bit</dd>
<dt><span class="throwsLabel">抛出:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="java.lang中的类或接口">IndexOutOfBoundsException</a></code> - if the specified index is negative</dd>
</dl>
</li>
</ul>
<a name="nextClearBit-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nextClearBit</h4>
<pre>public&nbsp;int&nbsp;nextClearBit(int&nbsp;fromIndex)</pre>
<div class="block">Returns the index of the first bit that is set to <code>false</code>
that occurs on or after the specified starting index.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>fromIndex</code> - the index to start checking from (inclusive)</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>the index of the next clear bit</dd>
<dt><span class="throwsLabel">抛出:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="java.lang中的类或接口">IndexOutOfBoundsException</a></code> - if the specified index is negative</dd>
</dl>
</li>
</ul>
<a name="previousClearBit-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>previousClearBit</h4>
<pre>public&nbsp;int&nbsp;previousClearBit(int&nbsp;fromIndex)</pre>
<div class="block">Returns the index of the nearest bit that is set to <code>false</code>
that occurs on or before the specified starting index.
If no such bit exists, or if <code>-1</code> is given as the
starting index, then <code>-1</code> is returned.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>fromIndex</code> - the index to start checking from (inclusive)</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>the index of the previous clear bit, or <code>-1</code> if there
is no such bit</dd>
<dt><span class="throwsLabel">抛出:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="java.lang中的类或接口">IndexOutOfBoundsException</a></code> - if the specified index is less
than <code>-1</code></dd>
</dl>
</li>
</ul>
<a name="iterator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>iterator</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="java.util中的类或接口">Iterator</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;&nbsp;iterator()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#iterator--" title="java.lang中的类或接口">iterator</a></code>&nbsp;在接口中&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="toList--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toList</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;&nbsp;toList()</pre>
<div class="block">Converts this bit set to a list.</div>
</li>
</ul>
<a name="asList--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asList</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;&nbsp;asList()</pre>
<div class="block">Creates a view onto this bit set as a list of integers.
<p>The <code>cardinality</code> and <code>get</code> methods are both O(n), but
the iterator is efficient. The list is memory efficient, and the CPU cost
breaks even (versus <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html#toList--"><code>toList()</code></a>) if you intend to scan it only once.</div>
</li>
</ul>
<a name="asSet--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asSet</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="java.util中的类或接口">Set</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;&nbsp;asSet()</pre>
<div class="block">Creates a view onto this bit set as a set of integers.
<p>The <code>size</code> and <code>contains</code> methods are both O(n), but the
iterator is efficient.</div>
</li>
</ul>
<a name="toArray--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toArray</h4>
<pre>public&nbsp;int[]&nbsp;toArray()</pre>
<div class="block">Converts this bit set to an array.
<p>Each entry of the array is the ordinal of a set bit. The array is
sorted.</div>
<dl>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Array of set bits</dd>
</dl>
</li>
</ul>
<a name="toLongArray--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toLongArray</h4>
<pre>public&nbsp;long[]&nbsp;toLongArray()</pre>
<div class="block">Converts this bit set to an array of little-endian words.</div>
</li>
</ul>
<a name="union-java.util.BitSet-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>union</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;union(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="java.util中的类或接口">BitSet</a>&nbsp;other)</pre>
<div class="block">Returns the union of this immutable bit set with a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="java.util中的类或接口"><code>BitSet</code></a>.</div>
</li>
</ul>
<a name="union-org.apache.calcite.util.ImmutableBitSet-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>union</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;union(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;other)</pre>
<div class="block">Returns the union of this bit set with another.</div>
</li>
</ul>
<a name="union-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>union</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;union(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;? extends <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt;&nbsp;sets)</pre>
<div class="block">Returns the union of a number of bit sets.</div>
</li>
</ul>
<a name="except-org.apache.calcite.util.ImmutableBitSet-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>except</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;except(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;that)</pre>
<div class="block">Returns a bit set with all the bits in this set that are not in
another.</div>
<dl>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true#andNot-java.util.BitSet-" title="java.util中的类或接口"><code>BitSet.andNot(java.util.BitSet)</code></a></dd>
</dl>
</li>
</ul>
<a name="intersect-org.apache.calcite.util.ImmutableBitSet-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intersect</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;intersect(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;that)</pre>
<div class="block">Returns a bit set with all the bits set in both this set and in
another.</div>
<dl>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true#and-java.util.BitSet-" title="java.util中的类或接口"><code>BitSet.and(java.util.BitSet)</code></a></dd>
</dl>
</li>
</ul>
<a name="contains-org.apache.calcite.util.ImmutableBitSet-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>contains</h4>
<pre>public&nbsp;boolean&nbsp;contains(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;set1)</pre>
<div class="block">Returns true if all bits set in the second parameter are also set in the
first. In other words, whether x is a super-set of y.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>set1</code> - Bitmap to be checked</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Whether all bits in set1 are set in set0</dd>
</dl>
</li>
</ul>
<a name="indexOf-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public&nbsp;int&nbsp;indexOf(int&nbsp;bit)</pre>
<div class="block">The ordinal of a given bit, or -1 if it is not set.</div>
</li>
</ul>
<a name="closure-java.util.SortedMap-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>closure</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/SortedMap.html?is-external=true" title="java.util中的类或接口">SortedMap</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>,<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt;&nbsp;closure(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/SortedMap.html?is-external=true" title="java.util中的类或接口">SortedMap</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>,<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt;&nbsp;equivalence)</pre>
<div class="block">Computes the closure of a map from integers to bits.
<p>The input must have an entry for each position.
<p>Does not modify the input map or its bit sets.</div>
</li>
</ul>
<a name="length--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>length</h4>
<pre>public&nbsp;int&nbsp;length()</pre>
<div class="block">Returns the "logical size" of this <code>ImmutableBitSet</code>: the index of
the highest set bit in the <code>ImmutableBitSet</code> plus one. Returns zero
if the <code>ImmutableBitSet</code> contains no set bits.</div>
<dl>
<dt><span class="returnLabel">返回:</span></dt>
<dd>the logical size of this <code>ImmutableBitSet</code></dd>
</dl>
</li>
</ul>
<a name="isEmpty--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEmpty</h4>
<pre>public&nbsp;boolean&nbsp;isEmpty()</pre>
<div class="block">Returns true if this <code>ImmutableBitSet</code> contains no bits that are set
to <code>true</code>.</div>
</li>
</ul>
<a name="builder--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>builder</h4>
<pre>public static&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.Builder.html" title="org.apache.calcite.util中的类">ImmutableBitSet.Builder</a>&nbsp;builder()</pre>
<div class="block">Creates an empty Builder.</div>
</li>
</ul>
<a name="builder-org.apache.calcite.util.ImmutableBitSet-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>builder</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.Builder.html" title="org.apache.calcite.util中的类">ImmutableBitSet.Builder</a>&nbsp;builder(<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;bitSet)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="rebuild--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rebuild</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.Builder.html" title="org.apache.calcite.util中的类">ImmutableBitSet.Builder</a>&nbsp;rebuild()</pre>
<div class="block">Creates a Builder whose initial contents are the same as this
ImmutableBitSet.</div>
</li>
</ul>
<a name="nth-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nth</h4>
<pre>public&nbsp;int&nbsp;nth(int&nbsp;n)</pre>
<div class="block">Returns the <code>n</code>th set bit.</div>
<dl>
<dt><span class="throwsLabel">抛出:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="java.lang中的类或接口">IndexOutOfBoundsException</a></code> - if n is less than 0 or greater
than the number of bits set</dd>
</dl>
</li>
</ul>
<a name="set-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;set(int&nbsp;i)</pre>
<div class="block">Returns a bit set the same as this but with a given bit set.</div>
</li>
</ul>
<a name="set-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;set(int&nbsp;i,
boolean&nbsp;b)</pre>
<div class="block">Returns a bit set the same as this but with a given bit set (if b is
true) or unset (if b is false).</div>
</li>
</ul>
<a name="setIf-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIf</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;setIf(int&nbsp;bit,
boolean&nbsp;condition)</pre>
<div class="block">Returns a bit set the same as this but with a given bit set if condition
is true.</div>
</li>
</ul>
<a name="clear-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;clear(int&nbsp;i)</pre>
<div class="block">Returns a bit set the same as this but with a given bit cleared.</div>
</li>
</ul>
<a name="clearIf-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearIf</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;clearIf(int&nbsp;i,
boolean&nbsp;condition)</pre>
<div class="block">Returns a bit set the same as this but with a given bit cleared if
condition is true.</div>
</li>
</ul>
<a name="toBitSet--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toBitSet</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="java.util中的类或接口">BitSet</a>&nbsp;toBitSet()</pre>
<div class="block">Returns a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/BitSet.html?is-external=true" title="java.util中的类或接口"><code>BitSet</code></a> that has the same contents as this
<code>ImmutableBitSet</code>.</div>
</li>
</ul>
<a name="permute-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>permute</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;permute(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;&nbsp;map)</pre>
<div class="block">Permutes a bit set according to a given mapping.</div>
</li>
</ul>
<a name="permute-java.lang.Iterable-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>permute</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt;&nbsp;permute(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&gt;&nbsp;bitSets,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="java.util中的类或接口">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="java.lang中的类或接口">Integer</a>&gt;&nbsp;map)</pre>
<div class="block">Permutes a collection of bit sets according to a given mapping.</div>
</li>
</ul>
<a name="shift-int-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>shift</h4>
<pre>public&nbsp;<a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="org.apache.calcite.util中的类">ImmutableBitSet</a>&nbsp;shift(int&nbsp;offset)</pre>
<div class="block">Returns a bit set with every bit moved up <code>offset</code> positions.
Offset may be negative, but throws if any bit ends up negative.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="导航">
<li><a href="../../../../overview-summary.html">概览</a></li>
<li><a href="package-summary.html">程序包</a></li>
<li class="navBarCell1Rev"></li>
<li><a href="package-tree.html"></a></li>
<li><a href="../../../../deprecated-list.html">已过时</a></li>
<li><a href="../../../../index-all.html">索引</a></li>
<li><a href="../../../../help-doc.html">帮助</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/calcite/util/ImmutableBeans.StringDefault.html" title="org.apache.calcite.util中的注释"><span class="typeNameLink">上一个类</span></a></li>
<li><a href="../../../../org/apache/calcite/util/ImmutableBitSet.Builder.html" title="org.apache.calcite.util中的类"><span class="typeNameLink">下一个类</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/calcite/util/ImmutableBitSet.html" target="_top">框架</a></li>
<li><a href="ImmutableBitSet.html" target="_top">无框架</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">所有类</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>概要:&nbsp;</li>
<li><a href="#nested.class.summary">嵌套</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">字段</a>&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li><a href="#method.summary">方法</a></li>
</ul>
<ul class="subNavList">
<li>详细资料:&nbsp;</li>
<li><a href="#field.detail">字段</a>&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li><a href="#method.detail">方法</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &copy; 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p>
</body>
</html>