public class IntDataArrayReader extends ReductionDataArrayReader<IntConsumer>
signal
applier, inputStream
Constructor and Description |
---|
IntDataArrayReader(DataInput inputStream,
IntConsumer 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 IntDataArrayReader(DataInput inputStream, IntConsumer applier, IntConsumer signal)
public void read(int size) throws IOException
ReductionDataArrayReader
read
in class ReductionDataArrayReader<IntConsumer>
size
- length of the array to readIOException
- if an exception occurs while reading from the input streamCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.