class UniBook extends ValueFreezer<V> {

	public final UniBookResult make(final MarketDoBookEntry entry) {

		make: if (isValidEntryEnums(entry)) {

			final UniBookResult result;

			switch (entry.act()) {
			case MODIFY:
				result = makeModify(entry);
				break;
			case REMOVE:
				result = makeRemove(entry);
				break;
			default:
				break make;
			}

			switch (result) {
			case TOP:
			case NORMAL:
				saveLastSide(entry.side());
				break;
			default:
				break;
			}

			return result;

		}

		return ERROR;

	}

	public  UniBook(final Instrument instrument, final Book.Type type, 
			final SizeValue size, final PriceValue step);

}