public final class ReusableMarketDefinition extends java.lang.Object implements MarketDefinition, java.util.Iterator<NoOrdTypeRules>
MARKET_ID_MAX_BYTE_COUNT, VENUE_ID_NULL_VALUE, VENUE_NAME_MAX_BYTE_COUNT| Constructor and Description |
|---|
ReusableMarketDefinition() |
| Modifier and Type | Method and Description |
|---|---|
void |
forEachRemaining(java.util.function.Consumer<? super NoOrdTypeRules> action) |
java.lang.String |
getMarketID()
The ID of the actual market.
|
void |
getMarketID(byte[] marketID)
The ID of the actual market.
|
int |
getNoOrdTypeRulesCount() |
java.util.Iterator<NoOrdTypeRules> |
getNoOrdTypeRulesIterator()
Iterator for the NoOrdTypeRules objects.
|
java.util.stream.Stream<NoOrdTypeRules> |
getNoOrdTypeRulesStream()
Stream for the NoOrdTypeRules objects.
|
long |
getVenueID()
The id of the specific market-instance.
|
java.lang.String |
getVenueName()
The name of the specific market-instance.
|
void |
getVenueName(byte[] venueName)
The name of the specific market-instance.
|
boolean |
hasNext() |
NoOrdTypeRules |
next() |
void |
remove() |
ReusableMarketDefinition |
setDecoder(mftrading.MarketDefinitionDecoder decoder) |
public ReusableMarketDefinition setDecoder(mftrading.MarketDefinitionDecoder decoder)
public long getVenueID()
MarketDefinitiongetVenueID in interface MarketDefinitionpublic java.lang.String getMarketID()
MarketDefinitiongetMarketID in interface MarketDefinitionpublic void getMarketID(byte[] marketID)
MarketDefinitionMarketDefinition.MARKET_ID_MAX_BYTE_COUNT in length)
to hold the UTF-8 bytes of the value.
No Objects are created.getMarketID in interface MarketDefinitionpublic java.lang.String getVenueName()
MarketDefinitiongetVenueName in interface MarketDefinitionpublic void getVenueName(byte[] venueName)
MarketDefinitionMarketDefinition.VENUE_NAME_MAX_BYTE_COUNT in length)
to hold the UTF-8 bytes of the value.
No Objects are created.getVenueName in interface MarketDefinitionpublic java.util.stream.Stream<NoOrdTypeRules> getNoOrdTypeRulesStream()
MarketDefinitiongetNoOrdTypeRulesStream in interface MarketDefinitionpublic int getNoOrdTypeRulesCount()
getNoOrdTypeRulesCount in interface MarketDefinitionpublic java.util.Iterator<NoOrdTypeRules> getNoOrdTypeRulesIterator()
MarketDefinitiongetNoOrdTypeRulesIterator in interface MarketDefinitionpublic void forEachRemaining(java.util.function.Consumer<? super NoOrdTypeRules> action)
forEachRemaining in interface java.util.Iterator<NoOrdTypeRules>public void remove()
remove in interface java.util.Iterator<NoOrdTypeRules>public NoOrdTypeRules next()
next in interface java.util.Iterator<NoOrdTypeRules>public boolean hasNext()
hasNext in interface java.util.Iterator<NoOrdTypeRules>