1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
5 <!-- Generated by javadoc on Wed Jul 09 10:18:16 PDT 2003 -->
7 PC^
2: Class ProblemScoreData
9 <LINK REL =
"stylesheet" TYPE=
"text/css" HREF=
"../../stylesheet.css" TITLE=
"Style">
11 <BODY BGCOLOR=
"white">
13 <!-- ========== START OF NAVBAR ========== -->
14 <A NAME=
"navbar_top"><!-- --></A>
15 <TABLE BORDER=
"0" WIDTH=
"100%" CELLPADDING=
"1" CELLSPACING=
"0">
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> </TD>
22 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Class
</B></FONT> </TD>
23 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
24 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
25 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../index-all.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
26 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </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>
36 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
37 <A HREF=
"../../pc2/ex/JudgeClient.html"><B>PREV CLASS
</B></A>
38 <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>
41 <A HREF=
"ProblemScoreData.html" TARGET=
"_top"><B>NO FRAMES
</B></A></FONT></TD>
44 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
45 SUMMARY:
INNER
|
FIELD
|
<A HREF=
"#constructor_summary">CONSTR
</A> |
<A HREF=
"#method_summary">METHOD
</A></FONT></TD>
46 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
47 DETAIL:
FIELD
|
<A HREF=
"#constructor_detail">CONSTR
</A> |
<A HREF=
"#method_detail">METHOD
</A></FONT></TD>
50 <!-- =========== END OF NAVBAR =========== -->
53 <!-- ======== START OF CLASS DATA ======== -->
58 Class ProblemScoreData
</H2>
62 +--
<B>pc2.ex.ProblemScoreData
</B>
66 <DT>public class
<B>ProblemScoreData
</B><DT>extends java.lang.Object
</DL>
69 Holds Statistics for a Problem (per Problem/Client)
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>
88 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
89 <TD><CODE><B><A HREF=
"../../pc2/ex/ProblemScoreData.html#ProblemScoreData()">ProblemScoreData
</A></B>()
</CODE>
92 ProblemScoreData constructor comment.
</TD>
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>
104 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
105 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
106 <CODE> long
</CODE></FONT></TD>
107 <TD><CODE><B><A HREF=
"../../pc2/ex/ProblemScoreData.html#getAttempts()">getAttempts
</A></B>()
</CODE>
110 Return number of attempts for this problem.
</TD>
112 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
113 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
114 <CODE> long
</CODE></FONT></TD>
115 <TD><CODE><B><A HREF=
"../../pc2/ex/ProblemScoreData.html#getProblemID()">getProblemID
</A></B>()
</CODE>
118 return the Problem Number for this problem
</TD>
120 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
121 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
122 <CODE> long
</CODE></FONT></TD>
123 <TD><CODE><B><A HREF=
"../../pc2/ex/ProblemScoreData.html#getScore()">getScore
</A></B>()
</CODE>
126 Insert the method's description here.
</TD>
128 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
129 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
130 <CODE> long
</CODE></FONT></TD>
131 <TD><CODE><B><A HREF=
"../../pc2/ex/ProblemScoreData.html#getSolutionTime()">getSolutionTime
</A></B>()
</CODE>
134 return the solution time for this problem
</TD>
136 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
137 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
138 <CODE> boolean
</CODE></FONT></TD>
139 <TD><CODE><B><A HREF=
"../../pc2/ex/ProblemScoreData.html#isSolved()">isSolved
</A></B>()
</CODE>
142 has this Problem Been Solved?
</TD>
144 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
145 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
146 <CODE> void
</CODE></FONT></TD>
147 <TD><CODE><B><A HREF=
"../../pc2/ex/ProblemScoreData.html#setAttempts(long)">setAttempts
</A></B>(long
newAttempts)
</CODE>
150 Insert the method's description here.
</TD>
152 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
153 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
154 <CODE> void
</CODE></FONT></TD>
155 <TD><CODE><B><A HREF=
"../../pc2/ex/ProblemScoreData.html#setProblemID(long)">setProblemID
</A></B>(long
newProblemID)
</CODE>
158 Insert the method's description here.
</TD>
160 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
161 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
162 <CODE> void
</CODE></FONT></TD>
163 <TD><CODE><B><A HREF=
"../../pc2/ex/ProblemScoreData.html#setScore(long)">setScore
</A></B>(long
newScore)
</CODE>
166 Insert the method's description here.
</TD>
168 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
169 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
170 <CODE> void
</CODE></FONT></TD>
171 <TD><CODE><B><A HREF=
"../../pc2/ex/ProblemScoreData.html#setSolutionTime(long)">setSolutionTime
</A></B>(long
newSolutionTime)
</CODE>
174 Insert the method's description here.
</TD>
176 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
177 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
178 <CODE> void
</CODE></FONT></TD>
179 <TD><CODE><B><A HREF=
"../../pc2/ex/ProblemScoreData.html#setSolved(boolean)">setSolved
</A></B>(boolean
newSolved)
</CODE>
182 </TD>
185 <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>
190 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
191 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
</CODE></TD>
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>
210 <A NAME=
"ProblemScoreData()"><!-- --></A><H3>
211 ProblemScoreData
</H3>
213 public
<B>ProblemScoreData
</B>()
</PRE>
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>
227 <A NAME=
"getAttempts()"><!-- --></A><H3>
230 public long
<B>getAttempts
</B>()
</PRE>
232 <DD>Return number of attempts for this problem.
<DD><DL>
233 <DT><B>Returns:
</B><DD>long
</DL>
238 <A NAME=
"getProblemID()"><!-- --></A><H3>
241 public long
<B>getProblemID
</B>()
</PRE>
243 <DD>return the Problem Number for this problem
<DD><DL>
244 <DT><B>Returns:
</B><DD>long
</DL>
249 <A NAME=
"getScore()"><!-- --></A><H3>
252 public long
<B>getScore
</B>()
</PRE>
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>
261 <A NAME=
"getSolutionTime()"><!-- --></A><H3>
264 public long
<B>getSolutionTime
</B>()
</PRE>
266 <DD>return the solution time for this problem
<DD><DL>
267 <DT><B>Returns:
</B><DD>long
</DL>
272 <A NAME=
"isSolved()"><!-- --></A><H3>
275 public boolean
<B>isSolved
</B>()
</PRE>
277 <DD>has this Problem Been Solved?
<DD><DL>
278 <DT><B>Returns:
</B><DD>boolean
</DL>
283 <A NAME=
"setAttempts(long)"><!-- --></A><H3>
286 public void
<B>setAttempts
</B>(long
newAttempts)
</PRE>
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>
295 <A NAME=
"setProblemID(long)"><!-- --></A><H3>
298 public void
<B>setProblemID
</B>(long
newProblemID)
</PRE>
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>
307 <A NAME=
"setScore(long)"><!-- --></A><H3>
310 public void
<B>setScore
</B>(long
newScore)
</PRE>
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>
319 <A NAME=
"setSolutionTime(long)"><!-- --></A><H3>
322 public void
<B>setSolutionTime
</B>(long
newSolutionTime)
</PRE>
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>
331 <A NAME=
"setSolved(boolean)"><!-- --></A><H3>
334 public void
<B>setSolved
</B>(boolean
newSolved)
</PRE>
337 <DT><B>Parameters:
</B><DD><CODE>newSolved
</CODE> - boolean
</DL>
340 <!-- ========= END OF CLASS DATA ========= -->
343 <!-- ========== START OF NAVBAR ========== -->
344 <A NAME=
"navbar_bottom"><!-- --></A>
345 <TABLE BORDER=
"0" WIDTH=
"100%" CELLPADDING=
"1" CELLSPACING=
"0">
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> </TD>
352 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Class
</B></FONT> </TD>
353 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
354 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
355 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../index-all.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
356 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </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>
366 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
367 <A HREF=
"../../pc2/ex/JudgeClient.html"><B>PREV CLASS
</B></A>
368 <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>
371 <A HREF=
"ProblemScoreData.html" TARGET=
"_top"><B>NO FRAMES
</B></A></FONT></TD>
374 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
375 SUMMARY:
INNER
|
FIELD
|
<A HREF=
"#constructor_summary">CONSTR
</A> |
<A HREF=
"#method_summary">METHOD
</A></FONT></TD>
376 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
377 DETAIL:
FIELD
|
<A HREF=
"#constructor_detail">CONSTR
</A> |
<A HREF=
"#method_detail">METHOD
</A></FONT></TD>
380 <!-- =========== END OF NAVBAR =========== -->