test_class.file: base/src/test/java/com/barchart/feed/base/provider/TestUniBook.java
test_class.identifier: TestUniBook
test_case.body: @Test()
  	public void testNullEntryAddDelete() {
  		final SizeValue size = newSize(10);
  		final PriceValue priceStep = newPrice(25, -2);
  		final UniBook book = new UniBook(Instrument.NULL, 
  				Book.Type.COMBINED, size, priceStep);
  		UniBookResult result;
  		result = book.make(null);
  		assertEquals(result, ERROR);
  		result = book.make(null);
  		assertEquals(result, ERROR);
  	}
test_case.class_method_signature: TestUniBook.testNullEntryAddDelete()
test_case.full_signature: @Test() public void testNullEntryAddDelete()
test_case.identifier: testNullEntryAddDelete
test_case.invocations: newSize newPrice make assertEquals make assertEquals
test_case.modifiers: @Test() public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testNullEntryAddDelete()
focal_class.declarator: log = LoggerFactory.getLogger(UniBook.class)
focal_class.modifier: @SuppressWarnings("unused")
  	private static
focal_class.original_string: @SuppressWarnings("unused")
  	private static Logger log = LoggerFactory.getLogger(UniBook.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: size
focal_class.modifier: protected final
focal_class.original_string: protected final byte size;
focal_class.type: byte
focal_class.var_name: size
focal_class.declarator: step
focal_class.modifier: protected final
focal_class.original_string: protected final PriceValue step;
focal_class.type: PriceValue
focal_class.var_name: step
focal_class.declarator: bids
focal_class.modifier: protected final
focal_class.original_string: protected final UniBookRing bids;
focal_class.type: UniBookRing
focal_class.var_name: bids
focal_class.declarator: asks
focal_class.modifier: protected final
focal_class.original_string: protected final UniBookRing asks;
focal_class.type: UniBookRing
focal_class.var_name: asks
focal_class.declarator: instrument
focal_class.modifier: protected final
focal_class.original_string: protected final Instrument instrument;
focal_class.type: Instrument
focal_class.var_name: instrument
focal_class.declarator: lastClue
focal_class.modifier: private
focal_class.original_string: private byte lastClue;
focal_class.type: byte
focal_class.var_name: lastClue
focal_class.declarator: lastSide = Book.Side.NULL.ord
focal_class.modifier: private
focal_class.original_string: private byte lastSide = Book.Side.NULL.ord;
focal_class.type: byte
focal_class.var_name: lastSide
focal_class.file: base/src/main/java/com/barchart/feed/base/provider/UniBook.java
focal_class.identifier: UniBook
focal_class.class_method_signature: UniBook.UniBook(final Instrument instrument, final Book.Type type, 
  			final SizeValue size, final PriceValue step)
focal_class.full_signature: public  UniBook(final Instrument instrument, final Book.Type type, 
  			final SizeValue size, final PriceValue step)
focal_class.identifier: UniBook
focal_class.modifiers: public
focal_class.parameters: (final Instrument instrument, final Book.Type type, 
  			final SizeValue size, final PriceValue step)
focal_class.signature:  UniBook(final Instrument instrument, final Book.Type type, 
  			final SizeValue size, final PriceValue step)
focal_class.class_method_signature: UniBook.clear()
focal_class.full_signature: public final void clear()
focal_class.identifier: clear
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_class.class_method_signature: UniBook.ringFor(final Book.Side side)
focal_class.full_signature: private final UniBookRing ringFor(final Book.Side side)
focal_class.identifier: ringFor
focal_class.modifiers: private final
focal_class.parameters: (final Book.Side side)
focal_class.return: UniBookRing
focal_class.signature: UniBookRing ringFor(final Book.Side side)
focal_class.class_method_signature: UniBook.isTopPlace(final MarketDoBookEntry entry)
focal_class.full_signature: private final boolean isTopPlace(final MarketDoBookEntry entry)
focal_class.identifier: isTopPlace
focal_class.modifiers: private final
focal_class.parameters: (final MarketDoBookEntry entry)
focal_class.return: boolean
focal_class.signature: boolean isTopPlace(final MarketDoBookEntry entry)
focal_class.class_method_signature: UniBook.isValidEntryEnums(final MarketDoBookEntry entry)
focal_class.full_signature: private final boolean isValidEntryEnums(final MarketDoBookEntry entry)
focal_class.identifier: isValidEntryEnums
focal_class.modifiers: private final
focal_class.parameters: (final MarketDoBookEntry entry)
focal_class.return: boolean
focal_class.signature: boolean isValidEntryEnums(final MarketDoBookEntry entry)
focal_class.class_method_signature: UniBook.isValidPlace(final MarketDoBookEntry entry)
focal_class.full_signature: private final boolean isValidPlace(final MarketDoBookEntry entry)
focal_class.identifier: isValidPlace
focal_class.modifiers: private final
focal_class.parameters: (final MarketDoBookEntry entry)
focal_class.return: boolean
focal_class.signature: boolean isValidPlace(final MarketDoBookEntry entry)
focal_class.class_method_signature: UniBook.isValidPrice(final MarketDoBookEntry entry)
focal_class.full_signature: private final boolean isValidPrice(final MarketDoBookEntry entry)
focal_class.identifier: isValidPrice
focal_class.modifiers: private final
focal_class.parameters: (final MarketDoBookEntry entry)
focal_class.return: boolean
focal_class.signature: boolean isValidPrice(final MarketDoBookEntry entry)
focal_class.class_method_signature: UniBook.isValidSize(final MarketDoBookEntry entry)
focal_class.full_signature: private final boolean isValidSize(final MarketDoBookEntry entry)
focal_class.identifier: isValidSize
focal_class.modifiers: private final
focal_class.parameters: (final MarketDoBookEntry entry)
focal_class.return: boolean
focal_class.signature: boolean isValidSize(final MarketDoBookEntry entry)
focal_class.class_method_signature: UniBook.saveLastClue(final int clue)
focal_class.full_signature: private final void saveLastClue(final int clue)
focal_class.identifier: saveLastClue
focal_class.modifiers: private final
focal_class.parameters: (final int clue)
focal_class.return: void
focal_class.signature: void saveLastClue(final int clue)
focal_class.class_method_signature: UniBook.saveLastSide(final Book.Side side)
focal_class.full_signature: private void saveLastSide(final Book.Side side)
focal_class.identifier: saveLastSide
focal_class.modifiers: private
focal_class.parameters: (final Book.Side side)
focal_class.return: void
focal_class.signature: void saveLastSide(final Book.Side side)
focal_class.class_method_signature: UniBook.lastEntry()
focal_class.full_signature: protected final DefBookEntry lastEntry()
focal_class.identifier: lastEntry
focal_class.modifiers: protected final
focal_class.parameters: ()
focal_class.return: DefBookEntry
focal_class.signature: DefBookEntry lastEntry()
focal_class.class_method_signature: UniBook.make(final MarketDoBookEntry entry)
focal_class.full_signature: public final UniBookResult make(final MarketDoBookEntry entry)
focal_class.identifier: make
focal_class.modifiers: public final
focal_class.parameters: (final MarketDoBookEntry entry)
focal_class.return: UniBookResult
focal_class.signature: UniBookResult make(final MarketDoBookEntry entry)
focal_class.class_method_signature: UniBook.makeModify(final MarketDoBookEntry entry)
focal_class.full_signature: private final UniBookResult makeModify(final MarketDoBookEntry entry)
focal_class.identifier: makeModify
focal_class.modifiers: private final
focal_class.parameters: (final MarketDoBookEntry entry)
focal_class.return: UniBookResult
focal_class.signature: UniBookResult makeModify(final MarketDoBookEntry entry)
focal_class.class_method_signature: UniBook.makeRemove(final MarketDoBookEntry entry)
focal_class.full_signature: private final UniBookResult makeRemove(final MarketDoBookEntry entry)
focal_class.identifier: makeRemove
focal_class.modifiers: private final
focal_class.parameters: (final MarketDoBookEntry entry)
focal_class.return: UniBookResult
focal_class.signature: UniBookResult makeRemove(final MarketDoBookEntry entry)
focal_class.class_method_signature: UniBook.topFor(final Book.Side side)
focal_class.full_signature: protected final MarketDoBookEntry topFor(final Book.Side side)
focal_class.identifier: topFor
focal_class.modifiers: protected final
focal_class.parameters: (final Book.Side side)
focal_class.return: MarketDoBookEntry
focal_class.signature: MarketDoBookEntry topFor(final Book.Side side)
focal_class.class_method_signature: UniBook.nullEntry(final int index)
focal_class.full_signature: private final DefBookEntry nullEntry(final int index)
focal_class.identifier: nullEntry
focal_class.modifiers: private final
focal_class.parameters: (final int index)
focal_class.return: DefBookEntry
focal_class.signature: DefBookEntry nullEntry(final int index)
focal_class.class_method_signature: UniBook.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: UniBook.freeze()
focal_class.full_signature: @Override public V freeze()
focal_class.identifier: freeze
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: V
focal_class.signature: V freeze()
focal_class.class_method_signature: UniBook.isFrozen()
focal_class.full_signature: @Override public boolean isFrozen()
focal_class.identifier: isFrozen
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isFrozen()
focal_class.class_method_signature: UniBook.isEmpty(final Book.Side side)
focal_class.full_signature: protected final boolean isEmpty(final Book.Side side)
focal_class.identifier: isEmpty
focal_class.modifiers: protected final
focal_class.parameters: (final Book.Side side)
focal_class.return: boolean
focal_class.signature: boolean isEmpty(final Book.Side side)
focal_class.class_method_signature: UniBook.ringGap()
focal_class.full_signature: @SuppressWarnings("unused") private final int ringGap()
focal_class.identifier: ringGap
focal_class.modifiers: @SuppressWarnings("unused") private final
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int ringGap()
focal_class.class_method_signature: UniBook.entriesFor(final Book.Side side)
focal_class.full_signature: protected final DefBookEntry[] entriesFor(final Book.Side side)
focal_class.identifier: entriesFor
focal_class.modifiers: protected final
focal_class.parameters: (final Book.Side side)
focal_class.return: DefBookEntry[]
focal_class.signature: DefBookEntry[] entriesFor(final Book.Side side)
focal_class.class_method_signature: UniBook.sizesFor(final Book.Side side)
focal_class.full_signature: protected final SizeValue[] sizesFor(final Book.Side side)
focal_class.identifier: sizesFor
focal_class.modifiers: protected final
focal_class.parameters: (final Book.Side side)
focal_class.return: SizeValue[]
focal_class.signature: SizeValue[] sizesFor(final Book.Side side)
focal_class.superclass: extends ValueFreezer<V>
focal_method.body: 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;
  
  	}
focal_method.class_method_signature: UniBook.make(final MarketDoBookEntry entry)
focal_method.full_signature: public final UniBookResult make(final MarketDoBookEntry entry)
focal_method.identifier: make
focal_method.invocations: isValidEntryEnums act makeModify makeRemove saveLastSide side
focal_method.modifiers: public final
focal_method.parameters: (final MarketDoBookEntry entry)
focal_method.return: UniBookResult
focal_method.signature: UniBookResult make(final MarketDoBookEntry entry)