|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--StockCertificate
| Constructor Summary | |
StockCertificate()
default constuctor |
|
StockCertificate(Stock astock,
int numShares)
construcutor method to allow input |
|
| Method Summary | |
double |
getBuyPrice()
method to get the purchase price of each stock |
int |
getShares()
method to get the number of shares of each stock |
Stock |
getStocks()
method to get the stocks in the array |
java.lang.String |
toString()
report for validation purposes |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public StockCertificate()
public StockCertificate(Stock astock,
int numShares)
| Method Detail |
public Stock getStocks()
public int getShares()
public double getBuyPrice()
public java.lang.String toString()
no - parameters
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||