bitkey.small.html

来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 676 行 · 第 1/3 页

HTML
676
字号
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/BitKey.Small.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;o)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/BitKey.Small.html#get(int)">get</A></B>(int&nbsp;pos)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of the bit with the specified index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/BitKey.Small.html#hashCode()">hashCode</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/BitKey.Small.html#intersects(mondrian.rolap.BitKey)">intersects</A></B>(<A HREF="../../mondrian/rolap/BitKey.html" title="interface in mondrian.rolap">BitKey</A>&nbsp;bitKey)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether this BitKey has any bits in common with a given BitKey.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/BitKey.Small.html#isEmpty()">isEmpty</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this <code>BitKey</code> contains no bits that are set to <code>true</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/BitKey.Small.html#isSuperSetOf(mondrian.rolap.BitKey)">isSuperSetOf</A></B>(<A HREF="../../mondrian/rolap/BitKey.html" title="interface in mondrian.rolap">BitKey</A>&nbsp;bitKey)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Is every bit set in the parameter <code>bitKey</code> also set in <code>this</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A>&lt;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Integer.html" title="class or interface in java.lang">Integer</A>&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/BitKey.Small.html#iterator()">iterator</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To say that I am happy about this algorithm (or the variations of the algorithm used for the Mid128 and Big BitKey implementations) would be a stretch.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../mondrian/rolap/BitKey.html" title="interface in mondrian.rolap">BitKey</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/BitKey.Small.html#or(mondrian.rolap.BitKey)">or</A></B>(<A HREF="../../mondrian/rolap/BitKey.html" title="interface in mondrian.rolap">BitKey</A>&nbsp;bitKey)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Or the parameter <code>BitKey</code> with <code>this</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/BitKey.Small.html#set(int)">set</A></B>(int&nbsp;pos)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the bit at the specified index to <code>true</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/BitSet.html" title="class or interface in java.util">BitSet</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/BitKey.Small.html#toBitSet()">toBitSet</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <A HREF="http://java.sun.com/javase/6/docs/api/java/util/BitSet.html" title="class or interface in java.util"><CODE>BitSet</CODE></A> with the same contents as this BitKey.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/rolap/BitKey.Small.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_mondrian.rolap.BitKey.AbstractBitKey"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class mondrian.rolap.<A HREF="../../mondrian/rolap/BitKey.AbstractBitKey.html" title="class in mondrian.rolap">BitKey.AbstractBitKey</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../mondrian/rolap/BitKey.AbstractBitKey.html#bit(int)">bit</A>, <A HREF="../../mondrian/rolap/BitKey.AbstractBitKey.html#chunkCount(int)">chunkCount</A>, <A HREF="../../mondrian/rolap/BitKey.AbstractBitKey.html#chunkPos(int)">chunkPos</A>, <A HREF="../../mondrian/rolap/BitKey.AbstractBitKey.html#copyFromByte(java.util.BitSet, int, byte)">copyFromByte</A>, <A HREF="../../mondrian/rolap/BitKey.AbstractBitKey.html#copyFromLong(java.util.BitSet, int, long)">copyFromLong</A>, <A HREF="../../mondrian/rolap/BitKey.AbstractBitKey.html#createException(mondrian.rolap.BitKey)">createException</A>, <A HREF="../../mondrian/rolap/BitKey.AbstractBitKey.html#set(int, boolean)">set</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="set(int)"><!-- --></A><H3>set</H3><PRE>public void <B>set</B>(int&nbsp;pos)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/rolap/BitKey.html#set(int)">BitKey</A></CODE></B></DD><DD>Sets the bit at the specified index to <code>true</code>.<P><DD><DL></DL></DD></DL><HR><A NAME="get(int)"><!-- --></A><H3>get</H3><PRE>public boolean <B>get</B>(int&nbsp;pos)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/rolap/BitKey.html#get(int)">BitKey</A></CODE></B></DD><DD>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>BitKey</code>; otherwise, the result is <code>false</code>.<P><DD><DL></DL></DD></DL><HR><A NAME="clear(int)"><!-- --></A><H3>clear</H3><PRE>public void <B>clear</B>(int&nbsp;pos)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/rolap/BitKey.html#clear(int)">BitKey</A></CODE></B></DD><DD>Sets the bit specified by the index to <code>false</code>.<P><DD><DL></DL></DD></DL><HR><A NAME="clear()"><!-- --></A><H3>clear</H3><PRE>public void <B>clear</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/rolap/BitKey.html#clear()">BitKey</A></CODE></B></DD><DD>Sets all of the bits in this BitKey to <code>false</code>.<P><DD><DL></DL></DD></DL><HR><A NAME="or(mondrian.rolap.BitKey)"><!-- --></A><H3>or</H3><PRE>public <A HREF="../../mondrian/rolap/BitKey.html" title="interface in mondrian.rolap">BitKey</A> <B>or</B>(<A HREF="../../mondrian/rolap/BitKey.html" title="interface in mondrian.rolap">BitKey</A>&nbsp;bitKey)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/rolap/BitKey.html#or(mondrian.rolap.BitKey)">BitKey</A></CODE></B></DD><DD>Or the parameter <code>BitKey</code> with <code>this</code>.<P><DD><DL></DL></DD></DL><HR><A NAME="and(mondrian.rolap.BitKey)"><!-- --></A><H3>and</H3><PRE>public <A HREF="../../mondrian/rolap/BitKey.html" title="interface in mondrian.rolap">BitKey</A> <B>and</B>(<A HREF="../../mondrian/rolap/BitKey.html" title="interface in mondrian.rolap">BitKey</A>&nbsp;bitKey)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/rolap/BitKey.html#and(mondrian.rolap.BitKey)">BitKey</A></CODE></B></DD><DD>Returns the boolean AND of this bitkey and the given bitkey.<P><DD><DL></DL></DD></DL><HR><A NAME="andNot(mondrian.rolap.BitKey)"><!-- --></A><H3>andNot</H3><PRE>public <A HREF="../../mondrian/rolap/BitKey.html" title="interface in mondrian.rolap">BitKey</A> <B>andNot</B>(<A HREF="../../mondrian/rolap/BitKey.html" title="interface in mondrian.rolap">BitKey</A>&nbsp;bitKey)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/rolap/BitKey.html#andNot(mondrian.rolap.BitKey)">BitKey</A></CODE></B></DD><DD>Returns a <code>BitKey</code> containing all of the bits in this <code>BitSet</code> whose corresponding bit is NOT set in the specified <code>BitSet</code>.<P><DD><DL></DL></DD></DL><HR>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?