public class PriceUpdate
extends java.lang.Object
PriceUpdate with a Bid, through its bidNumber. PriceUpdate are
send between Agents and make sure a Price stays linked with a Bid| Constructor and Description |
|---|
PriceUpdate(Price price,
int bidNumber)
A constructor used to create a new PriceUpdate instance.
|
public Price getPrice()
public int getBidNumber()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object