source: trunk/gsdl/packages/kea/kea-3.0/doc/Counter.html@ 8815

Last change on this file since 8815 was 8815, checked in by mdewsnip, 19 years ago

Kea 3.0, as downloaded from http://www.nzdl.org/kea but with CSTR_abstracts_test, CSTR_abstracts_train, Chinese_test, and Chinese_train directories removed.

  • Property svn:keywords set to Author Date Id Revision
File size: 9.6 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc on Fri Mar 19 17:50:48 NZDT 2004 -->
6<TITLE>
7Counter
8</TITLE>
9<META NAME="keywords" CONTENT="Counter,Counter class">
10<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
11</HEAD>
12<SCRIPT>
13function asd()
14{
15parent.document.title="Counter";
16}
17</SCRIPT>
18<BODY BGCOLOR="white" onload="asd();">
19
20<!-- ========== START OF NAVBAR ========== -->
21<A NAME="navbar_top"><!-- --></A>
22<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
23<TR>
24<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
25<A NAME="navbar_top_firstrow"><!-- --></A>
26<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
27 <TR ALIGN="center" VALIGN="top">
28 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
29&nbsp;</TD>
30 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
31 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
32 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
33 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
34 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
35 </TR>
36</TABLE>
37</TD>
38<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
39</EM>
40</TD>
41</TR>
42
43<TR>
44<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
45&nbsp;PREV CLASS&nbsp;
46&nbsp;<A HREF="GermanStemmer.html"><B>NEXT CLASS</B></A></FONT></TD>
47<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
48 <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
49&nbsp;<A HREF="Counter.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
50&nbsp;
51<SCRIPT>
52 <!--
53 if(window==top) {
54 document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
55 }
56 //-->
57</SCRIPT>
58<NOSCRIPT>
59<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
60</NOSCRIPT>
61</FONT></TD>
62</TR>
63<TR>
64<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
65 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
67DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
68</TR>
69</TABLE>
70<!-- =========== END OF NAVBAR =========== -->
71
72<HR>
73<!-- ======== START OF CLASS DATA ======== -->
74<H2>
75Class Counter</H2>
76<PRE>
77java.lang.Object
78 |
79 +--<B>Counter</B>
80</PRE>
81<DL>
82<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
83</DL>
84<HR>
85<DL>
86<DT>public class <B>Counter</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL>
87
88<P>
89Class that implements a simple counter.
90<P>
91
92<P>
93<DL>
94<DT><B>See Also:</B><DD><A HREF="serialized-form.html" TARGET="Counter">Serialized Form</A></DL>
95<HR>
96
97<P>
98<!-- ======== NESTED CLASS SUMMARY ======== -->
99
100
101<!-- =========== FIELD SUMMARY =========== -->
102
103
104<!-- ======== CONSTRUCTOR SUMMARY ======== -->
105
106<A NAME="constructor_summary"><!-- --></A>
107<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
108<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
109<TD COLSPAN=2><FONT SIZE="+2">
110<B>Constructor Summary</B></FONT></TD>
111</TR>
112<TR BGCOLOR="white" CLASS="TableRowColor">
113<TD><CODE><B><A HREF="Counter.html#Counter()">Counter</A></B>()</CODE>
114
115<BR>
116&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initializes the counter to 1</TD>
117</TR>
118<TR BGCOLOR="white" CLASS="TableRowColor">
119<TD><CODE><B><A HREF="Counter.html#Counter(int)">Counter</A></B>(int&nbsp;val)</CODE>
120
121<BR>
122&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initializes the counter to the given value</TD>
123</TR>
124</TABLE>
125&nbsp;
126<!-- ========== METHOD SUMMARY =========== -->
127
128<A NAME="method_summary"><!-- --></A>
129<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
130<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
131<TD COLSPAN=2><FONT SIZE="+2">
132<B>Method Summary</B></FONT></TD>
133</TR>
134<TR BGCOLOR="white" CLASS="TableRowColor">
135<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
136<CODE>&nbsp;void</CODE></FONT></TD>
137<TD><CODE><B><A HREF="Counter.html#increment()">increment</A></B>()</CODE>
138
139<BR>
140&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Increments the counter.</TD>
141</TR>
142<TR BGCOLOR="white" CLASS="TableRowColor">
143<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
144<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
145<TD><CODE><B><A HREF="Counter.html#toString()">toString</A></B>()</CODE>
146
147<BR>
148&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns string containing value.</TD>
149</TR>
150<TR BGCOLOR="white" CLASS="TableRowColor">
151<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
152<CODE>&nbsp;int</CODE></FONT></TD>
153<TD><CODE><B><A HREF="Counter.html#value()">value</A></B>()</CODE>
154
155<BR>
156&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the value.</TD>
157</TR>
158</TABLE>
159&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
160<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
161<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
162<TD><B>Methods inherited from class java.lang.Object</B></TD>
163</TR>
164<TR BGCOLOR="white" CLASS="TableRowColor">
165<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
166</TR>
167</TABLE>
168&nbsp;
169<P>
170
171<!-- ============ FIELD DETAIL =========== -->
172
173
174<!-- ========= CONSTRUCTOR DETAIL ======== -->
175
176<A NAME="constructor_detail"><!-- --></A>
177<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
178<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
179<TD COLSPAN=1><FONT SIZE="+2">
180<B>Constructor Detail</B></FONT></TD>
181</TR>
182</TABLE>
183
184<A NAME="Counter()"><!-- --></A><H3>
185Counter</H3>
186<PRE>
187public <B>Counter</B>()</PRE>
188<DL>
189<DD>Initializes the counter to 1
190<P>
191</DL>
192<HR>
193
194<A NAME="Counter(int)"><!-- --></A><H3>
195Counter</H3>
196<PRE>
197public <B>Counter</B>(int&nbsp;val)</PRE>
198<DL>
199<DD>Initializes the counter to the given value
200<P>
201</DL>
202
203<!-- ============ METHOD DETAIL ========== -->
204
205<A NAME="method_detail"><!-- --></A>
206<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
207<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
208<TD COLSPAN=1><FONT SIZE="+2">
209<B>Method Detail</B></FONT></TD>
210</TR>
211</TABLE>
212
213<A NAME="increment()"><!-- --></A><H3>
214increment</H3>
215<PRE>
216public void <B>increment</B>()</PRE>
217<DL>
218<DD>Increments the counter.
219<P>
220<DD><DL>
221</DL>
222</DD>
223<DD><DL>
224</DL>
225</DD>
226</DL>
227<HR>
228
229<A NAME="value()"><!-- --></A><H3>
230value</H3>
231<PRE>
232public int <B>value</B>()</PRE>
233<DL>
234<DD>Gets the value.
235<P>
236<DD><DL>
237</DL>
238</DD>
239<DD><DL>
240
241<DT><B>Returns:</B><DD>the value</DL>
242</DD>
243</DL>
244<HR>
245
246<A NAME="toString()"><!-- --></A><H3>
247toString</H3>
248<PRE>
249public java.lang.String <B>toString</B>()</PRE>
250<DL>
251<DD>Returns string containing value.
252<P>
253<DD><DL>
254<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
255</DD>
256<DD><DL>
257</DL>
258</DD>
259</DL>
260<!-- ========= END OF CLASS DATA ========= -->
261<HR>
262
263<!-- ========== START OF NAVBAR ========== -->
264<A NAME="navbar_bottom"><!-- --></A>
265<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
266<TR>
267<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
268<A NAME="navbar_bottom_firstrow"><!-- --></A>
269<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
270 <TR ALIGN="center" VALIGN="top">
271 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
272&nbsp;</TD>
273 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
274 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
275 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
276 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
277 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
278 </TR>
279</TABLE>
280</TD>
281<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
282</EM>
283</TD>
284</TR>
285
286<TR>
287<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
288&nbsp;PREV CLASS&nbsp;
289&nbsp;<A HREF="GermanStemmer.html"><B>NEXT CLASS</B></A></FONT></TD>
290<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
291 <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
292&nbsp;<A HREF="Counter.html" TARGET="_top"><B>NO FRAMES</B></A> &nbsp;
293&nbsp;
294<SCRIPT>
295 <!--
296 if(window==top) {
297 document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
298 }
299 //-->
300</SCRIPT>
301<NOSCRIPT>
302<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
303</NOSCRIPT>
304</FONT></TD>
305</TR>
306<TR>
307<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
308 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
309<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
310DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
311</TR>
312</TABLE>
313<!-- =========== END OF NAVBAR =========== -->
314
315<HR>
316
317</BODY>
318</HTML>
Note: See TracBrowser for help on using the repository browser.