net.commerce.zocalo.market
Class Outcome
java.lang.Object
net.commerce.zocalo.market.Outcome
public abstract class Outcome
- extends java.lang.Object
Outcome for a market. When a market is closed, we persistently
record what the outcome was, and who was paid off in the settlement.
While the market is open, we represent that fact and the choice as to
whether there will eventually be a single outcome.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isContinuous
public abstract boolean isContinuous()
isOpen
public abstract boolean isOpen()
outcome
public abstract Probability outcome(Position pos)
newOpen
public static Outcome newOpen(java.lang.Boolean isContinuous)
description
public abstract java.lang.String description()