Class ReductionDataArrayReader<A>

    • Constructor Detail

      • ReductionDataArrayReader

        public ReductionDataArrayReader​(DataInput inputStream,
                                        A applier,
                                        IntConsumer signal)
    • Method Detail

      • read

        protected abstract void read​(int size)
                              throws IOException
        Read an array from the input stream, feeding each member to the applier.
        Parameters:
        size - length of the array to read
        Throws:
        IOException - if an exception occurs while reading from the input stream