|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cuny.cat.market.AuctioneerPolicy
edu.cuny.cat.market.quoting.QuotingPolicy
public abstract class QuotingPolicy
The interface defined for the method of quote generation.
| Field Summary |
|---|
| Fields inherited from class edu.cuny.cat.market.AuctioneerPolicy |
|---|
auctioneer |
| Constructor Summary | |
|---|---|
QuotingPolicy()
|
|
| Method Summary | |
|---|---|
abstract double |
askQuote(ShoutEngine shoutEngine)
gets the ask quote |
abstract double |
bidQuote(ShoutEngine shoutEngine)
gets the bid quote |
double |
midQuote(ShoutEngine shoutEngine)
|
| Methods inherited from class edu.cuny.cat.market.AuctioneerPolicy |
|---|
eventOccurred, getAuctioneer, initialize, reset, setAuctioneer, setup, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QuotingPolicy()
| Method Detail |
|---|
public abstract double askQuote(ShoutEngine shoutEngine)
shoutEngine - the shout engine processing shouts
public abstract double bidQuote(ShoutEngine shoutEngine)
shoutEngine - the shout engine processing shouts
public double midQuote(ShoutEngine shoutEngine)
shoutEngine - the shout engine processing shouts
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||