📄 cachednodes.html
字号:
<A HREF="../rtree/FileHdr.html" title="class in rtree">FileHdr</A> flHdr)</CODE>
<BR>
This one return <code>ReadNode</code> a read only node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../rtree/seeded/SdNode.html" title="class in rtree.seeded">SdNode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../rtree/CachedNodes.html#getSdNode(java.io.RandomAccessFile, java.lang.String, long, rtree.FileHdr)">getSdNode</A></B>(java.io.RandomAccessFile file, java.lang.String fileName, long lndIndex, <A HREF="../rtree/FileHdr.html" title="class in rtree">FileHdr</A> flHdr)</CODE>
<BR>
This one returns an existing <code>SdNode</code></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../rtree/seeded/SdNode.html" title="class in rtree.seeded">SdNode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../rtree/CachedNodes.html#getSdNode(java.io.RandomAccessFile, java.lang.String, long, int, rtree.FileHdr)">getSdNode</A></B>(java.io.RandomAccessFile file, java.lang.String fileName, long parentIndex, int elmtType, <A HREF="../rtree/FileHdr.html" title="class in rtree">FileHdr</A> flHdr)</CODE>
<BR>
This one returns an existing <code>SdNode</code>.</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="../rtree/CachedNodes.html#getSize()">getSize</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../rtree/CachedNodes.html#remove(java.lang.String, long)">remove</A></B>(java.lang.String fileName, long ndIndex)</CODE>
<BR>
This method would be called only by those threads that need to modify the tree.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../rtree/CachedNodes.html#removeAll()">removeAll</A></B>()</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="../rtree/CachedNodes.html#setCacheSize(int)">setCacheSize</A></B>(int size)</CODE>
<BR>
</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">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</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">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="NODE"><!-- --></A><H3>
NODE</H3>
<PRE>
private static final int <B>NODE</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#rtree.CachedNodes.NODE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="SDNODE"><!-- --></A><H3>
SDNODE</H3>
<PRE>
private static final int <B>SDNODE</B></PRE>
<DL>
<DL>
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#rtree.CachedNodes.SDNODE">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="cache"><!-- --></A><H3>
cache</H3>
<PRE>
java.util.Hashtable <B>cache</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="buffHeader"><!-- --></A><H3>
buffHeader</H3>
<PRE>
<A HREF="../rtree/BufferHeader.html" title="class in rtree">BufferHeader</A> <B>buffHeader</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="size"><!-- --></A><H3>
size</H3>
<PRE>
int <B>size</B></PRE>
<DL>
<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">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="CachedNodes()"><!-- --></A><H3>
CachedNodes</H3>
<PRE>
<B>CachedNodes</B>()</PRE>
<DL>
</DL>
<HR>
<A NAME="CachedNodes(int)"><!-- --></A><H3>
CachedNodes</H3>
<PRE>
<B>CachedNodes</B>(int size)</PRE>
<DL>
<DD>This one is still under construction.
<P>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="setCacheSize(int)"><!-- --></A><H3>
setCacheSize</H3>
<PRE>
public void <B>setCacheSize</B>(int size) throws <A HREF="../rtree/NodeWriteException.html" title="class in rtree">NodeWriteException</A></PRE>
<DL>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../rtree/NodeWriteException.html" title="class in rtree">NodeWriteException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getSize()"><!-- --></A><H3>
getSize</H3>
<PRE>
public int <B>getSize</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getNode(java.io.RandomAccessFile, java.lang.String, long, rtree.FileHdr, int)"><!-- --></A><H3>
getNode</H3>
<PRE>
private <A HREF="../rtree/Node.html" title="class in rtree">Node</A> <B>getNode</B>(java.io.RandomAccessFile file, java.lang.String fileName, long lndIndex, <A HREF="../rtree/FileHdr.html" title="class in rtree">FileHdr</A> flHdr, int type) throws <A HREF="../rtree/IllegalValueException.html" title="class in rtree">IllegalValueException</A>, <A HREF="../rtree/NodeReadException.html" title="class in rtree">NodeReadException</A>, java.io.FileNotFoundException, java.io.IOException, <A HREF="../rtree/NodeWriteException.html" title="class in rtree">NodeWriteException</A></PRE>
<DL>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../rtree/IllegalValueException.html" title="class in rtree">IllegalValueException</A></CODE><DD><CODE><A HREF="../rtree/NodeReadException.html" title="class in rtree">NodeReadException</A></CODE><DD><CODE>java.io.FileNotFoundException</CODE><DD><CODE>java.io.IOException</CODE><DD><CODE><A HREF="../rtree/NodeWriteException.html" title="class in rtree">NodeWriteException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getNode(java.io.RandomAccessFile, java.lang.String, long, int, rtree.FileHdr, int)"><!-- --></A><H3>
getNode</H3>
<PRE>
private <A HREF="../rtree/Node.html" title="class in rtree">Node</A> <B>getNode</B>(java.io.RandomAccessFile file, java.lang.String fileName, long parentIndex, int elmtType, <A HREF="../rtree/FileHdr.html" title="class in rtree">FileHdr</A> flHdr, int type) throws <A HREF="../rtree/IllegalValueException.html" title="class in rtree">IllegalValueException</A>, <A HREF="../rtree/NodeReadException.html" title="class in rtree">NodeReadException</A>, java.io.FileNotFoundException, java.io.IOException, <A HREF="../rtree/NodeWriteException.html" title="class in rtree">NodeWriteException</A></PRE>
<DL>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../rtree/IllegalValueException.html" title="class in rtree">IllegalValueException</A></CODE><DD><CODE><A HREF="../rtree/NodeReadException.html" title="class in rtree">NodeReadException</A></CODE><DD><CODE>java.io.FileNotFoundException</CODE><DD><CODE>java.io.IOException</CODE><DD><CODE><A HREF="../rtree/NodeWriteException.html" title="class in rtree">NodeWriteException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getSdNode(java.io.RandomAccessFile, java.lang.String, long, rtree.FileHdr)"><!-- --></A><H3>
getSdNode</H3>
<PRE>
public <A HREF="../rtree/seeded/SdNode.html" title="class in rtree.seeded">SdNode</A> <B>getSdNode</B>(java.io.RandomAccessFile file, java.lang.String fileName, long lndIndex, <A HREF="../rtree/FileHdr.html" title="class in rtree">FileHdr</A> flHdr) throws <A HREF="../rtree/IllegalValueException.html" title="class in rtree">IllegalValueException</A>, <A HREF="../rtree/NodeReadException.html" title="class in rtree">NodeReadException</A>, java.io.FileNotFoundException, java.io.IOException, <A HREF="../rtree/NodeWriteException.html" title="class in rtree">NodeWriteException</A></PRE>
<DL>
<DD>This one returns an existing <code>SdNode</code>
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../rtree/IllegalValueException.html" title="class in rtree">IllegalValueException</A></CODE><DD><CODE><A HREF="../rtree/NodeReadException.html" title="class in rtree">NodeReadException</A></CODE><DD><CODE>java.io.FileNotFoundException</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -