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