Removing uneeded file.
[and.git] / PC^2 / pc2board / doc / pc2ex / pc2 / ex / ProblemScoreData.html
blob6b650154933920aeda50a553abc23ba3d1c5916e
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc on Wed Jul 09 10:18:16 PDT 2003 -->
6 <TITLE>
7 PC^2: Class ProblemScoreData
8 </TITLE>
9 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
10 </HEAD>
11 <BODY BGCOLOR="white">
13 <!-- ========== START OF NAVBAR ========== -->
14 <A NAME="navbar_top"><!-- --></A>
15 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
16 <TR>
17 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
18 <A NAME="navbar_top_firstrow"><!-- --></A>
19 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
20 <TR ALIGN="center" VALIGN="top">
21 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
22 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
23 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
24 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
25 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
26 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
27 </TR>
28 </TABLE>
29 </TD>
30 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
31 Questions? <A HREf=mailto:pc2@ecs.csus.edu>Send mail to PC<sup>2</sup></a></EM>
32 </TD>
33 </TR>
35 <TR>
36 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
37 &nbsp;<A HREF="../../pc2/ex/JudgeClient.html"><B>PREV CLASS</B></A>&nbsp;
38 &nbsp;<A HREF="../../pc2/ex/RunInfoAndFiles.html"><B>NEXT CLASS</B></A></FONT></TD>
39 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
40 <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
41 &nbsp;<A HREF="ProblemScoreData.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
42 </TR>
43 <TR>
44 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
45 SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
46 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
47 DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
48 </TR>
49 </TABLE>
50 <!-- =========== END OF NAVBAR =========== -->
52 <HR>
53 <!-- ======== START OF CLASS DATA ======== -->
54 <H2>
55 <FONT SIZE="-1">
56 pc2.ex</FONT>
57 <BR>
58 Class ProblemScoreData</H2>
59 <PRE>
60 java.lang.Object
62 +--<B>pc2.ex.ProblemScoreData</B>
63 </PRE>
64 <HR>
65 <DL>
66 <DT>public class <B>ProblemScoreData</B><DT>extends java.lang.Object</DL>
68 <P>
69 Holds Statistics for a Problem (per Problem/Client)
70 <P>
71 <HR>
73 <P>
74 <!-- ======== INNER CLASS SUMMARY ======== -->
77 <!-- =========== FIELD SUMMARY =========== -->
80 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
82 <A NAME="constructor_summary"><!-- --></A>
83 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
84 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
85 <TD COLSPAN=2><FONT SIZE="+2">
86 <B>Constructor Summary</B></FONT></TD>
87 </TR>
88 <TR BGCOLOR="white" CLASS="TableRowColor">
89 <TD><CODE><B><A HREF="../../pc2/ex/ProblemScoreData.html#ProblemScoreData()">ProblemScoreData</A></B>()</CODE>
91 <BR>
92 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ProblemScoreData constructor comment.</TD>
93 </TR>
94 </TABLE>
95 &nbsp;
96 <!-- ========== METHOD SUMMARY =========== -->
98 <A NAME="method_summary"><!-- --></A>
99 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
100 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
101 <TD COLSPAN=2><FONT SIZE="+2">
102 <B>Method Summary</B></FONT></TD>
103 </TR>
104 <TR BGCOLOR="white" CLASS="TableRowColor">
105 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
106 <CODE>&nbsp;long</CODE></FONT></TD>
107 <TD><CODE><B><A HREF="../../pc2/ex/ProblemScoreData.html#getAttempts()">getAttempts</A></B>()</CODE>
109 <BR>
110 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return number of attempts for this problem.</TD>
111 </TR>
112 <TR BGCOLOR="white" CLASS="TableRowColor">
113 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
114 <CODE>&nbsp;long</CODE></FONT></TD>
115 <TD><CODE><B><A HREF="../../pc2/ex/ProblemScoreData.html#getProblemID()">getProblemID</A></B>()</CODE>
117 <BR>
118 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return the Problem Number for this problem</TD>
119 </TR>
120 <TR BGCOLOR="white" CLASS="TableRowColor">
121 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
122 <CODE>&nbsp;long</CODE></FONT></TD>
123 <TD><CODE><B><A HREF="../../pc2/ex/ProblemScoreData.html#getScore()">getScore</A></B>()</CODE>
125 <BR>
126 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Insert the method's description here.</TD>
127 </TR>
128 <TR BGCOLOR="white" CLASS="TableRowColor">
129 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
130 <CODE>&nbsp;long</CODE></FONT></TD>
131 <TD><CODE><B><A HREF="../../pc2/ex/ProblemScoreData.html#getSolutionTime()">getSolutionTime</A></B>()</CODE>
133 <BR>
134 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return the solution time for this problem</TD>
135 </TR>
136 <TR BGCOLOR="white" CLASS="TableRowColor">
137 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
138 <CODE>&nbsp;boolean</CODE></FONT></TD>
139 <TD><CODE><B><A HREF="../../pc2/ex/ProblemScoreData.html#isSolved()">isSolved</A></B>()</CODE>
141 <BR>
142 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;has this Problem Been Solved?</TD>
143 </TR>
144 <TR BGCOLOR="white" CLASS="TableRowColor">
145 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
146 <CODE>&nbsp;void</CODE></FONT></TD>
147 <TD><CODE><B><A HREF="../../pc2/ex/ProblemScoreData.html#setAttempts(long)">setAttempts</A></B>(long&nbsp;newAttempts)</CODE>
149 <BR>
150 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Insert the method's description here.</TD>
151 </TR>
152 <TR BGCOLOR="white" CLASS="TableRowColor">
153 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154 <CODE>&nbsp;void</CODE></FONT></TD>
155 <TD><CODE><B><A HREF="../../pc2/ex/ProblemScoreData.html#setProblemID(long)">setProblemID</A></B>(long&nbsp;newProblemID)</CODE>
157 <BR>
158 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Insert the method's description here.</TD>
159 </TR>
160 <TR BGCOLOR="white" CLASS="TableRowColor">
161 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
162 <CODE>&nbsp;void</CODE></FONT></TD>
163 <TD><CODE><B><A HREF="../../pc2/ex/ProblemScoreData.html#setScore(long)">setScore</A></B>(long&nbsp;newScore)</CODE>
165 <BR>
166 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Insert the method's description here.</TD>
167 </TR>
168 <TR BGCOLOR="white" CLASS="TableRowColor">
169 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
170 <CODE>&nbsp;void</CODE></FONT></TD>
171 <TD><CODE><B><A HREF="../../pc2/ex/ProblemScoreData.html#setSolutionTime(long)">setSolutionTime</A></B>(long&nbsp;newSolutionTime)</CODE>
173 <BR>
174 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Insert the method's description here.</TD>
175 </TR>
176 <TR BGCOLOR="white" CLASS="TableRowColor">
177 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
178 <CODE>&nbsp;void</CODE></FONT></TD>
179 <TD><CODE><B><A HREF="../../pc2/ex/ProblemScoreData.html#setSolved(boolean)">setSolved</A></B>(boolean&nbsp;newSolved)</CODE>
181 <BR>
182 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
183 </TR>
184 </TABLE>
185 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
186 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
187 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
188 <TD><B>Methods inherited from class java.lang.Object</B></TD>
189 </TR>
190 <TR BGCOLOR="white" CLASS="TableRowColor">
191 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
192 </TR>
193 </TABLE>
194 &nbsp;
197 <!-- ============ FIELD DETAIL =========== -->
200 <!-- ========= CONSTRUCTOR DETAIL ======== -->
202 <A NAME="constructor_detail"><!-- --></A>
203 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
204 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
205 <TD COLSPAN=1><FONT SIZE="+2">
206 <B>Constructor Detail</B></FONT></TD>
207 </TR>
208 </TABLE>
210 <A NAME="ProblemScoreData()"><!-- --></A><H3>
211 ProblemScoreData</H3>
212 <PRE>
213 public <B>ProblemScoreData</B>()</PRE>
214 <DL>
215 <DD>ProblemScoreData constructor comment.</DL>
217 <!-- ============ METHOD DETAIL ========== -->
219 <A NAME="method_detail"><!-- --></A>
220 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
221 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
222 <TD COLSPAN=1><FONT SIZE="+2">
223 <B>Method Detail</B></FONT></TD>
224 </TR>
225 </TABLE>
227 <A NAME="getAttempts()"><!-- --></A><H3>
228 getAttempts</H3>
229 <PRE>
230 public long <B>getAttempts</B>()</PRE>
231 <DL>
232 <DD>Return number of attempts for this problem.<DD><DL>
233 <DT><B>Returns:</B><DD>long</DL>
234 </DD>
235 </DL>
236 <HR>
238 <A NAME="getProblemID()"><!-- --></A><H3>
239 getProblemID</H3>
240 <PRE>
241 public long <B>getProblemID</B>()</PRE>
242 <DL>
243 <DD>return the Problem Number for this problem<DD><DL>
244 <DT><B>Returns:</B><DD>long</DL>
245 </DD>
246 </DL>
247 <HR>
249 <A NAME="getScore()"><!-- --></A><H3>
250 getScore</H3>
251 <PRE>
252 public long <B>getScore</B>()</PRE>
253 <DL>
254 <DD>Insert the method's description here.
255 Creation date: (8/11/2002 12:07:36 PM)<DD><DL>
256 <DT><B>Returns:</B><DD>long</DL>
257 </DD>
258 </DL>
259 <HR>
261 <A NAME="getSolutionTime()"><!-- --></A><H3>
262 getSolutionTime</H3>
263 <PRE>
264 public long <B>getSolutionTime</B>()</PRE>
265 <DL>
266 <DD>return the solution time for this problem<DD><DL>
267 <DT><B>Returns:</B><DD>long</DL>
268 </DD>
269 </DL>
270 <HR>
272 <A NAME="isSolved()"><!-- --></A><H3>
273 isSolved</H3>
274 <PRE>
275 public boolean <B>isSolved</B>()</PRE>
276 <DL>
277 <DD>has this Problem Been Solved?<DD><DL>
278 <DT><B>Returns:</B><DD>boolean</DL>
279 </DD>
280 </DL>
281 <HR>
283 <A NAME="setAttempts(long)"><!-- --></A><H3>
284 setAttempts</H3>
285 <PRE>
286 public void <B>setAttempts</B>(long&nbsp;newAttempts)</PRE>
287 <DL>
288 <DD>Insert the method's description here.
289 Creation date: (8/11/2002 12:07:36 PM)<DD><DL>
290 <DT><B>Parameters:</B><DD><CODE>newAttempts</CODE> - long</DL>
291 </DD>
292 </DL>
293 <HR>
295 <A NAME="setProblemID(long)"><!-- --></A><H3>
296 setProblemID</H3>
297 <PRE>
298 public void <B>setProblemID</B>(long&nbsp;newProblemID)</PRE>
299 <DL>
300 <DD>Insert the method's description here.
301 Creation date: (8/11/2002 12:07:36 PM)<DD><DL>
302 <DT><B>Parameters:</B><DD><CODE>newProblemID</CODE> - long</DL>
303 </DD>
304 </DL>
305 <HR>
307 <A NAME="setScore(long)"><!-- --></A><H3>
308 setScore</H3>
309 <PRE>
310 public void <B>setScore</B>(long&nbsp;newScore)</PRE>
311 <DL>
312 <DD>Insert the method's description here.
313 Creation date: (8/11/2002 12:07:36 PM)<DD><DL>
314 <DT><B>Parameters:</B><DD><CODE>newScore</CODE> - long</DL>
315 </DD>
316 </DL>
317 <HR>
319 <A NAME="setSolutionTime(long)"><!-- --></A><H3>
320 setSolutionTime</H3>
321 <PRE>
322 public void <B>setSolutionTime</B>(long&nbsp;newSolutionTime)</PRE>
323 <DL>
324 <DD>Insert the method's description here.
325 Creation date: (8/11/2002 12:07:36 PM)<DD><DL>
326 <DT><B>Parameters:</B><DD><CODE>newSolutionTime</CODE> - long</DL>
327 </DD>
328 </DL>
329 <HR>
331 <A NAME="setSolved(boolean)"><!-- --></A><H3>
332 setSolved</H3>
333 <PRE>
334 public void <B>setSolved</B>(boolean&nbsp;newSolved)</PRE>
335 <DL>
336 <DD><DL>
337 <DT><B>Parameters:</B><DD><CODE>newSolved</CODE> - boolean</DL>
338 </DD>
339 </DL>
340 <!-- ========= END OF CLASS DATA ========= -->
341 <HR>
343 <!-- ========== START OF NAVBAR ========== -->
344 <A NAME="navbar_bottom"><!-- --></A>
345 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
346 <TR>
347 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
348 <A NAME="navbar_bottom_firstrow"><!-- --></A>
349 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
350 <TR ALIGN="center" VALIGN="top">
351 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
352 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
353 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
354 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
355 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
356 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
357 </TR>
358 </TABLE>
359 </TD>
360 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
361 Questions? <A HREf=mailto:pc2@ecs.csus.edu>Send mail to PC<sup>2</sup></a></EM>
362 </TD>
363 </TR>
365 <TR>
366 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
367 &nbsp;<A HREF="../../pc2/ex/JudgeClient.html"><B>PREV CLASS</B></A>&nbsp;
368 &nbsp;<A HREF="../../pc2/ex/RunInfoAndFiles.html"><B>NEXT CLASS</B></A></FONT></TD>
369 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
370 <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> &nbsp;
371 &nbsp;<A HREF="ProblemScoreData.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
372 </TR>
373 <TR>
374 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
375 SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
376 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
377 DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
378 </TR>
379 </TABLE>
380 <!-- =========== END OF NAVBAR =========== -->
382 <HR>
384 </BODY>
385 </HTML>