public class LongDataArrayReader extends ReductionDataArrayReader<LongConsumer>
signal
applier, inputStream
Constructor and Description |
---|
LongDataArrayReader(DataInput inputStream,
LongConsumer applier,
IntConsumer signal) |
Modifier and Type | Method and Description |
---|---|
void |
read(int size)
Read an array from the input stream, feeding each member to the applier.
|
read
public LongDataArrayReader(DataInput inputStream, LongConsumer applier, IntConsumer signal)
public void read(int size) throws IOException
ReductionDataArrayReader
read
in class ReductionDataArrayReader<LongConsumer>
size
- length of the array to readIOException
- if an exception occurs while reading from the input streamCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.