Class NormalClassTemplate

java.lang.Object
  extended by NormalClassTemplate

public class NormalClassTemplate
extends java.lang.Object

Lab (or Programming Project) X: Name of Lab or PP
One-sentence description of role or purpose of objects of this class goes here. A more detailed description goes here, if necessary.

Created:
[the date], [your name(s)]
With assistance from: [people who helped (including instructor/TAs)]
Modifications:
[the date], [your name(s)], [the reason]

Version:
[date]
Author:
[your name] [with assistance from... or working alongside ...], [your partner's name] [with assistance from or working alongside]

Constructor Summary
NormalClassTemplate(int initialValue)
          Constructs a new object of this class.
 
Method Summary
 int getAttribute()
          Gets the value of one of this object's attributes (replace this description with a one-sentence summary of your own).
 int invokeAMethod(int par)
          Returns the sum of instVar and par (replace this description with a one-sentence summary of your own).
 void modifyObject(int par)
          Increments the object's state by the amount passed in as a parameter (replace this description with a one-sentence summary of your own).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NormalClassTemplate

public NormalClassTemplate(int initialValue)
Constructs a new object of this class.

Parameters:
initialValue - initial value for the object's state
Method Detail

getAttribute

public int getAttribute()
Gets the value of one of this object's attributes (replace this description with a one-sentence summary of your own). You may provide more details in later sentences, but note that they will only appear in the Method Details section of the class documentation, not the Method Summary section.

Returns:
the attribute value

invokeAMethod

public int invokeAMethod(int par)
Returns the sum of instVar and par (replace this description with a one-sentence summary of your own). You may provide more details in later sentences, but note that they will only appear in the Method Details section of the class documentation, not the Method Summary section.

Parameters:
par - a sample parameter for a method
Returns:
the sum of instVar and par

modifyObject

public void modifyObject(int par)
Increments the object's state by the amount passed in as a parameter (replace this description with a one-sentence summary of your own). You may provide more details in later sentences, but note that they will only appear in the Method Details section of the class documentation, not the Method Summary section.

Parameters:
par - a sample parameter for a method