Download Kepler User Manual

Transcript
Appendix A
Figure A.3: The constructor of the Constant actor.
The section of code displayed in Figure A.3 begins with the class name (Const) as
well as documentation for the class. The Const class extends the
LimitedFiringSource class. In other words, the Constant actor will inherit the
functionality of the pre-existing class.
The class documentation for the Constant actor is:
Produce a constant output. The value of the output is
that of the token contained by the <i>value</i>
parameter, which by default is an IntToken with value
1. The type of the output is that of <i>value</i>
parameter.
Documentation is specified as Javadocs. Javadoc is a program distributed with Java
that generates HTML documentation files from Java source code files. Javadoc
320