iDevelopment.info

Class JavadocClassExample

java.lang.Object
  |
  +--JavadocClassExample

public class JavadocClassExample
extends java.lang.Object

Used to test the functionality of javadoc on a single class file. This class also implements many of the conventions used in the "Java Coding and Documenting Conventions" guide within the DBA Documentation Library.

For more information on the different features of Javadoc, visit Javadoc Tool Home Page

Since:
SDK1.4
Version:
2.0,   04-SEP-2002
Author:
Jeffrey Hunter
, jhunter@iDevelopment.info , www.iDevelopment.info

Field Summary
static int numberOfInstances
          Represents the number of instances of this class.
 
Constructor Summary
JavadocClassExample()
          Noarg constructor will simply pass a new Date object to the Date constructor.
JavadocClassExample(java.util.Date d)
          Constructor used to create this object.
 
Method Summary
 java.util.Date getDate()
          Returns the Date/Time this object was created.
static void main(java.lang.String[] args)
          Sole entry point to the class and application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numberOfInstances

public static int numberOfInstances
Represents the number of instances of this class. This integer gets incremented by one within the constructor.

Constructor Detail

JavadocClassExample

public JavadocClassExample(java.util.Date d)
Constructor used to create this object. Responsible for setting this object's creation date, as well as incrementing the number instances of this object.

Parameters:
d - A Date object that is used to set the Date/Time this object was created.
See Also:
numberOfInstances

JavadocClassExample

public JavadocClassExample()
Noarg constructor will simply pass a new Date object to the Date constructor.

See Also:
JavadocClassExample(Date)
Method Detail

getDate

public java.util.Date getDate()
Returns the Date/Time this object was created. The Date is set within the constructor.

Returns:
Date object that indicates when the instance was created.
See Also:
JavadocClassExample()

main

public static void main(java.lang.String[] args)
                 throws java.lang.InterruptedException
Sole entry point to the class and application.

Parameters:
args - Array of String arguments.
Throws:
java.lang.InterruptedException - Thrown from the Thread class.

iDevelopment.info

Developed by www.iDevelopment.info