Javadocs
From charlesreid1
Basics of Javadocs
Javadocs is essentially a built-in Doxygen-like feature wherein documentation can be automatically generated for a Java code base. The documentation is generated in the same style and format as the Java API documentation.
Javadoc comments look much like Doxygen comments: they are denoted with /** Special Comment Blocks */ and use various tags to specify useful information.
Here is an example:
/** Hello World Class.
* This class says hello to the world.
*/
public class HelloWorld {
public static void main(String[] args) {
sayHello();
}
/** Subroutine to print hello world to the screen */
public static void sayHello() {
System.out.println("Hello world!");
}
}
Flags
| Computer Science notes on computer science topics on the wiki, for educational and learning purposes
Part of the 2017 CS Study Plan.
Python/Exceptions · Python/Assertions · Python/Decorators Python/Os (os module) · Python/Strings Python/Splat · Python/Iterators · Python/Generators Python/Comparators · Python/Lambdas
Builtin features of Java: Java/Exceptions · Java/Assertions · Java/Memory · Java/Interfaces Java/Generics · Java/Decorators · Java/Diamond Notation Java/Iterators · Java/Iterable · Iterators vs Iterable Java/Comparators · Java/Comparable · Comparators vs Comparable Java/Numeric · Java/TypeChecking · Java/Testing · Java/Timing · Java/Profiling Documentation: Javadocs · Java/Documentation Tools and functionality: Java/URLs · Java/CSV External libraries: Guava · Fastutil · Eclipse Collections OOP: OOP Checklist · Java/Abstract Class · Java/Encapsulation · Java/Generics
|
See also: