01: package method;
02:
03: import java.awt.Button;
04: import java.util.Set;
05: import java.util.Vector;
06:
07: /**
08: * Description of the Class
09: *
10: *@author Chris Seguin
11: */
12: public abstract class Parent {
13: /**
14: * Description of the Field
15: */
16: protected long total = 0;
17: private Button next;
18: private int count;
19:
20: /**
21: * Description of the Method
22: */
23: public void set() {
24: count++;
25: reset();
26: }
27:
28: /**
29: * Sets the SleepTime attribute of the Parent object
30: *
31: *@param time The new SleepTime value
32: */
33: public abstract void setSleepTime(long time);
34:
35: /**
36: * Description of the Method
37: *
38: *@return Description of the Returned Value
39: */
40: public Set get() {
41: return new Vector();
42: }
43:
44: /**
45: * Description of the Method
46: *
47: *@param obj Description of Parameter
48: */
49: public void stopOne(Object obj) {
50: // Nothing here
51: }
52:
53: /**
54: * Description of the Method
55: *
56: *@param obj Description of Parameter
57: *@param d Description of Parameter
58: */
59: public void stopTwo(Double obj, Object d) {
60: // Nothing here
61: }
62:
63: /**
64: * Description of the Method
65: */
66: protected abstract void init();
67:
68: /**
69: * Description of the Method
70: */
71: private void reset() {
72: total = 0;
73: }
74: }
|