1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
2 |
<!--NewPage--> |
3 |
<HTML> |
4 |
<HEAD> |
5 |
<!-- Generated by javadoc (build 1.4.2_06) on Mon Jul 25 11:24:18 JST 2005 --> |
6 |
<TITLE> |
7 |
NodeResultImpl (estraier) |
8 |
</TITLE> |
9 |
|
10 |
<META NAME="keywords" CONTENT="estraier.NodeResultImpl class"> |
11 |
|
12 |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
13 |
|
14 |
<SCRIPT type="text/javascript"> |
15 |
function windowTitle() |
16 |
{ |
17 |
parent.document.title="NodeResultImpl (estraier)"; |
18 |
} |
19 |
</SCRIPT> |
20 |
|
21 |
</HEAD> |
22 |
|
23 |
<BODY BGCOLOR="white" onload="windowTitle();"> |
24 |
|
25 |
|
26 |
<!-- ========= START OF TOP NAVBAR ======= --> |
27 |
<A NAME="navbar_top"><!-- --></A> |
28 |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
29 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
30 |
<TR> |
31 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
32 |
<A NAME="navbar_top_firstrow"><!-- --></A> |
33 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
34 |
<TR ALIGN="center" VALIGN="top"> |
35 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
36 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
37 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
38 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
39 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
40 |
</TR> |
41 |
</TABLE> |
42 |
</TD> |
43 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
44 |
</EM> |
45 |
</TD> |
46 |
</TR> |
47 |
|
48 |
<TR> |
49 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
50 |
<A HREF="../estraier/NodeResult.html" title="interface in estraier"><B>PREV CLASS</B></A> |
51 |
<A HREF="../estraier/ResultDocument.html" title="interface in estraier"><B>NEXT CLASS</B></A></FONT></TD> |
52 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
53 |
<A HREF="../index.html" target="_top"><B>FRAMES</B></A> |
54 |
<A HREF="NodeResultImpl.html" target="_top"><B>NO FRAMES</B></A> |
55 |
<SCRIPT type="text/javascript"> |
56 |
<!-- |
57 |
if(window==top) { |
58 |
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); |
59 |
} |
60 |
//--> |
61 |
</SCRIPT> |
62 |
<NOSCRIPT> |
63 |
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A> |
64 |
</NOSCRIPT> |
65 |
|
66 |
</FONT></TD> |
67 |
</TR> |
68 |
<TR> |
69 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
70 |
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
71 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
72 |
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
73 |
</TR> |
74 |
</TABLE> |
75 |
<A NAME="skip-navbar_top"></A> |
76 |
<!-- ========= END OF TOP NAVBAR ========= --> |
77 |
|
78 |
<HR> |
79 |
<!-- ======== START OF CLASS DATA ======== --> |
80 |
<H2> |
81 |
<FONT SIZE="-1"> |
82 |
estraier</FONT> |
83 |
<BR> |
84 |
Class NodeResultImpl</H2> |
85 |
<PRE> |
86 |
java.lang.Object |
87 |
<IMG SRC="../resources/inherit.gif" ALT="extended by"><B>estraier.NodeResultImpl</B> |
88 |
</PRE> |
89 |
<DL> |
90 |
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../estraier/NodeResult.html" title="interface in estraier">NodeResult</A></DD> |
91 |
</DL> |
92 |
<HR> |
93 |
<DL> |
94 |
<DT>public class <B>NodeResultImpl</B><DT>extends java.lang.Object<DT>implements <A HREF="../estraier/NodeResult.html" title="interface in estraier">NodeResult</A></DL> |
95 |
|
96 |
<P> |
97 |
Implementation of result set from P2P node. |
98 |
<P> |
99 |
|
100 |
<P> |
101 |
<HR> |
102 |
|
103 |
<P> |
104 |
<!-- ======== NESTED CLASS SUMMARY ======== --> |
105 |
|
106 |
|
107 |
<!-- =========== FIELD SUMMARY =========== --> |
108 |
|
109 |
|
110 |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> |
111 |
|
112 |
|
113 |
<!-- ========== METHOD SUMMARY =========== --> |
114 |
|
115 |
<A NAME="method_summary"><!-- --></A> |
116 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
117 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
118 |
<TD COLSPAN=2><FONT SIZE="+2"> |
119 |
<B>Method Summary</B></FONT></TD> |
120 |
</TR> |
121 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
122 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
123 |
<CODE> int</CODE></FONT></TD> |
124 |
<TD><CODE><B><A HREF="../estraier/NodeResultImpl.html#doc_num()">doc_num</A></B>()</CODE> |
125 |
|
126 |
<BR> |
127 |
Get the number of documents.</TD> |
128 |
</TR> |
129 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
130 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
131 |
<CODE> <A HREF="../estraier/ResultDocument.html" title="interface in estraier">ResultDocument</A></CODE></FONT></TD> |
132 |
<TD><CODE><B><A HREF="../estraier/NodeResultImpl.html#get_doc(int)">get_doc</A></B>(int index)</CODE> |
133 |
|
134 |
<BR> |
135 |
Get a result document object</TD> |
136 |
</TR> |
137 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
138 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
139 |
<CODE> java.lang.String</CODE></FONT></TD> |
140 |
<TD><CODE><B><A HREF="../estraier/NodeResultImpl.html#hint(java.lang.String)">hint</A></B>(java.lang.String key)</CODE> |
141 |
|
142 |
<BR> |
143 |
Get the value of hint information.</TD> |
144 |
</TR> |
145 |
</TABLE> |
146 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
147 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
148 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
149 |
<TD><B>Methods inherited from class java.lang.Object</B></TD> |
150 |
</TR> |
151 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
152 |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
153 |
</TR> |
154 |
</TABLE> |
155 |
|
156 |
<P> |
157 |
|
158 |
<!-- ============ FIELD DETAIL =========== --> |
159 |
|
160 |
|
161 |
<!-- ========= CONSTRUCTOR DETAIL ======== --> |
162 |
|
163 |
|
164 |
<!-- ============ METHOD DETAIL ========== --> |
165 |
|
166 |
<A NAME="method_detail"><!-- --></A> |
167 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
168 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
169 |
<TD COLSPAN=1><FONT SIZE="+2"> |
170 |
<B>Method Detail</B></FONT></TD> |
171 |
</TR> |
172 |
</TABLE> |
173 |
|
174 |
<A NAME="doc_num()"><!-- --></A><H3> |
175 |
doc_num</H3> |
176 |
<PRE> |
177 |
public int <B>doc_num</B>()</PRE> |
178 |
<DL> |
179 |
<DD><B>Description copied from interface: <CODE><A HREF="../estraier/NodeResult.html" title="interface in estraier">NodeResult</A></CODE></B></DD> |
180 |
<DD>Get the number of documents. |
181 |
<P> |
182 |
<DD><DL> |
183 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../estraier/NodeResult.html#doc_num()">doc_num</A></CODE> in interface <CODE><A HREF="../estraier/NodeResult.html" title="interface in estraier">NodeResult</A></CODE></DL> |
184 |
</DD> |
185 |
<DD><DL> |
186 |
|
187 |
<DT><B>Returns:</B><DD>the number of documents.</DL> |
188 |
</DD> |
189 |
</DL> |
190 |
<HR> |
191 |
|
192 |
<A NAME="get_doc(int)"><!-- --></A><H3> |
193 |
get_doc</H3> |
194 |
<PRE> |
195 |
public <A HREF="../estraier/ResultDocument.html" title="interface in estraier">ResultDocument</A> <B>get_doc</B>(int index)</PRE> |
196 |
<DL> |
197 |
<DD><B>Description copied from interface: <CODE><A HREF="../estraier/NodeResult.html" title="interface in estraier">NodeResult</A></CODE></B></DD> |
198 |
<DD>Get a result document object |
199 |
<P> |
200 |
<DD><DL> |
201 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../estraier/NodeResult.html#get_doc(int)">get_doc</A></CODE> in interface <CODE><A HREF="../estraier/NodeResult.html" title="interface in estraier">NodeResult</A></CODE></DL> |
202 |
</DD> |
203 |
<DD><DL> |
204 |
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of a document. |
205 |
<DT><B>Returns:</B><DD>a result document object or null if the index is out of bounds.</DL> |
206 |
</DD> |
207 |
</DL> |
208 |
<HR> |
209 |
|
210 |
<A NAME="hint(java.lang.String)"><!-- --></A><H3> |
211 |
hint</H3> |
212 |
<PRE> |
213 |
public java.lang.String <B>hint</B>(java.lang.String key)</PRE> |
214 |
<DL> |
215 |
<DD><B>Description copied from interface: <CODE><A HREF="../estraier/NodeResult.html" title="interface in estraier">NodeResult</A></CODE></B></DD> |
216 |
<DD>Get the value of hint information. |
217 |
<P> |
218 |
<DD><DL> |
219 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../estraier/NodeResult.html#hint(java.lang.String)">hint</A></CODE> in interface <CODE><A HREF="../estraier/NodeResult.html" title="interface in estraier">NodeResult</A></CODE></DL> |
220 |
</DD> |
221 |
<DD><DL> |
222 |
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the key of a hint. "VERSION", "NODE", "HIT", "HINT#n", "DOCNUM", "WORDNUM", |
223 |
"TIME", "LINK#n", and "VIEW" are provided for keys. |
224 |
<DT><B>Returns:</B><DD>the value of the hint or null if the key does not exist.</DL> |
225 |
</DD> |
226 |
</DL> |
227 |
<!-- ========= END OF CLASS DATA ========= --> |
228 |
<HR> |
229 |
|
230 |
|
231 |
<!-- ======= START OF BOTTOM NAVBAR ====== --> |
232 |
<A NAME="navbar_bottom"><!-- --></A> |
233 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
234 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
235 |
<TR> |
236 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
237 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
238 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
239 |
<TR ALIGN="center" VALIGN="top"> |
240 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
241 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
242 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
243 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
244 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
245 |
</TR> |
246 |
</TABLE> |
247 |
</TD> |
248 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
249 |
</EM> |
250 |
</TD> |
251 |
</TR> |
252 |
|
253 |
<TR> |
254 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
255 |
<A HREF="../estraier/NodeResult.html" title="interface in estraier"><B>PREV CLASS</B></A> |
256 |
<A HREF="../estraier/ResultDocument.html" title="interface in estraier"><B>NEXT CLASS</B></A></FONT></TD> |
257 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
258 |
<A HREF="../index.html" target="_top"><B>FRAMES</B></A> |
259 |
<A HREF="NodeResultImpl.html" target="_top"><B>NO FRAMES</B></A> |
260 |
<SCRIPT type="text/javascript"> |
261 |
<!-- |
262 |
if(window==top) { |
263 |
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); |
264 |
} |
265 |
//--> |
266 |
</SCRIPT> |
267 |
<NOSCRIPT> |
268 |
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A> |
269 |
</NOSCRIPT> |
270 |
|
271 |
</FONT></TD> |
272 |
</TR> |
273 |
<TR> |
274 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
275 |
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
276 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
277 |
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
278 |
</TR> |
279 |
</TABLE> |
280 |
<A NAME="skip-navbar_bottom"></A> |
281 |
<!-- ======== END OF BOTTOM NAVBAR ======= --> |
282 |
|
283 |
<HR> |
284 |
|
285 |
</BODY> |
286 |
</HTML> |