|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objecteos.market.Market
public abstract class Market
Parent class of all markets
Field Summary | |
---|---|
protected String |
good
name of the good to be traded in the market |
Constructor Summary | |
---|---|
Market(String good)
Create a new market trading good |
Method Summary | |
---|---|
abstract void |
clear()
Clear the market. |
String |
getGood()
Return name of the good traded in the market |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String good
Constructor Detail |
---|
public Market(String good)
good
- name of good to be traded in the marketMethod Detail |
---|
public String getGood()
public abstract void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |