public final class ReusableBatchesCompleted extends java.lang.Object implements BatchesCompleted, java.util.Iterator<Batch>
VENUE_ID_NULL_VALUE| Constructor and Description |
|---|
ReusableBatchesCompleted() |
| Modifier and Type | Method and Description |
|---|---|
void |
forEachRemaining(java.util.function.Consumer<? super Batch> action) |
int |
getBatchCount()
Count of Batch objects
|
java.util.Iterator<Batch> |
getBatchIterator()
No object creation
|
java.util.stream.Stream<Batch> |
getBatchStream()
Creates a Stream object.
|
long |
getVenueID()
Id of the venue which completed the batch
|
boolean |
hasNext() |
Batch |
next() |
void |
remove() |
ReusableBatchesCompleted |
setDecoder(mfmarketdata.BatchesCompletedDecoder decoder) |
public ReusableBatchesCompleted setDecoder(mfmarketdata.BatchesCompletedDecoder decoder)
public long getVenueID()
BatchesCompletedgetVenueID in interface BatchesCompletedpublic java.util.stream.Stream<Batch> getBatchStream()
BatchesCompletedgetBatchStream in interface BatchesCompletedpublic int getBatchCount()
BatchesCompletedgetBatchCount in interface BatchesCompletedpublic java.util.Iterator<Batch> getBatchIterator()
BatchesCompletedgetBatchIterator in interface BatchesCompletedpublic boolean hasNext()
hasNext in interface java.util.Iterator<Batch>public void remove()
remove in interface java.util.Iterator<Batch>