About generics there is a link to a good tutorial about generics.
Javadoc For each lab, you can generate the corresponding class
documentation using javadoc. The comments of the file we
provide follow the javadoc syntax. For example, you can use the
following line to generate the documentation for a lab:
javadoc -private -d doc/ *.java
the command will
create the corresponding documentation in the directory doc. See the man pages for more details or this link