package fauxExchange; abstract class State { // Applies the rules and may return one or more Trades public abstract void applyRules(OrderBook ob, Order o) throws TradeClosedException; // May not need this one later... public abstract void bootstrapState(OrderBook ob) throws TradeClosedException; // Default Constructor State () {} } //end class