Class TwoDThings

java.lang.Object
  |
  +--TwoDThings
Direct Known Subclasses:
Circle, Square

public class TwoDThings
extends java.lang.Object

Generic two-d class.


Field Summary
 int nObjects
           
 
Constructor Summary
TwoDThings()
          Default Constructor.
TwoDThings(java.lang.String _type)
          Constructor.
 
Method Summary
 java.lang.String getType()
           
 TwoDThings setType(java.lang.String _type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nObjects

public int nObjects
Constructor Detail

TwoDThings

public TwoDThings()
Default Constructor.

TwoDThings

public TwoDThings(java.lang.String _type)
Constructor. initialize the type of the object
Parameters:
type - the type of the object
Method Detail

setType

public TwoDThings setType(java.lang.String _type)

getType

public java.lang.String getType()