📄 leaf.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Fri Dec 10 11:43:55 GMT+02:00 1999 -->
<TITLE>
RTree: Class Leaf
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Leaf.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../rtree/Index.html"><B>PREV CLASS</B></A>
<A HREF="../rtree/MemoryPageFile.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="Leaf.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A HREF="#fields_inherited_from_class_rtree.AbstractNode">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
rtree</FONT>
<BR>
Class Leaf</H2>
<PRE>
java.lang.Object
|
+--<A HREF="../rtree/AbstractNode.html">rtree.AbstractNode</A>
|
+--<B>rtree.Leaf</B>
</PRE>
<HR>
<DL>
<DT>public class <B>Leaf</B><DT>extends <A HREF="../rtree/AbstractNode.html">AbstractNode</A></DL>
<P>
A Leaf node. Containts pointers to the real data. <p> Created: Tue May 18 13:04:08 1999 <p>
<P>
<DL>
<DT><B>Version: </B><DD>1.002</DD>
<DT><B>Author: </B><DD>Hadjieleftheriou Marios</DD>
</DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="fields_inherited_from_class_rtree.AbstractNode"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class rtree.<A HREF="../rtree/AbstractNode.html">AbstractNode</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../rtree/AbstractNode.html#branches">branches</A>,
<A HREF="../rtree/AbstractNode.html#data">data</A>,
<A HREF="../rtree/AbstractNode.html#level">level</A>,
<A HREF="../rtree/AbstractNode.html#pageNumber">pageNumber</A>,
<A HREF="../rtree/AbstractNode.html#parent">parent</A>,
<A HREF="../rtree/AbstractNode.html#tree">tree</A>,
<A HREF="../rtree/AbstractNode.html#usedSpace">usedSpace</A></CODE></TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected </CODE></FONT></TD>
<TD><CODE><B><A HREF="../rtree/Leaf.html#Leaf(rtree.RTree, int)">Leaf</A></B>(<A HREF="../rtree/RTree.html">RTree</A> tree, int parent)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected </CODE></FONT></TD>
<TD><CODE><B><A HREF="../rtree/Leaf.html#Leaf(rtree.RTree, int, int)">Leaf</A></B>(<A HREF="../rtree/RTree.html">RTree</A> tree, int parent, int pageNumber)</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="../rtree/Leaf.html">Leaf</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../rtree/Leaf.html#chooseLeaf(rtree.HyperCube)">chooseLeaf</A></B>(<A HREF="../rtree/HyperCube.html">HyperCube</A> h)</CODE>
<BR>
chooseLeaf finds the most appropriate leaf where the given HyperCube should be stored.</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="../rtree/Leaf.html#delete(rtree.HyperCube)">delete</A></B>(<A HREF="../rtree/HyperCube.html">HyperCube</A> h)</CODE>
<BR>
Deletes an entry for the leaf. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="../rtree/Leaf.html">Leaf</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../rtree/Leaf.html#findLeaf(rtree.HyperCube)">findLeaf</A></B>(<A HREF="../rtree/HyperCube.html">HyperCube</A> h)</CODE>
<BR>
findLeaf returns the leaf that contains the given hypercube, null if the hypercube is not contained in any of the leaves of this node.</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/Leaf.html#getDataPointer(int)">getDataPointer</A></B>(int i)</CODE>
<BR>
Returns the pointer of the <i>i-th</i> data entry.</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="../rtree/Leaf.html#insert(rtree.HyperCube, int)">insert</A></B>(<A HREF="../rtree/HyperCube.html">HyperCube</A> h, int page)</CODE>
<BR>
Inserts a new HyperCube into the Leaf. </TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_rtree.AbstractNode"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class rtree.<A HREF="../rtree/AbstractNode.html">AbstractNode</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../rtree/AbstractNode.html#addData(rtree.AbstractNode)">addData</A>,
<A HREF="../rtree/AbstractNode.html#addData(rtree.HyperCube, int)">addData</A>,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -