edu.cuny.cat.event
Class PrivateValueAssignedEvent
java.lang.Object
edu.cuny.cat.event.AuctionEvent
edu.cuny.cat.event.PrivateValueAssignedEvent
- All Implemented Interfaces:
- edu.cuny.event.Event<AuctionEventListener>, java.lang.Cloneable
public class PrivateValueAssignedEvent
- extends AuctionEvent
- implements java.lang.Cloneable
An event announcing the list of private values for the specified trader.
- Version:
- $Revision: 1.10 $
- Author:
- Kai Cai
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
traderId
protected java.lang.String traderId
privateValue
protected double privateValue
PrivateValueAssignedEvent
public PrivateValueAssignedEvent(java.lang.String traderId,
double privateValue)
getTraderId
public java.lang.String getTraderId()
getPrivateValue
public double getPrivateValue()
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
toString
public java.lang.String toString()
- Overrides:
toString
in class AuctionEvent