Modifier and Type | Method and Description |
---|---|
Stock |
Stock.cloneMe()
Copy the state of
this object. |
Stock |
Investment.getStock()
Determine the stock held in
this investment. |
Constructor and Description |
---|
Investment(Stock stock,
int quantity,
double bookValue)
Construct an investment having the passed fields.
|
Stock(Stock stock)
Construct a copy of the passed Stock.
|