objectpool.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 846 行 · 第 1/3 页
HTML
846 行
<BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/ObjectPool.html#chooseHighWaterMark(int, double)">chooseHighWaterMark</A></B>(int capacity, double maxLoad)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/ObjectPool.html#chooseLowWaterMark(int, double)">chooseLowWaterMark</A></B>(int capacity, double minLoad)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/ObjectPool.html#clear()">clear</A></B>()</CODE><BR> Removes all objects from the pool but keeps the current size of the internal storage.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/ObjectPool.html#contains(T)">contains</A></B>(<A HREF="../../mondrian/util/ObjectPool.html" title="type parameter in ObjectPool">T</A> key)</CODE><BR> Returns true it the Object is already in the ObjectPool and false otherwise.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/ObjectPool.html#equals(T, T)">equals</A></B>(<A HREF="../../mondrian/util/ObjectPool.html" title="type parameter in ObjectPool">T</A> t, <A HREF="../../mondrian/util/ObjectPool.html" title="type parameter in ObjectPool">T</A> key)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/ObjectPool.html#hash(T)">hash</A></B>(<A HREF="../../mondrian/util/ObjectPool.html" title="type parameter in ObjectPool">T</A> key)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/ObjectPool.html#indexOfInsertion(T)">indexOfInsertion</A></B>(<A HREF="../../mondrian/util/ObjectPool.html" title="type parameter in ObjectPool">T</A> key)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A><<A HREF="../../mondrian/util/ObjectPool.html" title="type parameter in ObjectPool">T</A>></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/ObjectPool.html#iterator()">iterator</A></B>()</CODE><BR> Returns an Iterator of this <code>ObjectPool</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/ObjectPool.html#nextPrime(int)">nextPrime</A></B>(int desiredCapacity)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/ObjectPool.html#rehash(int)">rehash</A></B>(int newCapacity)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/ObjectPool.html#setUp(int, double, double)">setUp</A></B>(int initialCapacity, double minLoadFactor, double maxLoadFactor)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/ObjectPool.html#size()">size</A></B>()</CODE><BR> Return the number of entries in the ObjectPool.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/util/ObjectPool.html#trimToSize()">trimToSize</A></B>()</CODE><BR> Reduce the size of the internal arrays to a size just big enough to hold the current set of entries.</TD></TR></TABLE> <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#equals(java.lang.Object)" title="class or interface in java.lang">equals</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#hashCode()" title="class or interface in java.lang">hashCode</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#toString()" title="class or interface in java.lang">toString</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> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="FREE"><!-- --></A><H3>FREE</H3><PRE>protected static final byte <B>FREE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.util.ObjectPool.FREE">Constant Field Values</A></DL></DL><HR><A NAME="FULL"><!-- --></A><H3>FULL</H3><PRE>protected static final byte <B>FULL</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.util.ObjectPool.FULL">Constant Field Values</A></DL></DL><HR><A NAME="DEFAULT_CAPACITY"><!-- --></A><H3>DEFAULT_CAPACITY</H3><PRE>protected static final int <B>DEFAULT_CAPACITY</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.util.ObjectPool.DEFAULT_CAPACITY">Constant Field Values</A></DL></DL><HR><A NAME="DEFAULT_MIN_LOAD_FACTOR"><!-- --></A><H3>DEFAULT_MIN_LOAD_FACTOR</H3><PRE>protected static final double <B>DEFAULT_MIN_LOAD_FACTOR</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.util.ObjectPool.DEFAULT_MIN_LOAD_FACTOR">Constant Field Values</A></DL></DL><HR><A NAME="DEFAULT_MAX_LOAD_FACTOR"><!-- --></A><H3>DEFAULT_MAX_LOAD_FACTOR</H3><PRE>protected static final double <B>DEFAULT_MAX_LOAD_FACTOR</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.util.ObjectPool.DEFAULT_MAX_LOAD_FACTOR">Constant Field Values</A></DL></DL><HR><A NAME="distinct"><!-- --></A><H3>distinct</H3><PRE>protected int <B>distinct</B></PRE><DL><DD>The number of distinct associations in the map; its "size()".<P><DL></DL></DL><HR><A NAME="highWaterMark"><!-- --></A><H3>highWaterMark</H3><PRE>protected int <B>highWaterMark</B></PRE><DL><DL></DL></DL><HR><A NAME="minLoadFactor"><!-- --></A><H3>minLoadFactor</H3><PRE>protected double <B>minLoadFactor</B></PRE><DL><DD>The minimum load factor for the hashtable.<P><DL></DL></DL><HR><A NAME="maxLoadFactor"><!-- --></A><H3>maxLoadFactor</H3><PRE>protected double <B>maxLoadFactor</B></PRE><DL><DD>The maximum load factor for the hashtable.<P><DL></DL></DL><HR><A NAME="values"><!-- --></A><H3>values</H3><PRE>protected <A HREF="../../mondrian/util/ObjectPool.html" title="type parameter in ObjectPool">T</A>[] <B>values</B></PRE><DL><DL></DL></DL><HR><A NAME="freeEntries"><!-- --></A><H3>freeEntries</H3><PRE>protected int <B>freeEntries</B></PRE><DL><DD>The number of table entries in state==FREE.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="ObjectPool()"><!-- --></A><H3>ObjectPool</H3><PRE>public <B>ObjectPool</B>()</PRE><DL></DL><HR><A NAME="ObjectPool(int)"><!-- --></A><H3>ObjectPool</H3><PRE>public <B>ObjectPool</B>(int initialCapacity)</PRE><DL></DL><HR><A NAME="ObjectPool(int, double, double)"><!-- --></A><H3>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?