Class ConstantAppendingLongIterator

    • Constructor Detail

      • ConstantAppendingLongIterator

        public ConstantAppendingLongIterator​(CloseableLongIterator theIterator,
                                             long theConstant)
    • Method Detail

      • computeNext

        protected long computeNext()
        Computes the next long to be returned by the iterator. The only method supposed to be implemented by subclasses.
        Specified by:
        computeNext in class AbstractLongIterator
      • close

        public void close()