Class Test

java.lang.Object
  extended byTest

public class Test
extends java.lang.Object

The class Test illustrates some features of javadoc. Notice that javadoc assumes the class name and can figure out the parameters in a "see" tag.

Since:
1.0
Version:
37.41.3beta
Author:
Ryan Stansifer

Field Summary
(package private)  java.lang.String name
          A field or instance variable.
 
Constructor Summary
(package private) Test()
          Creates a new instance of the class.
 
Method Summary
(package private)  java.lang.Object fun(int x)
          A pointless function that always returns null.
(package private)  java.lang.String getName()
          A getter function for the field name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

java.lang.String name
A field or instance variable.

Constructor Detail

Test

Test()
Creates a new instance of the class. The field name is set to the string "unknown".

Method Detail

fun

java.lang.Object fun(int x)
A pointless function that always returns null.

Parameters:
x - the argument to this function
Returns:
the constant null is always returned
See Also:
Object, getName(), getName()

getName

java.lang.String getName()
A getter function for the field name.

Returns:
the value of the field name.
See Also:
fun(int)