public void enter ( long orderId , Side side , long price , long size ) { if ( orders . containsKey ( orderId ) ) { return ; } if ( side == Side . BUY ) { buy ( orderId , price , size ) ; } else { sell ( orderId , price , size ) ; } }
Enter an order to this order book .