Class LevelArrayWriter
java.lang.Object
express.mvp.myra.codec.examples.generated.orderbook.LevelArrayWriter
- All Implemented Interfaces:
LevelWriter
Auto-generated array-backed writer for Level.
Populate arrays and reuse this instance for repeated fields.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintboolean[]boolean[]int[]long[]int[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcount()voidwriteTo(LevelBuilder builder, int index) Writes the element at the given index into the provided builder.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface LevelWriter
writeTo
-
Field Details
-
count
public int count -
priceNanos
public long[] priceNanos -
size
public int[] size -
orderCount
public int[] orderCount -
hasMaker
public boolean[] hasMaker -
maker
public boolean[] maker
-
-
Constructor Details
-
LevelArrayWriter
public LevelArrayWriter()
-
-
Method Details
-
count
public int count() -
writeTo
Description copied from interface:LevelWriterWrites the element at the given index into the provided builder.- Specified by:
writeToin interfaceLevelWriter- Parameters:
builder- target builderindex- element index (0-based)
-