Class SimpleClass
java.lang.Object
extended by SimpleClass
public class SimpleClass
- extends java.lang.Object
This is a simple class that demonstrate the
use of source-highlight to produce javadoc
embeddable code:
/*
this is an example of code to be included
in the javadoc documentation of SimpleClass
*/
import simpleclass.*;
// code snippet
SimpleClass s = new SimpleClass(150);
if (s == null && true) {
throw new SimpleClassException("failed to create");
}
System.out.println("this is a simple class" + s);
The previous example code was formatted with Source-highlight
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleClass
public SimpleClass()