01: package csdl.foo;
02:
03: /**
04: * Abstract class included in stand-alone system example.
05: *
06: * @author Joy M. Agustin
07: * @version $Id: Foo.java,v 1.2 2003/01/25 01:48:58 jagustin Exp $
08: */
09: public abstract class Foo {
10:
11: /**
12: * Prints method name to screen then calls methodB(int a).
13: *
14: * @return an integer.
15: */
16: public abstract int methodA();
17:
18: /**
19: * Prints method name and parameter type to screen.
20: *
21: * @param a dummy parameter that doesn't do anything.
22: */
23: public void methodB(int a) {
24: System.out.println("Foo: methodB(int)");
25: }
26:
27: /**
28: * Prints method name and parameter types to screen.
29: *
30: * @param a Description of the Parameter
31: * @param b Description of the Parameter
32: */
33: public abstract void methodB(String a, Integer b);
34: }
|