net.commerce.zocalo.market
Class Outcome

java.lang.Object
  extended by 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.


Method Summary
abstract  java.lang.String description()
           
abstract  boolean isContinuous()
           
abstract  boolean isOpen()
           
static Outcome newOpen(java.lang.Boolean isContinuous)
           
abstract  Probability outcome(Position pos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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()