t3.portfolios
Class PointInputDevice

java.lang.Object
  extended by t3.portfolios.PointInputDevice

public final class PointInputDevice
extends java.lang.Object

A data structure class representing a single point input device. Two instances with identical field data will return true when compared using the .equals() method.

Author:
pjt40

Field Summary
 Person person
           
 int pointInputDeviceType
           
 
Constructor Summary
PointInputDevice(Person person, int pointInputDeviceType)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

person

public final Person person

pointInputDeviceType

public final int pointInputDeviceType
Constructor Detail

PointInputDevice

public PointInputDevice(Person person,
                        int pointInputDeviceType)
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object